Skip to Content
author's profile photo Former Member
Former Member

WCMS - provide or restrict values for an attribute

Hello Experts,

your help is greatly appreciated!

I have added a new attribute to the ContentPage type. The attribute is of a self defined, custom type which has several entries out of which only a subset should be selectable for a content page in the WCMS cockpit.

Say the attribute has the instances A, B and C. I want to only make A and C available and exclude B from the list of available options. Out of the box, the WCMS will display a list to the user that contains all entries A, B and C.

How does the WCMS cockpit determine the list of available values? Is there a value provider bean that I can override?

Keep in mind that restricting the editor to a certain type will not work as all values are of the same custom type. Also having a validator that performs a check on saving is not a desired solution. Instead, I want to restrict the values that are presented to the user in the first place so he/she has no possibility to select an illegal value ever.

Best Regards and thank you for your help, Wolfgang

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.