Table of Contents


aspx:LabelFor

This control allows to read the metadata label value of a field of an Entity. Field labels are managed by administrators and it is would be best that applications will dynamically read and display the label as per settings on the Entity itself. Furthermore in multi-lingual scenarios the labels get translated into different languages and using this control you can show the translated value of the label on your application.

<aspx:LabelFor runat='server' value='{!$entity.Account.Name}'/>

This control renders a <label> tag.
 

Note that you need to access the list of entities using the "$entity" keyword and then specify the name of the Entity followed by the name of the field, for example: $entity.Force__Account.Name.

 

Properties

PropertyDescription
ValueExpression that describes what entity and field you what the label of.
TextModeOutputs text instead of HTML.
VisibleTrue/false; determines whether or not the component is visible.