URL Parameter Reference¶
When configuring the menus of Unified Monitoring pages, application creators can configure the functions or styles of the page by configuring the parameters in menu URL addresses. The page describes the parameters of the URL addresses for each Unified Monitoring module.
URL Parameter Format¶
URL parameters appear in URLs by the following formats:
For Portfolio, Asset List, Charting Tool, and Common KPI Inquiry, the format of URL parameters is
?parameter1=value1¶meter2=value2
.For Landing Page, the format of URL parameters contains the following parts:
For the parameter referring to Digital Twin Visualization (DTV) page:
?dt={URL generated by publishing DTV page}
. This parameter is required in Landing Page URL.For other Landing Page URL parameters:
"parameter1":"value1","parameter2":[{"subparameter1":"subvalue1","subparameter2":"subvalue2"}, {"subparameter3":"subvalue3","subparameter4":"subvalue4"}]
.
Portfolio Parameter¶
The URL of a Portfolio page is /encompass-monitor-hmi/#/portfolio/runtime
by default. You can add supported parameters before the #
. For example, add solarSiteEnlightIframe
and set the valuye as true
, and the configured URL will be /encompass-monitor-hmi/?solarSiteEnlightIframe=true#/portfolio/runtime
. Portfolio supports the following URL parameters.
Parameter |
Required/Optional |
Description |
---|---|---|
disablePageJump |
Optional |
|
defaultNodeId |
Optional |
|
assetSticky |
Optional |
|
Asset List Parameter¶
The URL of an Asset List URL is /encompass-monitor-hmi/#/asset-list
by default. You can add supported parameters before the #
. For example, add timeTypes
and siteTypes
, then set realtime
and EnOS_Solar_Site
as the parameter values, and the configured URL will be /encompass-monitor-hmi/?timeTypes=realtime&siteTypes=EnOS_Wind_Farm,EnOS_Solar_Site#/asset-list
. Asset List supports the following URL parameters.
Parameter |
Required/Optional |
Description |
---|---|---|
assetScope |
Optional |
|
timeTypes |
Optional |
|
layoutTypes |
Optional |
|
siteTypes |
Optional |
|
enableBlockChart |
Optional |
|
siteTypes |
Optional |
|
deviceTypes |
Optional |
|
filterByDomain |
Optional |
|
srTypes |
Optional |
|
controlTypes |
Optional |
|
controlMaxNum |
Optional |
|
showDeviceHierarchy |
Optional |
|
showTime |
Optional |
|
assetSticky |
Optional |
|
filterByDomain |
Optional |
|
summaryPosition |
Optional |
|
showSummaryTitle |
Optional |
|
state |
Optional |
|
defaultSiteTypes |
Optional |
|
defaultDeviceType |
Optional |
|
nodeIds |
Optional |
|
deviceNodeIds |
Optional |
|
cardFilter |
Optional |
|
showFilter |
Optional |
|
Charting Tool Parameter¶
The URL of a Charting Tool URL is /encompass-monitor-hmi/#/charting-tool
by default. You can add supported parameters before the #
. For example, add openRaw
as true
, and the configured URL will be /encompass-monitor-hmi/?openRaw=true#/charting-tool
. Charting Tool supports the following URL parameters.
Parameter |
Required/Optional |
Description |
---|---|---|
openRaw |
Optional |
|
deviceTreeTypes |
Optional |
|
siteTypes |
Optional |
|
Common KPI Inquiry Parameter¶
The URL of a Common KPI Inquiry URL is /encompass-monitor-hmi/#/metric-tool
by default. You can add supported parameters before the #
. For example, add subjects
as site
, and the configured URL will be /encompass-monitor-hmi/?subjects=site#/metric-tool
. Common KPI Inquiry supports the following URL parameters.
Parameter |
Required/Optional |
Description |
---|---|---|
subjects |
Optional |
|
checkableSiteTypes |
Optional |
|
siteTypes |
Optional |
|
orderType |
Optional |
|
deviceTreeTypes |
Optional |
|
bigDataMdmTypes |
Optional |
|
groupKey |
Optional |
|
Landing Page Parameter¶
The URL of a Common KPI Inquiry URL is /encom-landing-page/?url=&landingpage={}
by default.
A typical Landing Page URL is shown as below.
/encom-landing-page/?url=/dt/encompass/page/2c3e40eb-821d-4224-bae2&landingpage={"theme": "dark","welcome":true, "dtvOptions":{},"filters":[{"type":"asset","siteTypes":"EnOS_Wind_Farm,EnOS_Solar_Site","checkable":true,"aggTypes": "region","show":false}, {"type":"time","format": "YYYY-MM-DD HH:mm:ss","range":true,"showRange":true,"showInterval":true,"showShortcut":true}]}
The parameter value of url
in the example above is /dt/encompass/page/2c3e40eb-821d-4224-bae2
. Landing Page supports the following URL parameters.
Parameter |
Required/Optional |
Description |
---|---|---|
url |
Optional |
The URL generated when you publish Digital Twin Visualization pages. |
welcome |
Optional |
|
theme |
Optional |
|
title |
Optional |
|
dtvOptions |
Optional |
|
controlOptions |
Optional |
|
filters |
Required |
The filters in Landing Page, in the form of an array containing multiple sub-parameters. |
type |
Required |
|
Asset Filter Parameters ¶
When the "type":"asset"
is specified in the filters
parameter, the following sub-parameters can be configured for the filters
parameter.
Parameter |
Required/Optional |
Description |
---|---|---|
siteTypes |
Optional |
|
checkable |
Optional |
|
aggTypes |
Optional |
|
groupLevelVisible |
Optional |
|
deviceTypes |
Optional |
|
deviceCheckable |
Optional |
|
deviceTreeType |
Optional |
|
assetSticky |
Optional |
|
show |
Optional |
|
deviceShow |
Optional |
|
defaultNodeIds |
Optional |
|
deviceSortAttribute |
Optional |
The attributes and their order displayed on the device filters.Default is disabled. |
assetTypeVisible |
Optional |
|
deviceTypeVisible |
Optional |
|
Time Filter Parameters ¶
When the "type":"time"
is specified in the filters
parameter, the following sub-parameters can be configured for the filters
parameter.
Parameter |
Required/Optional |
Description |
---|---|---|
format |
Required |
|
showRange |
Optional |
|
showShortcut |
Optional |
|
showInterval |
Optional |
|
defaultInterval |
Optional |
|
intervalSelect |
Optional |
|
timeRange |
Optional |
|
defaultShortcut |
Optional |
|
minStartTime |
Optional |
|
maxEndTime |
Optional |
|
Landing Page Output Parameters¶
To make sure application users can use filters in Landing Page, you need to add global filters in Digital Twin Visualization and enter the following values as the Keys of filters. For more information, see Adding Global Filters.
Key |
Prerequisite |
Description |
---|---|---|
nodeName |
Asset filter is enabled. |
The name of the selected node. |
siteIds |
Asset filter is enabled. |
The site ID of the selected organization structure node. |
allGroupMdmIds |
Asset filter by region or site is enabled. |
The summarized data of the selected regions or sites. |
groupMdmIds |
Asset filter by region or site is enabled. |
The data of each selected region or site. |
mdmIdsByRegion |
Asset filter by region or site is enabled. |
The data of the selected sites in each region. |
mdmIdsByType |
Asset filter by region or site is enabled. |
The data of selected sites in each asset type. |
{type}GroupMdmIds |
Asset filter by region or site is enabled. |
|
deviceIds |
Asset filter by device or site is enabled. |
The selected device. |
mdmId |
Asset filter is enabled. |
The selected devices or sites. |
startTime |
Time filter is enabled. |
The start time of time filters. |
endTime |
Time filter is enabled. |
The end time of time filters |
startOfMonth |
Time filter is enabled. |
The first second in the month specified by startTime. |
endOfMonth |
Time filter is enabled. |
The last second in the month specified by endTime. |
startOfYear |
Time filter is enabled. |
The first second in the year specified by startTime. |
endOfYear |
Time filter is enabled. |
The last second in the year specified by endTime. |
interval |
Time filter is enabled. |
The interval of the selected time range, supporting day (D), month (M), and year (Y). |
appId |
/ |
The appId of the current page in Application Portal. |
menuCode |
/ |
The menuCode of the current page in Application Portal. |