Geeks With Blogs
Jacob Adams March 2013 Entries
Open SharePoint Alerts Page Using JavaScript
The page to set up alerts for a SharePoint list requires the list ID to be passed in as a query string. The follow code will get the ID for the list with a specific title. It will then open the alerts setup page for that list in a SharePoint dialog box. 1: var context = new SP.ClientContext.get_curren... 2: var listTitle = 'TitleOfYourList'; 3: var list = context.get_web().get_lists... 4: context.load(list); 5: 6: context.executeQueryAsync(f... (sender, args) { 7: var id ......

Posted On Friday, March 1, 2013 2:04 PM

Copyright © Jacob L. Adams | Powered by: