Capz
Apprentice

Transfer Data To List View.

Transferring data to a list view,  the list view does not seem to update.

 

1.  Double Click List View

2.  Edit Item View subview

3.  Transfer Data from Item subview back to listview.

 

The problem I'm having is at stage 3, where the list view isn't updating with the values of the data transfer.   Are there any things to watch out for when transferring data to a list view on a form?

0 Kudos
Reply
4 Replies
AhmadAbdullah
Apprentice

Re: Transfer Data To List View.

Dear ,

 

do u use "apply changes to the editable list" after ur 3rd step ?

cuz after transfering the data u need that rule to apply the changes uve done in ur subview.

 

Hope it helps!

Regards.

Reply
Capz
Apprentice

Re: Transfer Data To List View.

Thank you Ahmed, your suggestion helped me achieved a solution.

 

 

 

1.  Edit selected row rule

2.  Transfer Data rule

3.  Apply changes to row  rule.

Reply
Capz
Apprentice

Re: Transfer Data To List View.

Just to continue this discussion.    Fields that aren't present on the list,  are not being persisted.  I can see List fields get updated,  but I'm not sure the smart object containing hidden fields are being updated.  

 

Is there a limitation?

0 Kudos
Reply
RaymondJVR
Nintex Employee
Nintex Employee

Re: Transfer Data To List View.

Good day Capz


 


By the looks of what you have explained it seems that you have list view on a form, through some action a item view is opened as a subview and the requirement is to pass data from this items view (subview) back to the form - into the list view. If my understanding above is correct then the following would be the steps required to pass the data from the subview (item view) to the list view located in the form as a new row.


Please see the below recommendation.


 


Guide


*Note: The rule construction would need to be placed on form level to ensure that the scope is visible to the form, list view and subview.


 


Step1:


Edit the form containing the list view and navigate to the Rules


 


Step 2:


Add a new rule and configure an action from the subviews perpective on form level by using the "When a control on a subview raises an event" rule.  I.E: On Test Data Item - (When Button is Clicked) subview, when Button is Clicked.


 


Step 3:


Now that the action event is configured you need to add the "Add a new row to the editable list" to the rule created in Step 3. I.E: then add a new row to the FormChecklist Table Editable List View01 View


 


Step 4:


Add a "Transfer Data" rule and configure it to transfer the relevant data from the subview to the list views addedit section. See image for reference.


6937iBBACC39F18B0A7AC.png


 


Step 5:


Add the "Apply the changes made to the row on a editable list View" to the rule created in step 3. I.E: then apply the changes made to the row on the FormChecklist Table Editable List View01 editable list


 


Example of Rule construction:


6936iF20CCAF7D298EFD6.png


 


Step 6 (Optional):


Add a "Close a subview or subform" rule at the end if you need the subview to close afterwards


 


Step 7: Save, finish and run the view.


When the form is run, you can preform the action that would display your subview and then from the subviews preformed action specified in the rules above, the required data will be taken and passed into a new row on the list view which is located in the Form. 


 


Should you feel that this post is of use and or an accurate solution to the raised question, I kindly encourage you to mark it as such using the 'Mark as Solution', 'Kudo' andor ‘Me Too’ options.


 


Kind Regards


Raymond


 

0 Kudos
Reply