SetControlVisibility

This method is used to set control visibility in HCL BigFix CLM.

Method Signature:

SetControlVisibility(controlId, isVisible, visibilityOption)

Parameter Details:

Table 1. SetControlVisibility
Parameter Name Type Mandatory Description
controlId String N

Id of “Select control” to be populated.

If Id is passed, then control will be populated else “Result set” will be returned in JSON format.

IsVisible Boolean N

In case it’s False:

Function will be called in synchronous mode. i.e., Current execution will wait for method execution to complete

In case it’s True:

Function will be called asynchronously. Execution will not wait for method execution completion. It will jump to next statement.

VisibleOption String N This method can be used to show or hide control on pop up and Email. VisibilityOption: onRequestPopUp, onEmail, onPopUpAndEmail