views:

665

answers:

1

Hi,

my CAML query to add a ListItem (Wiki Page) doesn't work. I've tried serveral 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  A: 

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
It didn't help. Thanks for your answer.
Stefan