sections in the article
What is a CVL?
A CVL stands for Controlled Vocabulary List. It is used to present the user with a list of values to choose from. It is defined in the inriver Control Center. Two examples of CVL:
This CVL has many values to choose from. You can scroll to see all the listed values or search for a value in the list.
This CVL contains fewer values to choose from. They are all are visible at a glance.
How to create the CVL
- In inriver Control Center, go to Model > CVL.
- Click on the button Add CVL. A new row in the table is created.
- Write the ID of the CVL in the Id column. This is typically a short descriptive text, please note that it must be unique.
- Select the data type in the Data Type column. Select String if you need the values for one language only. Select LocaleString if you need the values to be in several different languages.
- Does the CVL have a Parent list?
- If no, select the top blank space in the drop-down column in the Parent Id column.
- If yes, select the name in the drop-down column in the Parent Id column.
- Is the CVL a Custom CVL?
- If no, click twice in the Custom Value List column, leaving the check box blank.
- If yes, click once in the Custom Value list column, leaving a tick in the box.
- Should the CVL be activated immediately.
- If yes, click once in the Activated column, leaving a tick in the box.
- If no, click twice in the Activated column, leaving the check box blank. If the Activated check box isn't ticked, this value will not be included in the list when used in the web portal.
For example, the row for your CVL could look like this:
- Click Save to save the CVL list.
Note: Whether a CVL is shown as a drop-down list or as radio buttons is decided by the value you set in the server setting "MAX_NUMBER_OF_INLINE_CVL_VALUES". This setting is general and applies for all CVLs in the system.
Further reading
Glossary article on CVL
Adding values to a CVL (one language)
Comments
0 comments
Please sign in to leave a comment.