Questions tagged [rules-engine]

For questions related to Sitecore's Rules Engine feature, which facilitates the processing of conditions and actions in Sitecore for personalization and other features, both native and custom

Filter by
Sorted by
Tagged with
6
votes
2answers
614 views

List segmentation on custom rule YourLinqIsTooStrongException error

I've made a custom rule that enables the user to get a date field from any facet and see if that date's passed. I've made two variants, one for personalization and one for list segmentation/Marketing ...
17
votes
2answers
991 views

Can I change the order of components in placeholder based on personalization?

I've seen a few examples on how you can use personalization in Sitecore to personalize the way a component (rendering / sub-layout) is displayed on your webpage. However, most of these guides explain ...
6
votes
1answer
2k views

WhenCondition<T> Rule custom code not firing

I need an assist. I'm running into a situation where code that was written for a custom rule is not firing. I have put breakpoints in Visual Studio and the breakpoints are never hit. My solution is ...
6
votes
1answer
497 views

How to group multiple rules to one rule condition?

We are looking on how to consolidate a list of rules under a category or group condition. So, instead of content editor selecting multiple rules on a component, he/she selects something like "where ...
6
votes
1answer
366 views

Contact Custom facet not appearing in ListManager

I've setup and configured a custom facet on the contact but we now want to be able to segment on the fields it contains in the ListManager but they aren't available there. What do I need to do to see ...
13
votes
2answers
566 views

How to invoke other actions in Conditional Renderings?

Another question here (Can I change the order of components in placeholder based on personalization?) got me thinking - maybe there was a way to actually dynamically assign a placeholder to a ...
10
votes
1answer
451 views

Automation Engine can't find custom predicate

I have create a custom predicate according to the documentation: https://doc.sitecore.net/developers/xp/segmentation/create-a-custom-predicate.html The rule has been defined in /sitecore/system/...
5
votes
0answers
60 views

WFFM - Rule Set Editor - Active Directory Federated Identity

I am trying to create a rule for a WFFM email address field to populate the field with the logged in users email address. But, I am not sure what rule to use or if any of the rules will work at all ...
4
votes
1answer
1k views

Sitecore validation rule at field level in multi-list value selection range

I came across this multi-list field restrictions to limit range(selection) using regex. I got few references to add basic validations. Both work fine. Ref1: ^({[^}]+}\|?){0,5}$ http://www.benramey....
2
votes
1answer
577 views

Some Sitecore 8 conditions for conditional renderings seem missing in Sitecore 9

I tried to use some of the OOTB conditional rendering rules for personalization I had running in a Sitecore 8 instance, after upgrade/migrate to Sitecore 9 and ran into the fact that some of them no ...
1
vote
1answer
299 views

General Link Dialog “InsertLinkViaTreeDialog” misses InsertLinkRules after Upgrade to 8.2u2

We recently upgraded from Sitecore 8.1u1 to Sitecore 8.2u2 and noticed that the general link field dialog "InsertLinkViaTreeDialog" has a different structure now. We had a custom field that was ...
0
votes
0answers
49 views

Save Item Rule - Inserting item causes recursion

I am using the rule engine to insert a branch template under an item on Item Save. The problem is that each item in the branch subsequently triggers Item Save. Is there a way to prevent the branch ...