This feature enables to generate a hyperlink in both Word and Outlook. The link generator creates short links, and thus we prevent issues with long hyperlinks.
Notice that if the feature is to be used in Outlook, the module must be located in a folder containing mailcontext instead of nocontext in its name, e.g.
Module is located here:
Define the page link. This must be a correct page link to firebase dynamic "page link", e.g. ours is
Define the API key of the account generating dynamic links.
For instance, ours is
AIzaSyCRTaPbvcDmqyLw-pqcPv2JYNOxsLvGSMo. Notice that this should never be shared to clients!
Define which selection type. Use
PromptUiUseTextAsLinkText to prompt the user with an input box for link. You can also use
PreferLinkFromSelection and the command tries to get a valid link from the selection and then sets text on the range. If not valid, the command will prompt the input box.
An example of usage could be that one wants to generate a link for the text "Read more". Select this text and run the command. Now, the hyperlink can be inserted in the input box.
Define whether the generated link should be