Timeline for Get a list Id using javascript?
Current License: CC BY-SA 3.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Apr 13, 2017 at 23:01 | comment | added | Fütemire | @Vitali Climenco , I think your comment should be listed as an answer so it's more visible. This is by far the best solution since SharePoint has already made it available as a variable. I almost missed this because I had to expand the comments to see it! | |
Jan 31, 2017 at 9:29 | comment | added | Vitali Climenco |
As of SP2010, you can find the list id in _spPageContextInfo.pageListId . For a great example of its usage, you may want to have a look at sharepoint.stackexchange.com/a/101015/63990.
|
|
Nov 27, 2015 at 16:02 | comment | added | Atish Kumar Dipongkor | Let us continue this discussion in chat. | |
Nov 27, 2015 at 14:20 | vote | accept | ameliapond | ||
Nov 27, 2015 at 14:18 | comment | added | Atish Kumar Dipongkor | Is it worked? then mark the answer@ameliapond | |
Nov 27, 2015 at 14:15 | vote | accept | ameliapond | ||
Nov 27, 2015 at 14:15 | |||||
Nov 27, 2015 at 14:11 | comment | added | Atish Kumar Dipongkor | My mistake. See update | |
Nov 27, 2015 at 14:10 | history | edited | Atish Kumar Dipongkor | CC BY-SA 3.0 |
added 143 characters in body
|
Nov 27, 2015 at 13:58 | comment | added | Atish Kumar Dipongkor | Any help from updated code? @ameliapond | |
Nov 27, 2015 at 13:29 | comment | added | Atish Kumar Dipongkor | opps.. run my updated code | |
Nov 27, 2015 at 13:29 | history | edited | Atish Kumar Dipongkor | CC BY-SA 3.0 |
added 218 characters in body
|
Nov 27, 2015 at 13:04 | comment | added | Atish Kumar Dipongkor | see my update .... @ameliapond | |
Nov 27, 2015 at 12:58 | history | edited | Atish Kumar Dipongkor | CC BY-SA 3.0 |
added 95 characters in body
|
Nov 27, 2015 at 12:57 | comment | added | Atish Kumar Dipongkor |
run your code under ExecuteOrDelayUntilScriptLoaded
|
|
Nov 27, 2015 at 12:51 | history | answered | Atish Kumar Dipongkor | CC BY-SA 3.0 |