Mostrando entradas con la etiqueta Infopath. Mostrar todas las entradas
Mostrando entradas con la etiqueta Infopath. Mostrar todas las entradas

martes, 8 de octubre de 2013

Sharepoint 2010 + Infopath 2010: The operation could not be completed

 

En un formulario de Infopath, al crear una nueva conexión de extracción de datos, se presentó el siguiente mensaje de error:



En mi escenario, se creó un solo sitio de Project Web Application y un sitio secundario con una biblioteca de formularios. El mensaje de error se presenta cuando no se encuentra creada una colección de sitios en el sitio raiz de IIS.

Para solucionar el problema ejecutar el siguiente procesimiento:

- Utilizar la consola de Administración Central de Sharepoint para crear una colección de sitios en el sitio raiz de IIS (Sitio Web por Defecto).



- Crear nuevamente la conexión de recepción de información en el formulario de Infopath.



viernes, 4 de octubre de 2013

Creating UDC in InfoPath forms

During development there is common requirement is to create InfoPath forms, those can be deployed into multiple servers. Once you completed the development in local DEV, the forms need to deploy in Stage and Prod. Here an issue arises, the connection. Since the path of different servers are different one need to create 'Universal Data Connection' (UDC)


1) Create a connection for submit data, and follow the wizard

2) Create a Connection Library, then click on the 'Convert' button, this will generate one XML file. Specify a name of the connection with extension UDCX

3) After creating the UDCX file, on the InfoPath form, add a new connection and browse all the connections on the server.

4) Important, for each server, Staging, Prod etc you have to create data connection file with the same name. In this example submit.udcx. The forms will pick dynamically the connection based the respective servers.

How to increase file upload size in InfoPath

By default there is a limit in file upload size in a InfoPath forms. If you drag a file upload control on a InfoPath form and start using it, you will notice that there is a limit in file uploading size. Now, follow these steps to increase the limit.

1. Go to Central Administration site of SharePoint server and select “Manage Web Application” under “Application Management”. Select respective Web Application then open Web Application general settings :
2. Set Maximum Upload Size to 50MB
3. Go back to Central Admin and click on “General Application settings”.Open “Configure info-path forms services” under “Info-path form services “.
4. Set Form Session State --> Maximum size of form session state value to 10240 KB( the default is 4096KB).