How to using json basetype in custom widget and without using infotable(use json object which is returned from service....directly)
Steps:
1.Ready a custom widget and define the widget properties as following:
xxx.ide.js=>
this.widgetProperties = function () {
return {
'name': 'custom widget',
'description': 'custom widget.',
'category': ['Common'],
'properties': {
'Data1': {
'description' : 'data',
'isBindingTarget': true,
'isVisible': true,
'baseType': 'JSON',//not using infotable
'warnIfNotBoundAsTarget': false
}
}
};
};
2. Using the json obj as following:
xxx.runtime.js=>
if (updatePropertyInfo.TargetProperty === "Data1") {
//How to get json here???
}

