removeing layer app.enableFault CIMModuleModel.modules step1 in appconfig.js search modules and comment requred "modules" : { "Parking" : "parking" , "Light" : "light" , "WasteManagement" : "wasteManagement" , "Traffic" : "traffic" , "Environment" : "environment" , "Mobility" : "crowd" , "SnS" : "safety & Security" , ...
Posts
Showing posts from March, 2020
map config single layer
- Get link
- X
- Other Apps
{ "integrationName" : "PublicWIFI" , "polling" : { "frequency" : 0 , "enabled" : false }, "statusWidget" : { "iconClass" : "cdp-integration-icon cdp-integration-icon_wifi" , "status" : "All systems running optimally" , "title" : " Public Wi-Fi" }, "mapWidget" : { "title" : " Public Wi-Fi" , "options" : { ...
report
- Get link
- X
- Other Apps
return new Promise((resolve, reject) => { Promise.all ([Me.getConfigData({ "groupType": "source", "groupName": "PublicWIFI", "configName": "APdetailsGET", "tenantId": "ndmc.com" })]).then(gresponse => { var data2 = gresponse[0]['result']['devices']; var output = []; var active=0; data2.forEach((kitem, i) => { var fdate = kitem.last_update; var res = fdate.split(" "); var time_ = res[1]; var time_split = time_.substring(0, 4); ...
convert to ISO format
- Get link
- X
- Other Apps
"16-03-2020 07:30PM"; ISO format should be mm-dd-yyyy h:m PM 03-16-2020 07:30 PM is correct format to convert to convert use below code : var fdate = kitem.last_update; // ie "16-03-2020 07:30PM"; var res = fdate.split(" "); var time_ = res[1]; var time_split = time_.substring(0, 4); var time_split_AMPM = time_.substring(5, 7); var final_time = time_split + ' ' + time_split_AMPM; var date_ = res[0]; var dateARR = date_.split("-"); var final_date = (dateARR[1]+'-'+dateARR[0]+'-'+dateARR[2]); var final_dateTime = final_date + ' ' +final_time; var ISOformat = new Date(final_dateTime).toISOString(); ...
config aggregate and map
- Get link
- X
- Other Apps
{ "integrationName" : "PublicWIFI" , "polling" : { "frequency" : 0 , "enabled" : false }, "statusWidget" : { "iconClass" : "cdp-integration-icon cdp-integration-icon_wifi" , "status" : "All systems running optimally" , "title" : " Public Wi-Fi" }, "mapWidget" : { "title" : " Public Wi-Fi" , "options" : { ...
map
- Get link
- X
- Other Apps
return new Promise((resolve, reject) => { Promise.all([Me.getConfigData({ "groupType": "source", "groupName": "PublicWIFI", "configName": "digitalInteractivePanel", "tenantId": "ndmc.com" })]).then(gresponse => { var data2 = gresponse[0].result; var output = []; var active=0; var data3= Object.values(data2); data3.forEach((kitem, i) => { output.push({ "geometry": { "coordinates": { ...
aggregate total count
- Get link
- X
- Other Apps
return new Promise((resolve, reject) => { Promise.all([Me.getConfigData({ "groupType": "source", "groupName": "PublicWIFI", "configName": "digitalInteractivePanel", "tenantId": "ndmc.com" })]).then(gresponse => { var active=0; var data2 = gresponse[0].result; var data3= Object.values(data2); active = data3.reduce((ele,acc)=>{return ele+acc.details_by_ssid['Signpost-FREE-Wifi']['active_users']},0); var output=[]; output.push({ "val": data3.length, "key": "Total Access Points", "order": 1 }); output.push({ "val": active, "key": "Active Users", ...
reports persist | polling freq ||
- Get link
- X
- Other Apps
Query: Prayagraj: Task: Reports Persist Polling Frequency: 30mins Mapping Name: TransportLink RealTime API: http://10.120.4.163/tis/api/rest/atcs/getTransportLinkDynamicData.php?licence=ccT0F804bU8093N3900I5ff4Sfe49Ob58aS3b&client=LnT&format=JSON Static API: http://10.120.4.163:80/tis/api/rest/atcs/getTransportLinkStaticData.php?licence=ccT0F804bU8093N3900I5ff4Sfe49Ob58aS3b&client=LnT&format=JSON Mapping Name: TrafficSignal RealTimeAPI: http://10.120.4.163:80/tis/api/rest/atcs/getTrafficSignalDynamicData.php?licence=ccT0F804bU8093N3900I5ff4Sfe49Ob58aS3b&client=LnT&format=JSON Static: http://10.120.4.163:80/tis/api/rest/atcs/getTrafficSignalStaticData.php?licence=ccT0F804bU8093N3900I5ff4Sfe49Ob58aS3b&client=LnT&format=JSON SOLUTION create a target and config as report or any name add schema refer TargetSystems / ViewDetails:TransportLinkReports / Edit:reports...