Hi,
I have encountered a problem with configuration import.
Event handler import fails:
Event handler configuration:
Event handlers json code:
"eventHandlers":[
{
"xid":"EH_S1.01_LOCREM_CHANGED",
"activeAction":"SCRIPT_VALUE",
"inactiveAction":"NONE",
"activeScript":"if(locrem.value){\n return sp.value*10;\n}else{\n return 65535;\n}",
"handlerType":"SET_POINT",
"targetPointId":"DP_S1.01_FORCE_TEMP",
"alias":"",
"disabled":false,
"scriptPermissions":{
"scriptDataPointReadPermission":"superadmin",
"scriptDataPointSetPermission":"superadmin",
"scriptDataSourcePermission":"superadmin"
},
"eventTypes":[
{
"sourceType":"DATA_POINT",
"dataPointXID":"DP_S1.01_LOCAL_REMOTE",
"detectorXID":"ED_S1.01_LOCREM_CHANGED"
}
],
"additionalContext":[
{
"contextKey":"locrem",
"dataPointXid":"DP_S1.01_LOCAL_REMOTE"
},
{
"contextKey":"sp",
"dataPointXid":"DP_S1.01_SETPOINT"
}
]
}
...
I use mango enterprise with core 3.4.5.
Can anyone confirm the problem?