Skip to main content
replaced http://sitecore.stackexchange.com/ with https://sitecore.stackexchange.com/
Source Link

Another question here (Can I change the order of components in placeholder based on personalization?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 rendering through personalization.

And a bit of digging - turns out, maybe there is.

Conditional Rendering Actions

So there seem to be baked-in Conditional Rendering actions for everything one could wish for - the problem is the GUI. It basically only allows for us to select the conditions (if date has passed, if xDB is enabled and so on) - and then select "Associated Content" for the rendering. Presumably this is the "Set Data Source" action behind the scenes.

Any ideas as to how we can reach the other actions? or will we just have to wait for an UI update?

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 rendering through personalization.

And a bit of digging - turns out, maybe there is.

Conditional Rendering Actions

So there seem to be baked-in Conditional Rendering actions for everything one could wish for - the problem is the GUI. It basically only allows for us to select the conditions (if date has passed, if xDB is enabled and so on) - and then select "Associated Content" for the rendering. Presumably this is the "Set Data Source" action behind the scenes.

Any ideas as to how we can reach the other actions? or will we just have to wait for an UI update?

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 rendering through personalization.

And a bit of digging - turns out, maybe there is.

Conditional Rendering Actions

So there seem to be baked-in Conditional Rendering actions for everything one could wish for - the problem is the GUI. It basically only allows for us to select the conditions (if date has passed, if xDB is enabled and so on) - and then select "Associated Content" for the rendering. Presumably this is the "Set Data Source" action behind the scenes.

Any ideas as to how we can reach the other actions? or will we just have to wait for an UI update?

Source Link
Mark Cassidy
  • 25.4k
  • 7
  • 59
  • 117

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 rendering through personalization.

And a bit of digging - turns out, maybe there is.

Conditional Rendering Actions

So there seem to be baked-in Conditional Rendering actions for everything one could wish for - the problem is the GUI. It basically only allows for us to select the conditions (if date has passed, if xDB is enabled and so on) - and then select "Associated Content" for the rendering. Presumably this is the "Set Data Source" action behind the scenes.

Any ideas as to how we can reach the other actions? or will we just have to wait for an UI update?