Quantcast
Viewing all articles
Browse latest Browse all 6517

New Post: Is it possible to use a variable to store the value pairs for a SPServices.UpdateListItems call?

Hi coeddyiv,

Thanks; that's kind of where my thinking's at at the moment.

To add a bit of colour to my scenario, I am using one task list to handle a number of stages of a business process, with different pieces of information being gathered at different stages. I'm using the UpdateListItems function to improve the UX - opposed to the OOTB save and then re-edit the task - so am trying to use the one 'update' function for all stages of the process, hence my desire to only pass those fields needing to be updated into the function at the appropriate time and so parameterise the value pairs.

If its a case that this function cannot work in this way then I'll resort to one set of value pairs and pass in dummy variables for the fields yet to be set.

Viewing all articles
Browse latest Browse all 6517

Trending Articles