2024-05-01 03:12 PM - last edited on 2024-09-17 01:10 PM by Doreena Deng
Hi all,
I'm looking into executing commands automatically when the user attempts to publish a drawing. From looking at the API docs it seems like the only thing we have access to is inserting a new format into the already-existing publisher dialog (shown in the FormatRegisterTest example).
Is it possible to react and run code automatically when the user asks to publish?
Thanks
2024-05-09 01:32 PM
Hi Rob,
Unfortunately, there is no way to get notified when this event occurs. As you mentioned, the only thing you can do is inserting a new format and react when the publishing of the inserted format is called.
Best Regards,
Ákos
2024-05-09 01:49 PM
Hi Ákos,
Thanks for the response. That's unfortunate, hopefully the API will allow for a more broad spectrum of reactions to user actions soon.
Thanks