Dear Community,
We have a status lookup in a section edit page. If the value of the look up becomes "Queued" , the INFORMATION_BUTTON must appear. Any other status must make not make the button visible.
I have the following code to insert this INFORMATION_BUTTON in Diff array
{
"operation": "insert",
"name": "QueuedInfoChat",
"values": {
"layout": {
"colSpan": 7,
"rowSpan": 1,
"column": 2,
"row": 1,
"layoutName": "Header"
},
"itemType": Terrasoft.ViewItemType.INFORMATION_BUTTON,
"content": {
"bindTo": "Resources.Strings.QueuedStatusChat"
},
"visible": {
"bindTo": "QueuedToolTipChat"
}
},
"parentName": "Header",
"propertyName": "items",
"index": 8
}
And the attribute
"QueuedToolTipChat": {
"type": Terrasoft.ViewModelColumnType.VIRTUAL_COLUMN,
"dataValueType": Terrasoft.DataValueType.BOOLEAN,
"value": true
}
When I tried setting this attribute to false, the button is still visible. Please see image attached for reference
Any suggestion would help.
Thanks in Advance!