You are viewing limited content. For full access, please sign in.

Question

Question

LF Viewer Control

SDK
asked on December 4, 2014

Hi,

I am developing a Web Application and I would like to open the LaserFiche client when the user selects a Document from the browser. Everything works perfect, but the LF client is opening in the Server. I want the client to be opened in the client where the user selects the Document in the browser. I have LF client installed in the client computer also. I am not sure how to achieve this. See the code I used below.

 

        /// <summary>
        /// View Laser Fiche Image
        /// </summary>
        /// <param name="ImageId">Laser Fiche Image Id</param>
        public void ViewImage(int ImageId)
        {
            ImageEnable ImageClass = new ImageEnable();
 
            if (!ImageClass.IsLaserFicheOpen())
            {
                ImageClass.LoadLaserFiche(false);
                ImageClass.Login(istrRepositoryName, istrServerName, istrUserName, istrPassword);
            }
            ImageClass.ViewPage(ImageId, 1);
 
            return;
        }

 

Please help me. 

 

Raja

0 0

Replies

replied on December 4, 2014

You can't use the SDK for this.  Any code that executes in your web project is going to run on the web server, and there's no way to start a process on the client machine.  You'll need to take another approach, like integrating with Web Access or sending the user an lfe shortcut that the client can open (and which can direct it to go to a folder).

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.