sections in the article
A Custom CVL is a CVL where the values are managed by an extension.
You will still create the CVL in the elastic data model but all the CVL values will be managed by an extension.
Warning: The custom CVL extension name must exactly match the CVL ID in the data model for them to be associated. If the names do not exactly match, then the Custom CVL will not be associated with the CVL in the model.
You can choose this option if the source of the CVL values is elsewhere than in the data model. In a standard inriver implementation, there are for example two predefined Custom CVL extensions for the CVLs Users and GroupTask. The values of these CVL:s are managed by extensions that get the data from the inriver user list and role list respectively.
When you use the CVLs in your applications you see no difference between a normal CVL and a Custom CVL.
Warning: Custom CVLs must never be added to mandatory fields. If the custom CVL extension crashes or gets disabled any mandatory fields relying on the extension will remain empty, and you won't be able to create the entity.
Custom CVL in inriver Control Center
You create the CVL in Control Center and check the property Custom Value List. That tells the system that it should look for a code extension managing the CVL values.
Building a custom CVL extension
For the Custom CVL to work, you must build and install an extension. In this extension, you implement an interface called ICustomValueList. The interface is available in the remoting API.
Read more about how to work with a custom CVL extension in this article.
Comments
0 comments
Please sign in to leave a comment.