Get List item ID

A

andyoye

How can I get List ID of a item? I used the below to create item in calendar
and now I want to create a "Delete" button so when a user clicks it, it
deletes the entry in calendar for that particular item.

http://www.bizsupportonline.net/inf...lly-add-item-sharepoint-calendar-infopath.htm

If I hard code ID in Batch element of CAML, than it does remove the calendar
entry

Like
<?xml version="1.0" encoding="UTF-8" ?>
<Batch>
<Method ID="1" Cmd="Delete">
<Field Name='ID'>26</Field> ... here 26 is the ID for the item in calendar
</Method>
</Batch>


thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top