Once you've uploaded and activated an InfoPath form which requires admin privileges [has code behind, etc], it gets tedious uploading new versions (slow) and iisreset-ing every time you have an update you want to test.
So here's a basic little script to upload the updated form.
Just copy and paste into notepad and save as a .cmd, and every time you publish a form just run this script.
stsadm.exe -o UpgradeFormTemplate -filename "C:\MyForm.xsn"
iisreset
Thursday, April 16, 2009
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment