Getting the List Item ID From Sharepoint List

  • 22 September 2009
  • 1 reply
  • 10 views

Badge +6

hi,

 I have a sharepoint list where i added many items, what i need to the have the listItem id of a certain Item according to certain criteria i search for.

 Let's say i have a custom list where i store the employees records. for my Workflow i need to the The employee list Item id generated by Sharepoint. I want to search for it according the employee name. 

 

i'm trying to use the sharepoint search event in K2 but i'm not able to stor the list item id in the content field.

 

can anyone please help?


1 reply

Badge +8
You can try to create a SmartObject from that list (using the "Update K2 SmartObject Service definition" option on the Site Actions menu item). You can then use the GetList method, which should be able to retrieve all data you need including the ID. You can still add filter parameters for the criteria you require.

Reply