I have a collection named PRODUCT
I am looping into my collection

In the collection, I have many fields, but there is one Text field that is empty: Components Text.

How can I update this field to put a value in it?
I have a collection named PRODUCT
I am looping into my collection
In the collection, I have many fields, but there is one Text field that is empty: Components Text.
How can I update this field to put a value in it?
Hi
From the looks of it you’re generating the collection that you’re looping thru using a Query a List action. If that’s the case the Components Text field in the for each loop is what is present in SharePoint Online for the item.
If you’re trying to update the SharePoint list to put a value in the Components Text field then you’d use an Update Items action inside the foreach loop and specify the condition as When ID equals Current Item>ID
Then you can set the field value to what you would want for the item.
If you’re trying to set the value inside the collection itself in Nintex Workflow that’s not quite how the action works. I don’t believe it’s possible to update an individual property of an object in NAC currently.
Hi
My collection comes from a repeating section of my form.
I would like to update the field (which is blank) of this collection to display it in the next form of a task.
Hi
In that case you couldn’t directly update the collection like you’re looking at but there are a few options for how to get the functionality.
You could build a new collection with the value you’d like to display in the form and then display the values for that field from the new collection but what may be easier is to leverage the ability to pass XML to a repeating section. the general method for either of these options would be similar to the “Adding an Editable Repeating Section to a task form” or the “Adding an editable Repeating section to a task form using XML input” section of https://help.nintex.com/en-US/nwc/Content/Designer/FormControls/Repeatingsection.htm
You’d either need to build a collection or XML for these options but either method should work.
Hi
Nope! I don’t know how to create a new collection. I’ve read the help topics about collection actions, and I didn’t find how to do that. I also read the help topic about the repetitive section, as well as the video, but it doesn’t show any example of XML at all. I don’t understand how I could update a field in my repetitive section using XML code and how to generate this XML code. What I’d like to do: In my repetitive section that is in my starting form, I have an empty text field (it can be another type of field, like a label, if it is easire). I’d like to set a value in this field that comes from a workflow variable and display this value in the repetitive section of a task form. In my starting form, the field is not visible. In my task form, i want it visible with updated value/content in it.
In the help, it says that I can paste raw XML input directly. Can someone show me an example of a XML input? What it should look like?
Hi
I think the help files have jumped the gun slightly.
The ability to add XML to a repeating section's default value has not yet been released to the public.
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.