Dialog/UX
V11 Dialog2 or Alpha Anywhere (V12) UX component
General Rules
oEnsure the HTML Editor property is unchecked for the field with the Editor applied.
oReplace 'FIELDNAME' with your component's fieldname.
oNote that function parameters must be in all capital letters.
Additional Requirements
oRequired - add a hidden character control named “editor_dummy” to your dialog. Check "Hide" so the whole control is hidden.
oWhen opening the Dialog/UX from another component using a Button, be sure to un-check the box Use Cached Dialog/UX Component.
Notes
oInstructions here do not apply to the "Dialog" component found in V10 and described as "legacy" in V11 and beyond.
oAlthough not necessary, if you are using Alpha Anywhere (V12) you can replace all occurrences of the term "DIALOG2" below with "UX".
Condition |
Add code to this client-side event |
Code |
Update Record is allowed |
canSubmitDialog |
ckUpdate('DIALOG2','{Dialog.ComponentName}'); |
View Record is allowed |
onInitailzeComplete |
if(window.location.protocol.indexOf("http")>=0) { Examples applied to four different textarea fields on same Detail View if(window.location.protocol.indexOf("http")>=0) { |