M
Marshall Harrison [OCS MVP]
We have a form that a contractor developed for us but some of the form
variables are hard coded. For example the SharePoint URL is hard coded as
are the email address list. I've inherited all InfoPAth development and all
the hard coded stuff makes it difficult when moving form changes from DEV
to QA to Production.
Is there a way to have the form read an include or web.config file on form
load so that these variables are set properly. What I envision is a separate
config file for each of DEV, QA and PROD each with the appropriate values
for the environment. That way the form could be moved through the cycle
without have to make changes - simply keep separate configs.
Any suggestion will be appreciated.
--
Marshall Harrison
Microsoft MVP - Office Communications Server
Email: (e-mail address removed)
Web: www.GotSpeech.Net
Blog: http://gotspeech.net/blogs/marshallharrison/default.aspx
variables are hard coded. For example the SharePoint URL is hard coded as
are the email address list. I've inherited all InfoPAth development and all
the hard coded stuff makes it difficult when moving form changes from DEV
to QA to Production.
Is there a way to have the form read an include or web.config file on form
load so that these variables are set properly. What I envision is a separate
config file for each of DEV, QA and PROD each with the appropriate values
for the environment. That way the form could be moved through the cycle
without have to make changes - simply keep separate configs.
Any suggestion will be appreciated.
--
Marshall Harrison
Microsoft MVP - Office Communications Server
Email: (e-mail address removed)
Web: www.GotSpeech.Net
Blog: http://gotspeech.net/blogs/marshallharrison/default.aspx