(RDMLX) Get the LR Profile Server Name in OFFLINE Javascript
Posted: Wed Aug 24, 2016 8:23 pm
Hi all.
I'm building an offline form, which when operating with a network connection will attempt to display a file (could be a PDF, HTML, image, etc) in a WebView (the file is stored on the web server). It's the same web server that LongRange uses when we refresh, and sync up and down data. So... is there a way for me to grab the "Server Name" and "Use SSL" settings from the local LR profile from some offline javascript? I could then assemble the target URL without having to hardcode the domain, or explicitly download it...
I've had a look through the doco / forum posts and can't see anything obvious.
If there is a way, any info would be most welcome.
Cheers for now.
Marcus.
I'm building an offline form, which when operating with a network connection will attempt to display a file (could be a PDF, HTML, image, etc) in a WebView (the file is stored on the web server). It's the same web server that LongRange uses when we refresh, and sync up and down data. So... is there a way for me to grab the "Server Name" and "Use SSL" settings from the local LR profile from some offline javascript? I could then assemble the target URL without having to hardcode the domain, or explicitly download it...
I've had a look through the doco / forum posts and can't see anything obvious.
If there is a way, any info would be most welcome.
Cheers for now.
Marcus.