After you create the evaluater class, you create the editor view that you use to enter the criterion value when editing a user segment in Sitefinity’s CMS backend. This view consists of a dropdown field and client side validation. To create the view:
In the code above, you create a dropdown field that is used to configure the value for the criteria of your custom personalization. The script tag contains logic that is used to persist the value to and from the client side, as well as for input validation. The curly brackets dollar notation is used the retrieve resources from the CustomPersonalizationResources class.
Sign up for our free beginner training. Boost your credentials through advanced courses and certification. Register for Sitefinity training and certification.
To submit feedback, please update your cookie settings and allow the usage of Functional cookies.
Your feedback about this content is important