define('SFPropertySection', ['GridUtilitiesV2'],
function() {
return {
entitySchemaName: 'SFProperty',
contextHelpId: '1001',
diff: /**SCHEMA_DIFF*/[
{
"operation": "insert",
"parentName": "CombinedModeActionButtonsCardLeftContainer",
"propertyName": "items",
"name": "TestButton",
"values": {
"itemType": Terrasoft.ViewItemType.BUTTON,
"caption": "test method сombined",
"click": {
"bindTo": "showInfo"
}
}
}
]/**SCHEMA_DIFF*/,
messages: {},
methods: {
showInfo: function() {
var test = this.get("ActiveRow");;
this.showInformationDialog(test);
var processArgs = {
sysProcessName: 'Process2',
parameters: {
RecordId: test
}
};
this.runProcess(processArgs.sysProcessName, processArgs.parameters, this);
}
}
};
});