Hi,
I would like to activating LongRange from a URL by using e-mail. I will write the URL activating LongRange in the body of the email and the user will open the link and activates LongRange.
I have refered to the following manual.
https://www.longrangemobile.com/docs/la ... omaurl.htm
URL example: longrange://performaction/?param,1=employee¶m,2=DEMOUSR423
But, on the device's mailer(Gmail), "longrange://" is not recognized as a hyperlink. Therefore, we can not open the link. Devices for testing are iphone and android phone.
Does anyone use the URL to activate LongRange successfully using e-mail? Is it possible to recognize the URL in the mail body as a hyperlink?
In that case, could you tell me the specific method?
Thank you.
Best regards,
Rieko Saitoh
LANSA japan
[RDMLX]Activating LongRange from a URL
-
tsupartono
- Posts: 289
- Joined: Wed Apr 18, 2012 10:21 am
Re: [RDMLX]Activating LongRange from a URL
You can use an HTML page that redirects to the longrange:// URL.
With this method, you need to:
Gmail would recognise it as a link since it's using standard http scheme.
Have a look at the attached HTML (contained in the ZIP file).
To test it, put that HTML on your server (e.g. demo.lansa.com)
The HTML expects one parameter (employee number) - specify the parameter in the anchor part of the URL (using the # sign).
To open employee 3 in LongRange via the HTML(assuming the server name is demo.lansa.com), this is the URL:
http://demo.lansa.com/openlr.html#3
_
With this method, you need to:
- Have access to a server where you can put the HTML page.
- Your LR app can't be offline as it needs to access the HTML page on the server.
Gmail would recognise it as a link since it's using standard http scheme.
Have a look at the attached HTML (contained in the ZIP file).
To test it, put that HTML on your server (e.g. demo.lansa.com)
The HTML expects one parameter (employee number) - specify the parameter in the anchor part of the URL (using the # sign).
To open employee 3 in LongRange via the HTML(assuming the server name is demo.lansa.com), this is the URL:
http://demo.lansa.com/openlr.html#3
_