Pregunta

Tengo un problema con la tabla de repetición y mostrar datos usando esta tabla.

Intento mostrar un elemento de la lista "wydarzenia" (eventos) en mi diseño de formulario en InfoPath.Agrego cliente usando la forma de InfoPath.Después de eso creo wydarzenie y elija cliente de la lista de Dropbox.Esta lista de caídas es el tipo de referencia.

wydarzenia (lista de eventos)

Esta lista muestra todos los eventos.Intento mostrar a los que tienen ID igual al cliente. La última columna es ID (valor de la biblioteca cuando creo un nuevo cliente).
Abajo en la imagen Puede ver "IdentyFikator Klienta" (ID de cliente).¿Cómo puedo ponerlo en este valor de campo de ID del cliente de la biblioteca?

Si algo no está claramente, solo escribiré, intentaré explicar más.

¡Saludos!

¿Fue útil?

Solución

As I understood, you have a receive/secondary data connection/source to a sharepoint list rendered as repeating table which you want to filter in an Infopath form template by some value.

So, having created and filled a list.

enter image description here

In IP form template I've created a drop-down list to choose titles by which to filter a repeating table

enter image description here

enter image description here

enter image description here

While the repeating table without filtering show all list items

enter image description here

For this I created a drop-down list box TitlesToChooseFrom getting choices the same secondary data connection to a list

enter image description here

For filtering in Fields pain I choose data source of repeating table (SharepointListItem_RW group) > Manage Rules on ribbon > New > Formatting > Hide this control for value(s) of Title in repeating table (bound to a secondary data source ClientList, in my case) which "is not not equal" to a chosen one in drop-down list (Main data source)

enter image description here

Otros consejos

You could also add another Data Connection (exactly the same) and filter it.

To do this you need to add a rule for drop down control when the value of this control changes.

Then you need choose action to set fields value and set a query data of this new Data Connection.

After that add another action in the same rule - query data and select this new DataConnection. Attach new data connection to the repeating table and that's all.

Nice description about this is here: https://wmostafaw.wordpress.com/2012/08/07/calling-web-service-from-infopath-2010-with-parameters/

Licenciado bajo: CC-BY-SA con atribución
scroll top