Category Archives: Infopath

The amount of data that was returned by a data connection has exceeded the maximum limit that was configured by the server administrator. Form elements, such as drop-down lists, may be blank.

– Launch Central Administration

– Click on General Applications Settings

– Click on Configure InfoPath Forms Services under InfoPath Forms Services

– Change the Data Connection Response Size from 1500 to 5000 or 7000.

Advertisements

This SharePoint library or list data connection was created using an older format. Convert it to the Infopath 2010 or greater format before saving the form template

This usually happens after you migrate an InfoPath form to a grater version and you change the Compatibility Mode (File – Form Options – Compatibility – Form Type…)

Solution:

– Open the InfoPath form in design mode

– Click on Data – Data Connections

– Select a connection and click on Convert to Current Version if that option is visible

 

 

Inserting line breaks into text using Rules

Q: How do I insert line breaks into a multi-line text box using rules?

First off, let’s introduce the concept of a multi-line text box properly. This functionality was added in InfoPath 2003 SP1. To enable it, insert a Text Box control, then on the Display tab, check “Paragraph breaks”. I usually also set the scrolling property to “Show scrollbars when necessary” and turn on “wrap text” which maps to the usual behavior for a multi-line text box. I also usually make the control bigger..

Click here for more information

Person / Group Picker in InfoPath 2010

From the Controls Gallery on the Home tab or the Controls task pane, click the Person/Group Picker to insert it into the view.

The Person/Group Picker needs to connect to a SharePoint site to be able to function. Specify the SharePoint site as follows, unless you have already published the form to a SharePoint site, in which case that site will be used.

  1. Right-click the control in the view and select Person/Group Picker Properties from the context menu
  2. In the Person/Group Picker Properties dialog, select the SharePoint Server tab
  3. Type the URL of the SharePoint site you want to query
  4. Click OK to close the dialog

Specifying data validation (optional)

In InfoPath 2010 it is now possible to mark the field the people picker is bound to as Cannot be blank. This means that users will not be able to submit a form without having entered at least one valid person or group in the control. You can mark a field as required by doing the following:

  1. Select the control in the view
  2. In the Properties tab in the Modify chunk, click the Cannot be blank checkbox

 

Testing the control

Preview the form in InfoPath Designer or publish the form to a SharePoint site and view the form, enter a name or logon alias, click the “Check Names” button and resolve the name! Alternatively, you can click the “Address book” button to perform a search if you do not know the complete name of the user.

More Information here:

http://blogs.msdn.com/b/infopath/archive/2010/04/08/upgrading-infopath-2007-forms-with-person-group-pickers-to-infopath-2010.aspx

 

GetUserProfileByName and Infopah browser forms using claims based authentication

If you are having problems running an Infopath 2010 web form that uses GetUserProfileName and the web application uses claims based authentication with windows authentication (NTLM) and you check the log file and you see an error message like the one below.

The following query failed: GetUserProfileByName (User: 0#.w|domain\user, Form Name: Nameoftheform, IP: , Connection Target: , Request: http://site/_layouts/FormServer.aspx?…….. The remote server returned an error: (401) Unauthorized. The remote server returned an error: (401) Unauthorized.)

Solution:

Disable ASP.NET impersonation under “Authentication Providers” for the web application in IIS.

 

Web Services Access

Friendly Name Location Description
Alerts /_vti_bin/alerts.asmx Provides methods for working with alerts for list items in a SharePoint site.
Area Web service /_vti_bin/areaservice.asmx Deprecated Web service. Provides an area interface for remote clients.
AuthenticationWeb service /_vti_bin/Authentication.asmx Provides ability for Web services to operate in conjunction with forms authentication.
BDC Fields Resolver Web service /_vti_bin/bdcfieldsresolver.asmx BDC Fields Resolver Web service for client applications. Reserved for internal use only.
BDC Web service /_vti_bin/businessdatacatalog.asmx Business Data Catalog metadata Web service. Reserved for internal use only.
CMS Content Area Toolbox Info Web service /_vti_bin/contentAreaToolboxService.asmx Designed for use by the Microsoft Office SharePoint Designer client to use.
Copy Web service /_vti_bin/Copy.asmx Provides methods for copying items between locations in the SharePoint environment.
List Data RetrievalWeb service /_vti_bin/DspSts.asmx Provides a method for performing queries against lists in Windows SharePoint Services.
Document Workspace Web service /_vti_bin/DWS.asmx Provides methods for managing Document Workspace sites and the data they contain.
Excel ServicesWeb service /_vti_bin/ExcelService.asmx Provides methods to call Excel Services remotely or to work as a callback for Web Parts.
Forms Web service /_vti_bin/Forms.asmx Provides methods for returning forms used in the user interface when working with the contents of a list.
Forms Servicesproxy Web service /_vti_bin/FormsServiceProxy.asmx Provides methods for Forms Services to proxy requests to remote data sources from Web-based forms.
Forms ServicesWeb service /_vti_bin/FormsServices.asmx Provides methods to call Forms Services remotely or to work as a callback for Web-based forms.
Imaging Web service /_vti_bin/Imaging.asmx Provides methods that enable you to create and manage picture libraries.
Lists Web service /_vti_bin/Lists.asmx Provides methods for working with lists and list data.
Meetings Web service /_vti_bin/Meetings.asmx Provides methods that enable you to create and manage Meeting Workspace sites.
Official File Web service /_vti_bin/officialfile.asmx Provides methods for sending files to a records repository.
People Web service /_vti_bin/People.asmx Provides methods for working with security groups.
Permissions Web service /_vti_bin/Permissions.asmx Provides methods for working with the permissions for a site or list.
Published LinksWeb service /_vti_bin/publishedlinksservice.asmx Office system client applications and other applications can obtain the list of published links on the server that are targeted to the current user.
Publishing ServiceWeb service /_vti_bin/PublishingService.asmx Provides methods to remotely work with the publishing service.
Search Web service /_vti_bin/search.asmx Allows access to Enterprise Search results from client applications and Web applications outside of the context of a SharePoint site.
SharePoint Directory Management Web service /_vti_bin/sharepointemailws.asmx Provides methods for remotely managing distribution groups.
Sites Web service /_vti_bin/sites.asmx Provides methods for returning information about the site templates for a site collection.
Slide Library Web service /_vti_bin/SlideLibrary.asmx Provides methods for slide library callbacks or remote publishing of slides.
Search Crawl Web service /_vti_bin/spscrawl.asmx Provides methods for remote Office SharePoint Server 2007 server farms to crawl a local farm.
Search Web service /_vti_bin/spsearch.asmx Provides methods for remotely performing searches within a Windows SharePoint Services deployment.
Users and GroupsWeb service /_vti_bin/UserGroup.asmx Provides methods for working with users, site groups, and cross-site groups.
User Profile Change Web service /_vti_bin/userprofilechangeservice.asmx Provides methods to query the user profiles change log remotely.
User Profile Web service /_vti_bin/userprofileservice.asmx Provides a user profile interface for remote clients.
Versions Web service /_vti_bin/versions.asmx Provides methods for working with file versions.
Views Web service /_vti_bin/Views.asmx Provides methods for working with views of lists.
Web Part PagesWeb service /_vti_bin/webpartpages.asmx Provides the methods to send information to and retrieve information from Web services.
Webs Web service /_vti_bin/Webs.asmx Provides methods for working with sites and subsites.
Workflow Web service /_vti_bin/workflow.asmx Provides methods to work with workflows.