Sharepoint Forms Maintenance Utility

A simple utility meant to be run nightly on a Sharepoint server with Infopath Forms Services installed
Download

Sharepoint Forms Maintenance Utility Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Publisher Name:
  • Andrew Kennel
  • Operating Systems:
  • Windows XP / 2003 / Vista / 2008
  • File Size:
  • 13 KB

Sharepoint Forms Maintenance Utility Tags


Sharepoint Forms Maintenance Utility Description

The Sharepoint Forms Maintenance application was designed to ba a simple utility meant to be run nightly on a Sharepoint server with Infopath Forms Services installed. The utility will discover new Infopath files in a specified directory, and attempt to activate them on your server. I built this utility to allow my developers to post their own template changes to our production server. While this can be done via Sharepoint's Application Management page, there are some drawbacks to using the web site: You have to give you developers access to the admin site, and train them on using the upload and verify options. If a form already exists and is being upgraded, IIS is recycled as part of the upgrade process. Obviously this is a problem for a production system. Using this utility, you can schedule an off-hours upgrade time when it will be safe to recycle IIS. You can make a shared folder on your server for your developers to drop their finished templates into. The next morning, their templates will be ready for action. This utility must be run on a Sharepoint server. If you are running a multi-server farm, run it on your Central Admin server. The utility recognizes 5 command line options: -log Tells the utility to log all activities when a form is found. This log file will only be saved if files are found. -email Tells the utility to email the results to the specified email address. The same address will be used for the From field. -mailserver Tells the utility your mail server's address -folder Tells the utility which folder to look in for template files. By default, it looks in c:installfilesforms -site Tells the utility which site to activate the form to. If no site is specified, the utility will attempt to lookup the server by using http://localhost. The localhost option may not work on servers using SSL or multi-server farms. When run, the utility looks in the specified folder for .xsn files. The files are then verified, and if they contain 0 errors, they are sent to the server as an upgrade or, if it is a new file, as an upload. Lastly, the form is activated on the server. Once all the files have been processed, they are moved to a new archive subdirectory named with the current date. If desired, a log file will be written to the same location. Finally, a copy of the log will be emailed to you.


Sharepoint Forms Maintenance Utility Related Software