Widget that can execute other widgets?

I am wondering if there is a way (even via a plugin) to have one widget execute other widgets.  So within a widget I could do something like this:

$my_custom_extension.ExecuteWidget($fragmentId)

Parents Reply Children
  • Running an automation from a widget doesn't prevent that. The only limitation is that the response from the automation is a string (so an interactive object cannot be returned) though that would be the same as rendering a widget from a widget. It's the same scripting APIs, just with fewer required expectations (automations can't generally assume that there is contextual HTTP request data).