Contextual data that's been shared by the page.
Members
#
record
get current record information stored in the server
objectExamples
SampleCopycopied
$Page.record;
Output
{
First_Name: "John",
Full_Name: "John zylker",
Last_Name: "zylker",
...
}
#
record_id
get current record id
stringExamples
SampleCopycopied
$Page.record_id;
Output
527627200000037XXXX
#
layout_id
get current layout id
stringExamples
SampleCopycopied
$Page.layout_id;
Output
527627200000009XXXX
#
parent_record_id
Get the parent record ID while cloning.
stringExamples
SampleCopycopied
$Page.parent_record_id;
Output
1776121000000694009
#
navigation_data
Get custom navigation data passed from ZDK.Client.navigateTo method
ObjectExamples
Sample for navigating to List pageCopycopied
ZDK.Client.navigateTo('record_list', { module: 'Leads', custom_view_id: '111111000000046541', custom_data: [{ key: "value"}] }, '_self');
To get navigation data in List pageCopycopied
$Page.navigation_data;
Output
{
key: "value",
...
}
#
name
Get the current page name
stringExamples
SampleCopycopied
$Page.name;
Output
'record_detail' | 'record_create' | 'record_clone' | 'record_edit' | 'record_list' | undefined