Namespace: Lisa.Modules.Documents.Domain.DocumentHandlers
The IManuallyTriggeredHandler interface allows you to add custom handlers to models, which can be manually triggered/activated by users within the Document system admin. If there are manually triggered handlers registered, Veva will show a new menu in the document system admin where there will be a menu item for each handler.
The ActionType can be "Action" or "OpenUrl". For handlers which have a action type of "OpenUrl", the Run() method needs to return that URL as a string. Once activated, the URL returned from the Run() method will simply be opened in a new window. Handlers which have a action type of "Action" will be executed async, i.e Veva will call the Run() method asynchronously, so those handlers are meant to perform some server side-processing.
If you want the user to confirm the action before it's executed, then make sure to let ShowConfirmation return true. If your handler is of the type "Action", it can have public properties marked with the [EditorBrowsable] attribute and then Veva will present those properties to the user for filling out. That way you can add settings to your handler which the user can configure before running it.