Thanks for that, will try it out
-----Original Message-----
Two options:
1.. Create an MSI for offline user and add code to run SharePoint solution
This works but it requires opening the SharePoint
solution from the offline solution using NewFromSolution.
Also, it requires installing 2 solutions for online users.
2.. Create an MSI for all users and code the SharePoint submit
This works too but you lose automatic updates for
online users and can't dynamically detect the SharePoint
form lib
I've done #1 before. It's pretty straightforward, but you
have to add some code to detect whether the form is on
SharePoint or opened locally from e-mail cache and you
have to link two solutions together using NewFromSolution
or whatever. After you have added the code to call
NewFromSolution, etc. here's what you have to do:
Admin:
1.. Go to SharePoint Form Library
2.. Click Modify Settings and Columns
3.. Click Edit Template
4.. Go to Tools-Form Options-Security and verify
that "Automatically Determine" is selected
5.. Click File | Save As and save locally to your desktop as "foo.xsn"
6.. Close InfoPath
7.. Download and unzip the regform.zip tool from Microsoft
8.. Open up a command shell (Start-Run cmd)
9.. Change directory (cd) to the location of your xsn and regform.exe file
10.. Run regform to create an msi: regform /MSI "foo.xsn"
11.. Send the msi to your offline users
Offline user:
1.. Receive e-mail
2.. Save attached form to desktop
3.. Double click on icon on desktop to install form
4.. After installation, click on Start and InfoPath
5.. Double click on the "Foo" form in the Fill Out a Form dialog
6.. Fill out form and submit in email
Online user:
1.. Open form.
2.. Click on button to transfer to SharePoint form
Important note:
- online users must have already cached
SharePoint form by clicking on Fill Out This Form and then
closing. Otherwise there's an issue
Good luck!
"Alex" <
[email protected]> wrote in
message news:
[email protected]...