I have a Document Library with Document Set Content types and hence Document Sets.
The document library has a date column called LiveDate
next to the Document Sets
Within the Document Set I have documents (contracts) and a column called ContractDate
and ContractStatus
.
- I want to run a workflow on the Contracts that copies the
ContractDate
to theLiveDate
. - Also, if possible when the workflow is executed I want the
ContractDate
copied to theLiveDate
if no contracts has aContractStatus=Live
. If a Live status of any contract is in existence in the Document Set an error is displayed. Hence I need to iterate the Document Set and check Contract Status.
Someone suggested: *You may need to look at using the ‘Lists.asmx’ (http:///_vti_bin/Lists.asmx) web service with the ‘UpdateListItems’ method to update your fields. If you are wanting to do this for a number of items you could utilize a foreach loop to iterate through each item in the document set and execute the web service call.*
Dont fully understand suggestion, should I use client serviced like SPServices to accomplish this or Event Receiver or something else?