In the detail i applied a business rule that which mode i selected,then that template should be visible.
For Example
If i select the communication type as email then email template field should be visible for this i applied business rule.
If i selected as ivr the alignment position of that was varying.
I need a case whatever element i selected in communication type ,the field which i applied the business rule should come right next to the communication type.
For this what process should i follow in order to get that.
Like
Hi!
You cad customise your page, by merging those two fields on one position. SInce one of the field is always hidden, they will not interrupt each other. Code example:
{
"operation": "insert",
"name": "%Field1%",
"values": {
"layout": {
"colSpan": 4,
"rowSpan": 1,
"column": 0,
"row": 3,
},
"bindTo": "%Field1%"
},
},
{
"operation": "insert",
"name": "%Field2%",
"values": {
"layout": {
"colSpan": 12,
"rowSpan": 1,
"column": 0,
"row": 4,
},
"bindTo": "%Field2%"
},
}
Angela Reyes,
Hi,
I have tried the solution given above, but it is not working, the empty space of the hidden field is not getting overriden. plz check the code once or You can send me sample one.
Hoping for positive reply
{
"operation": "insert",
"name": "LOOKUP7a7cce37-10fa-4c33-a60f-eafc8f05bf58",
"values": {
"layout": {
"colSpan": 6,
"rowSpan": 1,
"column": 7,
"row": 0,
"layoutName": "Header"
},
"bindTo": "UsrEmailTemplate",
"enabled": true,
"contentType": 3
},
"parentName": "Header",
"propertyName": "items",
"index": 2
},
{
"operation": "insert",
"name": "LOOKUPc967a78e-5920-49ec-9edc-2dab291ace23",
"values": {
"layout": {
"colSpan": 6,
"rowSpan": 1,
"column": 7,
"row": 0,
"layoutName": "Header"
},
"bindTo": "UsrIvrTemplate"
// "enabled": true,
// "contentType": 3
},
"parentName": "Header",
"propertyName": "items",
"index": 1
},
I'd recommend to create your own control instead of 2 separate controls and change the control content dynamically. Please check how the "Authentication" lookup works. It is on the "ServiceAuthInfoSettingsPage" module in the 'Web services" section. In order to check how it works you'll need to debug JS code. I recommend to deploy a copy of the application locally. This way you'll avoid working with JS code bundles.