If a user creates an automation button what creates a new entity, this results in a confirmation, but the result is not visible or clickable. I would like to try these solutions:
(1) create a script that notifies the user of the created entity, and shows a direct link to the created entity.
(2) create a script that redirects the user to the newly created entity display.
(3) create a script that opens the newly created entity display in a new panel.
Fibery Automations and scripts unfortunately have no ability to control the UI - the most they can do is display a āresult messageā (and Button scripts can also send info to the browserās debug console). Automations can also create Notifications, but that is not quite the same.
I doubt a script could create a clickable link in a Button result message, since these messages do not support any HTML or formatting.
Iām not sure if this is still relevant to anyone, but it turns out you can create user notifications using Graphql mutations and execute them using fibery.graphql() in scripts and automations. Iāve been able to generate user notifications with both automations and buttons. There are some good examples here: . | Fibery.
Given that you provide an entity to send the notification about, I figured that you could filter for the new entity that was created and send confirmation as a notification. When you click on the notification it opens the entity in question. I realize itās not a direct link in the traditional sense but it does provide the user with easy access to the new entity.
This would be okay if Fibery implements Field Visibility Rules as part of their future entity view improvements. Then such field could appear and disappear when it contains content.