The application that I am working on requires to insert data that is in a in a Nintex form (of one SharePoint list) to a different list (in the same site) when the user clicks on a button that is in the form
To clarify, assume the user is editing one of the list items in the list (for which the Nintex form has been built). Now he may change the form data and click the button. Then the form data should get saved to a completely different list on the same SharePoint site (which is similar in structure to the list whose edit form the user is on).
to meet this requirement - I used custom JavaScript code to pull data from the Nintex form and insert it into the other SharePoint list. This approach is working great for all the fields in the form but I am having trouble with the repeater controls that are in the form. As you may be aware Nintex stores the data within a repeater as XML when the OOTB Save is invoked. We would like the same thing to happen when the data is inserted into the other SharePoint list using custom JavaScript code
unfortunately, it seems like we cannot store the repeater in a client JavaScript variable (unlike other simple controls)
the goal is to somehow get the XML that gets generated for a repeater control data NOT using OOTB Save but using custom JavaScript
any help on this will be much appreciated
Also note that we have repeater controls in the form that are 3 levels deep (repeater within repeater within repeater)
Best answer by MegaJerk
View original