I have two list listA and listB
i wanted to add new item to listB with ListA's orginal created, createdBy fields value using 'Call web service' action.
Can someone help?
if you want to change created/By fields on target list you will need to remove their ReadOnly flag first
I am calling web service to update the Created By field to 'Read only; Any thing wrong with this code, i am getting 'The remote server returned an error: (500) Internal Server Error.' error . Please help
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:m="http://schemas.microsoft.com/sharepoint/soap/">
<Method ID="1" Cmd="Update">
<Field ReadOnly="FALSE" Name="Author" />
I guess you have 2 issues in your request
1. as far as I can see in web service reference, the action to perform should be defined by a <Fields> node instead of <Batch>
2. I'm not sure, the field to update specified this shortened way is sufficient. all the examples I've seen used full field's definition.