Custom properties

You can add custom properties to components. Custom properties incorporate variables that you can reference in component expressions or procedures. They can contain expressions that are assigned in parameter sets or that are evaluated at runtime.

StepsAdding custom properties

  1. In the Design window, select the component.

  2. In the Property window, right-click and select Add.

  3. Enter the name for the property. Do not use reserved JavaScript keyword. See “Variables”. Inside the component, this property is referenced using the variable REF.<name of property>.

  4. In the Prompt field, enter a value to appear as the label for this property in the Properties window.

  5. In the Description field, enter a description to be used in the property tooltip.

  6. Click OK.

StepsRemoving custom properties

  1. In the Property window, right-click the custom property and select Remove.

  2. Click OK to confirm.

NoteYou must also remove all references to the associated variables.