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
5
votes
1answer
131 views

Capture Rules Engine Stack Overflows

It is possible within the rules engine to create a scenario where a set of rules cause an infinite loop. Take for example the following rule that has a When Condition to itself: This example is very ...
1
vote
1answer
310 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 ...
5
votes
0answers
61 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 ...
3
votes
1answer
442 views

How do I restrict mime types on files uploaded through a WFFM form in MVC?

I am looking for a way to restrict MIME Types on files uploaded through a WFFM form. What I am really hoping for is a way to control the allowed MIME Types using the rules engine. Even if the solution ...
8
votes
2answers
828 views

Dependency Injection for a Sitecore Rule

I've got a Sitecore Rule, based on WhenCondition<T> where T : RuleContext Is there a way to use dependency injection on a sitecore rule? Currently having to use service locator pattern within ...
6
votes
1answer
898 views

How do I execute an action when a user clicks a link in an EXM email?

I would like to execute an a rule (condition and action) when a user clicks a link in an EXM email. The ability to trigger a goal would also be acceptable. This seems like a simple request, but ...
7
votes
2answers
468 views

Adjust component parameters based on placeholder

I'm trying to add Parameters to a rendering based on the placeholder it's been inserted into. I've been trying to handle this using rules (after reading through this blog post): I created a new ...
7
votes
2answers
351 views

Binary rule for list segmentation

We have custom facets for contacts and these facets are used for segmentation in lists (segmentation rules defined at '/sitecore/system/Settings/Rules/Definitions/Elements/Segment Builder'). ...
10
votes
1answer
324 views

Prepopulate WFFM field with username

I would like to use the rules engine to prepopulate a WFFM form field with the logged in user's username. Unfortunately, I can't seem to get this to work, even though the conditions and actions that I ...
6
votes
1answer
192 views

ClientScript.RegisterForEventValidation in a custom RuleAction class

I managed to have my dependent droplists (WFFM dependent drop lists) populated via a custom WFFM RuleAction by using a lot of JavaScript but now since I add dynamically the values in my second ...
13
votes
2answers
614 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 ...
17
votes
2answers
1k 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 ...

1
2