Passing in Parameters with openForm

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
Locked
MES5464
Posts: 94
Joined: Mon Aug 26, 2013

11 Nov 2013

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?

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

17 Nov 2013

Hello,

Try to get passed parameters with the SharePoint function GetUrlKeyValue:

Code: Select all

var showID = GetUrlKeyValue("ShowID");
alert(showID);

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 21 guests