Sitecore 9.2
I'm trying to create a rule and execute a script but I can't execute my code from the Script reference.
My objective is to show Form B instead of Form A when the script returns true.
Here's my rule:
Here's the content that I want to show when the condition is true:
Here's my script (I added the namespace and assembly)
And here's the code:
My instance and the project are already deployed, so what I'm doing wrong?
WhenCondition
, which is also the direction your code is taking. Have a look here: sitecore.stackexchange.com/questions/5168/…