K
Kiran K
Hi,
We have developed InfoPath 2007 forms (compatible with InfoPath Forms
Services) that use a Web Service to retrieve and submit data to a SQL Server
2005 database. We also have a SharePoint Server 2007 site. The InfoPath forms
are published to the SharePoint site. This enables our users to fill out the
forms in a browser. We are using Data Connections in the InfoPath forms which
were "Convert"ed to Data Connection Library files (*.UDCX), and these .UDCX
files are stored in SharePoint Central Admin "store" (under Application
Management >> InfoPath Forms Services >> Manage Data Connection Files). All
of this is working in our DEVELOPMENT environment. Now we want to move this
to our STAGING environment. So I created new Data Connections (and UDCX
files) that point to the STAGING environment. But when I attempt to publish
the InfoPath form now to the STAGING environment, I get the following error
message:
The form template cannot use data connection settings from more than one
site collection. Remove data connections that reference Data Connection
Libraries on site collections other than the one you intend to publish to.
I understand why I am getting the above error. It is because I have Data
Connection Libraries for BOTH my DEVELOPMENT and STAGING environments in the
SAME InfoPath form. And based on the above error message, this is not
supported. So how do I publish my InfoPath forms to DIFFERENT environments
(i.e. STAGING, PRODUCTION)? It appears to me that I have to have 3 separate
FORMS - one for each environment that I want to deploy my forms to. And each
form will need to have its own set of Data Connection Libraries. But this
approach seems redundant and not to mention a maintenance nightmare.
Can someone please provide me guidance on how to easily deploy InfoPath
forms to different environments (STAGING, PRODUCTION) using Data Connection
Libraries (*.UDCX files)?
Your help is greatly appreciated.
Best regards,
Kiran
We have developed InfoPath 2007 forms (compatible with InfoPath Forms
Services) that use a Web Service to retrieve and submit data to a SQL Server
2005 database. We also have a SharePoint Server 2007 site. The InfoPath forms
are published to the SharePoint site. This enables our users to fill out the
forms in a browser. We are using Data Connections in the InfoPath forms which
were "Convert"ed to Data Connection Library files (*.UDCX), and these .UDCX
files are stored in SharePoint Central Admin "store" (under Application
Management >> InfoPath Forms Services >> Manage Data Connection Files). All
of this is working in our DEVELOPMENT environment. Now we want to move this
to our STAGING environment. So I created new Data Connections (and UDCX
files) that point to the STAGING environment. But when I attempt to publish
the InfoPath form now to the STAGING environment, I get the following error
message:
The form template cannot use data connection settings from more than one
site collection. Remove data connections that reference Data Connection
Libraries on site collections other than the one you intend to publish to.
I understand why I am getting the above error. It is because I have Data
Connection Libraries for BOTH my DEVELOPMENT and STAGING environments in the
SAME InfoPath form. And based on the above error message, this is not
supported. So how do I publish my InfoPath forms to DIFFERENT environments
(i.e. STAGING, PRODUCTION)? It appears to me that I have to have 3 separate
FORMS - one for each environment that I want to deploy my forms to. And each
form will need to have its own set of Data Connection Libraries. But this
approach seems redundant and not to mention a maintenance nightmare.
Can someone please provide me guidance on how to easily deploy InfoPath
forms to different environments (STAGING, PRODUCTION) using Data Connection
Libraries (*.UDCX files)?
Your help is greatly appreciated.
Best regards,
Kiran