ArcGIS Pro 3.7 API Reference Guide
ArcGIS.Core.CIM Namespace / CIMFormFieldElement Class / VisibilityExpressionName Property

In This Topic
    VisibilityExpressionName Property (CIMFormFieldElement)
    In This Topic
    Gets or sets the name of an Arcade expression that returns a boolean value. When this expression evaluates to 'true', the element is displayed. When the expression evaluates to 'false' the element is not displayed. If no expression is provided, the default behavior is that the element is displayed. Care must be taken when defining a visibility expression for a non-nullable field i.e. to make sure that such fields either have default values or are made visible to users so that they can provide a value before submitting the form.
    Syntax
    Public Property VisibilityExpressionName As String
    public string VisibilityExpressionName {get; set;}
    Remarks
    If set, this name must match the Name of exactly one expression in the form's ExpressionInfos array.
    Requirements

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.7 or higher.
    See Also