To meet your needs, we constantly work to improve Querix products.
This means that Lycia documentation is developing as well.
In case you have found a certain dissonance between the provided information and the actual behavior of Lycia 3 and/or your applications, please, let us know about this via documentation@querix.com so that we can introduce the necessary changes to our documentation.
Thank you for your attention and cooperation.
The SetActionHidden() method is used to modify the Default View of an action so that it can be visible or hidden. The method invocation needs two arguments:
DIALOG.SetActionHidden("action", boolean)
The action argument is a string (lower case is a must) which defines the action influenced by the method. The action can be identified fully or partially. If the last is the case, the missing information is automatically filled depending on the context:
action_name
dialog_name.action_name
dialog_name.field_name.action_name
field_name.action_name (for singular dialogs only)
The dialog_name is a string containing the name of a singular dialog or a sub-dialog. The filed_name is a string identifying the field used in an INFIELD clause of an ON ACTION block. If the SetActionActive() method is used within a sub-dialog, the identifier of this sub-dialog can be omitted.
If the method does not find the action specified in the action argument a run-time error will occur.
In a singular interaction statements like INPUT, the field-specific actions can be referenced by field_name.action_name structure if the dialog definition did not contain the NAME attribute.
The Boolean attribute specifies whether the action is hidden. The attribute should be represented as 1 (TRUE, the action is hidden) or 0 (FALSE, the action is visible).