define('EventPageV2', ['EventPageV2Resources', 'GeneralDetails', 'BusinessRuleModule'],
function(resources, GeneralDetails, BusinessRuleModule) {
...
rules: {
"SxWebPublish": {
"SxTaskVisibleByType":{
ruleType: BusinessRuleModule.enums.RuleType.BINDPARAMETER,
property: BusinessRuleModule.enums.Property.VISIBLE,
logical: Terrasoft.LogicalOperatorType.AND,
"conditions": [
{
"leftExpression": {
"type": BusinessRuleModule.enums.ValueType.ATTRIBUTE,
"attribute": "Type"
},
"comparisonType": Terrasoft.ComparisonType.EQUAL,
"rightExpression": {
"type": BusinessRuleModule.enums.ValueType.CONSTANT,
"value": "c5822cf8-1e61-45bf-bb76-3b90e68d75f5"
}
}
]
}
}
},