
Hello,
Is there any UI methods to add button here. If not, how do I add buttons here in code.
Thanks,
Like
1 comments
16:51 Sep 16, 2022
Hello
You can add a button there, here is an example for CasePage:
define("CasePage", [], function() {
return {
entitySchemaName: "Case",
methods: {
testMethod: function() {
}
},
diff: [
{
"operation": "insert",
"parentName": "ActionDashboardContainer",
"propertyName": "items",
"name": "PrimaryContactButton",
"values": {
"itemType": Terrasoft.ViewItemType.BUTTON,
"caption": "Test",
"click": {bindTo: "testMethod"},
"enabled": true,
"style": Terrasoft.controls.ButtonEnums.style.BLUE
}
}
]
};
});
Show all comments