Passing in Parameters with openForm
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?
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 Kozlov
- Site Admin
- Posts: 1524
- Joined: Thu Jun 07, 2012
Hello,
Try to get passed parameters with the SharePoint function GetUrlKeyValue:
Try to get passed parameters with the SharePoint function GetUrlKeyValue:
Code: Select all
var showID = GetUrlKeyValue("ShowID");
alert(showID);
-
- Information
-
Who is online
Users browsing this forum: No registered users and 8 guests