Regform with Sharepoint Portal

K

Kim

Can the Regform utility be run with the forms saved on a form library on
Sharepoint Portal? If so, what's the trick?

Thanks!
 
B

Ben Walters

Kim
The RegForm utility is used to create an MSI package (or jscript) that
registers the form on a specific users machine. To to use the utility to
create a form that can then be deployed to a SharePoint library is not
possible.
If you want to take a form template from a form library and then package it
up you will need to save the actual template locally then use the RegForm
utility to package it up.

You should note however when the form is packaged this will change where
InfoPath references the template from

e.g. if you have a form template in a form library
http://mySite/FormLibrary/Template.xsn
then package it up in an MSI and install it on the users machine at
c:\myTemplates\Template.xsn
any forms filled out using the locally deployed version of the form will
look for the template at c:\myTemplates\Template.xsn

Hope this helps
Cheers
Ben
 
S

smiling1

I
Ben said:
Kim
The RegForm utility is used to create an MSI package (or jscript) that
registers the form on a specific users machine. To to use the utility to
create a form that can then be deployed to a SharePoint library is not
possible.
If you want to take a form template from a form library and then package it
up you will need to save the actual template locally then use the RegForm
utility to package it up.

I may need to do this and i'm pretty vague on the whole trusted form
concept....

Are you saying that you cannot use RegForm if your form will be stored
in a SharePoint library? If so, then how do you create a trusted from
if it will be stored in SharePoint? Must you use a certificate?

thanks!
 
B

Ben Walters

Hey Smiling,
A form will require a higher level of trust when it needs to access
resources on the users machine e.g. opening files on the local users drive.
As the code that writes these files could be malicious the user needs to be
able to verify where the code came from.

If you are deploying your form via a Form Library in sharepoint and that
form is accessing local resources on the users machine then you will need to
sign it with a certificate. Now this certificate could be issued from a
third party source like VeriSign or you may have a certificate server on
your network somewhere (best check with your infrastructure guys on this).

If you are planning to deploy the form to each users machine however, you
can package the form into a .msi file using the regform utility included in
the SDK this utility can then set the form to full trust and package it up
for deployment.


Hope this helps

Cheers
Ben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top