The Manage Attributes area is used to create, edit, and delete attributes from the system. Depending on the type of attribute there may be additional editing options, such as adding values to a dropdown list.
Click 'Add a new attribute' to start the process of creating a new attribute.
-
Select your attribute ‘Type’. This it will define what the users can enter in this field. It will also generate the options you will then have on the Add Attribute form. You can select from the list of Attribute Type Options. Please note that this can not be changed later.
-
Enter the rest of the attribute’s options. The range of options will depend on the type you have selected. Configuration options include;
-
Label - how the attribute is labelled when viewing or editing items.
-
Auto complete - if this is ticked then users will be offered suggestions when they start typing in this field on the Advanced Search or Edit Asset pages.
- Include in keyword searches - this is ticked by default and means that any values entered into this attribute are searchable using the Quick Search.
- Edit/Show as HTML - Applicable to text areas this checkbox determines whether the specified values for this attribute will be treated and displayed as HTML or not.
- Sanitize HTML - Applicable to text areas. If they are set to be HTML then this option specifies whether unsafe elements like <script> tags should be removed/sanitized from the HTML. If you trust the users uploading and editing assets and would like access to all HTML tags (one common example of this is users wanting to embed YouTube videos in attribute values) then you can disable the Asset Bank HTML sanitization using this checkbox.
-
Mandatory – you can ensure this attribute is completed by selecting this options meaning the user must enter a value to be allowed to continue.
-
Mandatory on Bulk Upload - the attribute must be filled in during a Bulk Upload.
-
Required for completeness - if you are adding metadata to your assets over a period of time you may want to define which attributes must be filled in before the asset is considered 'complete'. Assets which are missing values for such fields will be highlighted to admin users on the search results page (their panel will turn red with a dotted border).
-
Edit help text - add some text in here and a help icon will appear next to the attribute label when you are editing or uploading an asset. Hovering over the icon will display your help text as a tool tip.
-
Search help text - As above except this text is shown in a tooltip next to the attribute on any search pages.
-
Hide from sort - if selected the attribute will not show up as an option in the 'Sort by' dropdown shown on the browse and search results pages.
-
Highlight on view - attributes with this option selected will be highlighted when viewing an Asset Details page.
-
Show on download - the value of this attribute will be shown on the download asset and download lightbox pages (unless it's empty). This can be useful if you want to bring something to the user's attention just before they download an asset. For example, it is commonly used to highlight the value of a 'Usage Rights', 'Credit' attribute.
-
Populate from child data (this option will only appear if you have 'Asset Types' enabled) - if this is true then if a parent and a child Asset Type both include this attribute then the attribute will not be directly editable for an asset of the parent type. Instead, parent assets will have this value populated with a concatenation of the values set for all its child assets.
-
The child Asset Type cannot itself be configured to have children (through relationship types) - if it is then the attribute will not show for the child either.
- This setting is often cached so you may need to reload the application for this change to take effect throughout the system.
-
-
Show on Child This option will only appear if you have 'Asset Types' enabled. When this is enabled then the view asset page for child assets will show the value of this attribute for the asset's parent. Note that the child asset can still have its own value for this attribute, if the attribute is enabled for the child asset type. In this case the parent value and the child value will both be shown on the child attribute value page.
-
Keyword search links on view - attributes with this ticked will be turned into search links when viewing an Asset Details page.
-
Keyword delimiter - this is used to split attribute values into keywords/tokens. Find out more.
-
Value if not visible - value set for a flexible attribute, when a user is adding a new item but does not have the right to see the attribute.
-
Default value - the default value of the flexible attribute - this will be pre-set when a user is uploading a new item. Note: It's possible that default values are not populated during bulk imports. If this is the case, please contact our Customer Support Team.
-
Input validation mask - add a regular expression to validate against when saving values for this attribute (Textfield only). Regular expressions are very powerful string comparators and hence can be quite complicated to write. For further information about regular expression syntax please read the following documentation. Common examples are (\w+)@(\w+\.)(\w+)(\.\w+)* for loose email validation and \d\d\/\d\d\/\d\d\d\d for loose date format validation.
-
OnChangeScript - This enables you to add some javascript code to execute on the onChange event for this field (this only applies when uploading or editing an asset, i.e. when the field is editable). Be careful to only use single quotes in your code as the whole block will be contained within double quotes.
-
Initially visible to - Here you can choose whether the attribute is visible to all users or just logged in users.
-
-
Click Save. Your attribute will appear on the list in the Manage Attributes screen.
To edit and delete attributes
-
To edit an attribute click '[edit]' next to it. You will be taken to Edit Attribute screen, very similar to the Add Attribute screen.
Note: One significant difference is that in the edit screens, you are unable to edit the ‘Attribute Type’. If you need to add a different ‘Attribute Type’ you will need to add a completely new attribute. - Make your changes and click save.
- To delete an attribute click '[x]' next to it.
Comments
0 comments
Article is closed for comments.