0

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>
pnuts
  • 58,317
  • 11
  • 87
  • 139
Stefan
  • 28,843
  • 15
  • 64
  • 76

1 Answers1

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>
Kusek
  • 5,384
  • 2
  • 25
  • 49