Hello there!
I am in the process of migrating all my workflows from MSOffice to OnlyOffice and I recorded a Macro to figure out how hyperlinks are being followed and I noticed that the current Api does not have anything to follow hyperlink.
As you would expect, I tried vanilla js window.open method and it did not register at all.
My use cases are these:
-
I have a custom button that creates a local csv file, copies that into an import facility in some other website which is opened in a new tab in my browser. The entire thing is being handles by a single button click.
-
I have a workflow that creates whatsapp protocol
whatsapp://send?on the fly to generate a dynamic message.
Suggestion
Implement some method which passes the hyperlink event to the OS to handle.
I’m not suggesting adding a follow method to ApiHyperlink since that would require the object to be already in the file. I’m suggesting something equivalent to window.open where the user can pass any value.