I would like to capture a parameter from a link that my users can share.
The link is created using the Global property of LinkToCurrentPage
The link is sent to another user via the Share action.
E.g. via SMS the other person receives something like:
Please click this link: appname://appname.com/home/?ref=123
On the home page, there is a Page Parameter for a string named ref
An On Page Load action on the home page tries to capture the ref parameter from the link when it is opened by the other user in each of two ways:
1. Setting a state variable to equal that of the ref Page Parameter
2. Outputting the ref Page Parameter in a text field on the home page
However, neither of these ways detect the ref parameter from the link that was opened.
The link does open the app.
What needs to be done in order to share a link and parameter from one users app, then be able to detect and record the value of that parameter in the other users app when they open the link that was shared with them?
Thanks in advance for your kind help.