Geeks With Blogs
Josh Meyer fun with .Net

 

Citrix is an extremely powerful tool for allowing remote users to connect and participate in a corporate domain environment.  For a company like our current client, who has locations all over the world that must be connected, it's a great way to maximize available bandwidth.

 

One of the current projects we're doing involves an InfoPath form installed in a WSS form library.  The form executes managed code that requires it to be fully trusted, and it must be available to various locations in the U.S. and Europe. 

 

Side Note:  One complication I forgot to mention, since our client is a government contractor, many of the users of this application are government employees who do not have Office 2003 installed on their computers.  InfoPath forms require the InfoPath application to run, so our only real option was to deploy the forms on a citrix server and route all users to a citrix desktop, where WE control the software configuration. 

 

So, in order to be fully trusted, a form must either be installed or be signed with a digital certificate.  Since the form will essentially be used on 1 machine (the citrix server) we opted for the install option.  Here's the steps we follow to use a local install with a WSS form library deployment:

 

  • Create an MSI install file using visual studio and regform.exe
  • Install the form on the developer machine
  • Go to where the form is installed (C:\Program Files\InfoPath Form Templates by default) and open the XSN file
  • Choose Save As, and save the file as template.xml
  • Close InfoPath
  • Copy MSI file to Citrix server and install there
    • Use default install path
    • Choose Install for Everyone
  • Publish the form to WSS form library
  • Browse to form library and switch to Explorer View
  • Copy template.xml created above into Forms folder
  • Go to form library settings page (Modify Settings and Columns->General Settings), and change the Form Template file extension to .xml
  • The Form Template setting should now be:
    • FormLibraryNameHere/Forms/Template.xml
  • Save settings.

 

That's it, you should be able to log on to Citrix, browse to the form library, and fill out a form.

Posted on Wednesday, September 28, 2005 7:40 AM WSS/MOSS , InfoPath | Back to top


Comments on this post: Deploying Fully Trusted InfoPath form to SharePoint Form Library - Eliminating headaches with Citrix

# re: Deploying Fully Trusted InfoPath form to SharePoint Form Library - Eliminating headaches with Citrix
Requesting Gravatar...
I am trying to create a Form Template(template.xml file) from a .XSN file created in InfoPath on my local machine and I want to save this form template on the sharepoint web servers in the SPSPERS\DOCTEMP\XMLFORMS\DEPTINVOICE folder.
Please tell me how to do this.
Thanks,
Raghu Comal,
6th of October, 2005.
Left by Raghu Comal on Oct 06, 2005 10:26 AM

# re: Deploying Fully Trusted InfoPath form to SharePoint Form Library - Eliminating headaches with Citrix
Requesting Gravatar...
Please clarify. Is this a form library you're trying to save to? Does the form require full trust?
Left by Josh Meyer on Oct 11, 2005 5:26 AM

# re: Deploying Fully Trusted InfoPath form to SharePoint Form Library - Eliminating headaches with Citrix
Requesting Gravatar...
nice article

www.codepal.co.in
Left by Bino on Dec 03, 2007 10:54 PM

Your comment:
 (will show your gravatar)


Copyright © Josh Meyer | Powered by: GeeksWithBlogs.net