Defining Custom Attributes

It is important that you use the same structure for your code as demonstrated in the code snippets, otherwise errors may occur. You can include CSS styles, if required.

The following notes are applicable to all code snippets in this section and its subsections:

Any class attribute must reference the style "liExtProperty". This style can only be used on list item (<li>) tags.
class="required" marks the custom attribute as mandatory (the output includes the red * symbol). Leave this out if the custom attribute is optional.
The code snippets use the ng-model directive to bind the value of a user input field to a variable created in AngularJS. Permitted binding values are formData.licenseCustomAttributes, formData.orgUnitCustomAttributes, and formData.userCustomAttributes.