Jeremy Thake's Library tagged → View Popular, Search in Google
-
Usage scenarios
This option provides a great way of managing the data connections when Microsoft Office SharePoint Server is available.
-
Well, I have tried to collect and post some root causes of this error message and workarounds/resolutions but these are not the only ones:-
-
You can’t make a cross-domain connection from a domain security browser form unless your data connection uses a UDC file. Period.
-
You can also pre-deploy test and production versions of your data connection settings to your staging and production environments so that you don’t need to update the form template with new data connection settings when you go live.
- 2 more annotation(s)...
-
- Forms Services Configuration: http://server:12345/_admin/ipfsConfig.aspx
- Key settings for connections & authentication
- Manage Form Templates: http://server:12345/_admin/ManageFormTemplates.aspx
- Upload, and approve a browser enabled form.
- Activate to a site collection
- Manage Data Connections: http://server:12345/_admin/ManageDataConnectionFiles.aspx
- Upload and web enabled data connection files (.udcx)
- Save and upload udcx files from step 2 below
- Form Templates: http://server/FormServerTemplates
- This is auto populated from step 2 above
- Data Connection Library: http://server/Data%20Connections/
- Target location to publish converted web services data connections from InfoPath
- Default Approval required.
- Form Library: http://server/site/Library
- Set library advanced settings - enable management of content types
- Specify the published & deployed form template from the ‘select from existing site content types’
Central Administration > Applications:
-
-
Adding Authentication
InfoPath does not automatically configure server-only authentication options for you. However, when creating a UDC file, InfoPath automatically creates an authentication block within the UDC file that is preconfigured to use Office Single Sign-on. In order to use this authentication option, you'll need to uncomment the authentication block within the file and add both the SSO application ID and the CredentialType. Most of the time, you'll want to use the SSO credential to log onto Windows, for which you'll need to specify "NTLM" as the CredentialType. The full list of possible credential types is as follows:
Universal Data Connection v2.0 Reference and Schema
-
The answer is here:
Go to SharePoint Central administration --> Application Management --> Authentication Providers. Then select the default zone. Make sure the right Web Application is selected on the top of the page. Clear the checkbox for the anonymous access. And now you can run your form with the forms server happily ever after.Important point:
When you are using Forms Server with MOSS the site security is not applied to the underlying services. It means even if your MOSS website requires authentication, if Provider is anonymous enabled forms services uses anonymous login for the external access, because it looks at the provider, not the site that is hosting the form. It took me a long time to find it out because I had the impression that Forms Server impersonates the user login information and when I see the user ID on the top of my SharePoint page, this is not anonymous call. I was wrong.With special thanks to Infusion SharePoint Technical team that gave me wonderful guides to resolve this issue.
-
3. SharePoint list query
<udc:ConnectionInfo Purpose=”ReadOnly”>
<udc:SelectCommand>
<udc:ListId>{8fe80d4c-2203-4fa3-a411-f57f2e8be459}</udc:ListId>
<udc:WebUrl>http://someserver/sites/somesite</udc:WebUrl>
</udc:SelectCommand>
</udc:ConnectionInfo> -
The Authentication element must be the last child of ConnectionInfo
-
For example http://server/_vti_bin/userprofileservice.asmx but I didn’t have access to http://server
-
Once you’ve specified the UDC file to use, you may need to specify some properties for the connection that are not contained in the file (for example, for a SharePoint list connection, you’ll be asked to specify which columns to include in the data source), but otherwise, you’re done.
-
Some time ago, we blogged about the reasons why you'd use UDC files and the anatomy of UDC files. You may be wondering, however, if it's possible to author these files in InfoPath - after all, UDC files are just XML files.
-
There is no way to do this without writing code. The two methods of doing this with code are:
1. set up the connection as a Web service call to the lists web service on SharePoint. Use custom code in your form template to set the URL of the Web service at runtime based on the URL the form was opened from, and then execute the Web service connection.
2. When the form is hosted in the XmlFormView control, either in a client application or on MOSS, you can set up your data connections to specify that a portion of the serviceURL of the Web service can be dynamically replaced at runtime. This requires adding an element to the extensions section of manifest.xsf:
-
-
Use the authoring tool published by the InfoPath team to create a UDC file. After the file is created, upload it to a data connection library in your SharePoint site collection or to the Manage Data Connection Files page in Central Administration, whichever is applicable.
-
Add a data connection for the UDC file to your InfoPath form template. Use the Connection Options dialog box in the Data Connection Wizard to choose the way your form links to the UDC file.
-
Publish the form template to the SharePoint site collection. If the UDC file is in a centrally managed connection library, you need to have administrator rights to deploy your form template.
-
-
A Data Connection Library (DCL) in Microsoft Office SharePoint Server 2007 is a library that can contain two different types of data connections: an Office Data Connection (ODC) file or a Universal Data Connection (UDC) file. Microsoft Office InfoPath 2007 uses data connections that conform to the Universal Data Connection (UDC) file schema and typically have either a *.udcx or *.xml file extension. Data sources described by these data connections are stored on the server and can be used in standard form templates and browser-enabled form templates.
Selected Tags
Related Tags
Top Contributors
Groups interested in udc
-
diplomaThesis
resources for my almost fini...
Items: 11 | Visits: 40
Created by: Veronika Smith
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo
