1. Home
  2. Developer Guide
  3. JavaScript Library
  4. Get Data By ID

Get Data By ID

This function is used to get the record details based on the record id provided and it returns the data of the field names provided.

Function: GetDataByID(<Record GUID>, <Object Name>, <Field Names>)Usage:var Task = GetDataByID(GetRecordGUID(),”Task”, “Id,Name,Start,End,Description,Location,Attendees,OwnerId”);Or

var Task= GetDataByID(1332647461507827571,”Task”,”Id,Name,Start,End,Description,Location,Attendees,OwnerId”);Output:Success:The object can be used like this:- Task.Id- Task.NameFailure:An error message will be displayed

Was this article helpful to you? Yes No

How can we help?