Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I need to know the list item id for an InfoPath form. I have seen solutions to fetch this programmatically, but what is the fastest, easiest way to accomplish this in the browser interface with no code?

Thanks

share|improve this question
add comment

1 Answer 1

up vote 0 down vote accepted

If you are referring to the integer that is unique to the list (not a GUID), you can simply turn on Inline editing (via the Modify view menu), and mouse over the Edit button you would use to modify the inline list columns.

Your browser should show you the JavaScript link that it references which is something like...

javascript: _doPostBack('ctl00%m%g_<GUID>','_cancel;dvt_form_key{<List Item ID>}');
CoreInvoke('ExpGroupOnPageLoad','true');

The List Item ID is within the dvt_form_key{} call.

Note: Tested successfully in Firefox and IE

share|improve this answer
    
Thanks, Zork. In this case, I am looking for the list item GUID. Where might I access that? –  mg7637 May 24 '12 at 19:55
    
Unfortunately I do not think there is a way to view the GUID directly from the browser. Possibly using a sharepoint designer workflow you can pull it up, but thats the easiest thing i can give you. Also i have no idea why i didnt just suggest checking ID in the modify view to see normal list ids... –  Zork May 24 '12 at 20:34
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.