To use the Layout Designer:
- Log into Alfresco Share as a user that is a member of the ALFRESCO_MODEL_ADMINISTRATORS permission group and click Admin Tools > Model Manager and select the relevant content model.
-
Click Layout Designer from the
Actions dropdown.
Note: If you do not apply the newly created property to the Layout Designer, then neither the type nor its property will be available for use in Alfresco Share.
-
Drag the required layout elements from the top onto the layout area. Layout elements can be edited, reordered or deleted:
- Edit: To edit the layout elements, click anywhere on the element's top panel showing the element name. This displays the Edit Properties window, which enables you to change the column configuration, specify the panel label, and select the panel appearance.
- Reorder: To reorder the layout elements on the layout area, hover over the element's top right corner and select the up or down arrows to move the element up or down a place.
- Delete: To remove the layout element from the layout area, hover over the element's top right corner and click the trashcan.
-
Drag the required properties from the side onto the elements. Properties can be edited, reordered or deleted:
-
Edit: Click anywhere on the property to edit it.
The attributes that can be managed are:
-
Form controls are the type of input
fields end-users will see. They differ depending on the data
type of the property:
Control Description Default Users can enter a value based on the selected data type. For text and integer data types. Number Users can enter a number. For integer data types. Text field Users have a single line of text. For text data types. Text area Users have multiple lines of text. For text data types. Rich text Users can format text with options such as bold or italics. For text data types. Password field Input characters are masked for users. For text data types. Mimetype Identify files by their nature and format. For mimetype data types. Categories Categorize content into related groups to form a hierarchy. For cm:category data types. Taggable Tag content using keywords. For cm:taggable data types. -
View mode sets how the property should
be displayed in Alfresco Share:
Option Description Any Displays the property on the details page under Properties and also on the Edit Properties page. View Displays the property on the details page under Properties. Edit Displays the property on the Edit Properties page. - Style enables formatting options on the property when it is displayed in Alfresco Share, such as bold, underline, italics, font color and background color.
- Style class enables adding a custom CSS class to the property.
- Read only sets the property as read-only in Alfresco Share.
- Force display ensures the property is visible in view and edit forms even if the type does have the property applied from its aspect.
- Hidden allows the value of the property to be set, but not visible to end-users in Alfresco Share.
-
Form controls are the type of input
fields end-users will see. They differ depending on the data
type of the property:
- Reorder: To reorder the property on the layout area, hover over the property's top right corner and select the up or down arrows to move it up or down a place.
- Delete: To remove the property from the layout area, hover over the property's top right corner and click the trashcan. The property will reappear in the Properties list on the Layout Designer.
-
Edit: Click anywhere on the property to edit it.
The attributes that can be managed are:
-
Click Save to save the changes or
Clear to remove everything from the layout area. To
apply the default layout options, click Apply Default
Layout.
Note: To enable the properties layout design in Alfresco Share, you must activate and apply the relevant content model to file(s) in Alfresco Share.