问题
my CAML query to add a ListItem (Wiki Page) doesn't work. I've tried several fields, but Sharepoint always creates empty pages.
Here is my CAML so far:
<Batch OnError="Continue">
<Method ID="1" Cmd="New">
<Field Name="WikiField">My Wiki Content</Field>
</Method>
</Batch>
回答1:
Try this
<Batch OnError="Continue">
<Method ID="1" Cmd="New">
<Field Name="urn:schemas-microsoft-com:office:office#WikiField">My Wiki Content</Field>
</Method>
</Batch>
来源:https://stackoverflow.com/questions/965581/caml-query-to-add-a-listitem-in-sharepoint