4

I am facing a weird issue. Our custom personalization rules are not appearing in the Rule Set Editor window. These are not new rules and they used to appear all the time. All the already applied rules are still there. I even tried to create new rules but same issue, it also does not appear.

I am using Sitecore 9 update 2

All the rules are created using the method described in this link How to Customize Personalization Rules in Sitecore 8

2
  • 2
    Just for clarity on the question, it would be good to specify which version of Sitecore you are using. In most cases, it probably doesn't matter, but in some versions the items are in different locations. Commented Nov 16, 2018 at 14:48
  • I am using Sitecore 9 update 2 @JayS
    – Foysal
    Commented Nov 19, 2018 at 7:48

2 Answers 2

8

Personalization rules are under attached to the rule "Conditional Renderings". Here is the path to follow looking for your missing rule.

Tags

A tag is the glue between rules and elements. You will have a custom tag under the item, /sitecore/system/Settings/Rules/Definitions/Tags/. Lets say that are called Membership Status. i.e /sitecore/system/Settings/Rules/Definitions/Tags/Membership Status

Element

Under the item path /sitecore/system/Settings/Rules/Definitions/Elements you should have a Element where you custom rules exist. You will create a new element called Membership Status. In that Element there is a Tags item and a child called Default. Path would be /sitecore/system/Settings/Rules/Definitions/Elements/Membership Status/Tags/Default. In the Tag multilist, in the custom tag, you select the Tag you created in step 1 above.

Condition Renderings

Finally you will have a custom Tag under the item /sitecore/system/Settings/Rules/Conditional Renderings/Tags. I usually name the tag custom. In the multilist, in the custom tag, you select the Tag you created in step 1 above.

Your rules in your Element Membership Status and tied to the rule Condition Renderings via the Tag Membership Status.

1
  • Damn! I forgot the conditional /sitecore/system/Settings/Rules/Conditional Renderings/Tags path. Thanks!
    – Foysal
    Commented Nov 19, 2018 at 7:56
1

Also make sure you've not accidently disabled Xdb locally by setting <setting name="Xdb.Enabled">false</setting> like I did and forgot about it as this didn't show up my custom rules for me.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.