Passing in Parameters with openForm
Posted by MES5464 - Nov 11 ’13 at 03:24
I am trying to pass in ShowID and ShowChecklistID into a New form:
fd.openForm('http://share.showprg.com/Lists/Exhibit Order/fd_Item_New.aspx',{ID:nid, List: 'C13A72A0-0CFA-4A7A-9AF0-5527D1B4CA3A', Source: window.location.href, ShowID: sid, ShowChecklistID: scid});
I am trying to get out the values using:
var qs = window.$().SPServices.SPGetQueryString();
var sid = qs["ShowID"];
var scid = qs["ShowChecklistID"];
What am I doing wrong?
-
Dmitry KozlovAdminMember for: 8 years 7 months 26 days
Hello,
Try to get passed parameters with the SharePoint function GetUrlKeyValue:
var showID = GetUrlKeyValue("ShowID"); alert(showID);
Displaying 1 to 1 of 1 messages