Skip to main content
Nintex Community Menu Bar

Tips for working with a serialized list.


Forum|alt.badge.img+7

1. Retrieve a serialized array from database, and deserialize it into a list.

2.  Edit/Add data

3. Reserialize and send it all back.

 

What are the steps needed to do this?  If this is possible at all.

 

I am able to retrieve the data, and also reserialize it.  I am just not able to edit or add data.

Translate
Did this topic help you find an answer to your question?

2 replies

Forum|alt.badge.img+11
  • 658 replies
  • June 13, 2018

Could you give more information?  You need to know how to add/edit or you are getting an error?

 

If you are asking how, on the event that triggers the save back to the database you would use the foreach condition.  For each item that has been added or changed, serailze it to a container like a hidden text field.  For each item that has been deleted, don't serialize it.  Once all of your objects have been searilized, save the created collection stored in your container back to the database.

Translate

Forum|alt.badge.img+7
  • Author
  • 36 replies
  • June 13, 2018

Ah yep,   what was undoing me is that I forgot to call the action 'Apply changes to row' before moving to a new row.

Translate

Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie Settings