Skip to main content

Hi,


I created an Infopath Document Library in Sharepoint and attached a Sharepoint Documents Event that fires when a new document is added to it.


For further processing (SharePoint User Management) I need to retrieve the ItemID of the added document. In the process EventDetails XML structure a field named ListItem is contained but this holds the NAME of the document (e.g. 3.xml) and not the ID of the document (e.g. 35).


How can the "actual" ID of an item be retrieved (I need the ID for further processing (GetListItemDetailsFromListNameItemId in the GetListItemMetaData_ExecuteCode method)).


 Thanks,


Bernhard

Nevermind I found a workaround for this.


First I retrieve the item name through the ListItem field and via the method GetListItemFromListNameListItemName() I retrieve the "real" ItemID.


Reply