Passing in Parameters with openForm

rss

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 Kozlov
    Dmitry Kozlov
    Admin
    Member for: 8 years 7 months 26 days
    #1 by Dmitry Kozlov Nov 17 ’13 at 02:39

    Hello,

    Try to get passed parameters with the SharePoint function GetUrlKeyValue:

    var showID = GetUrlKeyValue("ShowID");
    alert(showID);
    
Displaying 1 to 1 of 1 messages