Page 1 of 1

How to get the ID of the current record

Posted: 24 Oct 2013
by MES5464
Say the user has an edit form open.

How do I get the ID of the current record?

Re: How to get the ID of the current record

Posted: 25 Oct 2013
by Clint Lechner
What do you want to do with the ID? One option is getting it via javascript

In Forms Designer, click on the Javascript tab
Type in:

JSRequest.EnsureSetup();

var currentID = JSRequest.QueryString["ID"];

alert(currentID);


What do you want to do with the ID then? There are a few different ways to get the item ID.

Re: How to get the ID of the current record

Posted: 28 Oct 2013
by MES5464
I plan to query several other lists to display related information in readonly html.