Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Features/spe script rule #1059

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

vandsh
Copy link
Contributor

@vandsh vandsh commented Oct 22, 2018

Adding a new rule that allows for the execution of a script within the scope of the Rules Engine.
The rule itself will execute script and return true if the result of the script is anything but false or 0.
image

One can add it to the Personalization Rules by adding PowerShell Editor Rules to the /sitecore/system/Settings/Rules/Conditional Renderings/Tags/Default item.

The intention is to allow a Content Editor to create/edit the logic that might have gone into a custom rule previously and required more backend code.

@michaellwest
Copy link
Member

@vandsh were you thinking that this rule would only be used in the CM?

@vandsh
Copy link
Contributor Author

vandsh commented Oct 22, 2018

@michaellwest valid question, most of the functionality I could think of would mostly be CM based actions like Insert Options or complex template checking. It would be nice to have this execute on CD as well but I realize that implies that SPE (or at minimum the necessary pieces for execution) would need to exist on the CD server itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants