1

I have created a Javascript page, that uses some REST calls to query a list (actually several lists) and shows some highly customized output. All this is working quite good. My final requirement is, that I want to give the user a link to the Item context menu:

enter image description here

The question is: What Javascript code should I use to create such a link, given that I "only" have the list id and the item id?

Regards Leif

1
  • Use F12 Dev console to trace what OpenCalloutAndSelectItem from core.js does Commented Mar 9, 2016 at 11:19

1 Answer 1

0

You can use below URL to link to the Item context menu

_spPageContextInfo.webAbsoluteUrl+"Lists/ListName/DispForm.aspx?ID="+ItemID

For ListName you can use Title of list from the data you are receiving through rest call.

1
  • Hi Ankitkumar, this gives me a link to the form - not the actual Item Menu (the "..." menu). I just updated the initial question with an image to make it clearer what I need :-) Commented Mar 9, 2016 at 10:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.