This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Linking to touch pages
#1
Is it possible to directly link to a sub-page of the scada-vis/touch/ UI?

We'd like to create a customer home page for iPhone users just as we do for iPad users.  This can be accessed via a direct link to the plan at <ip-address>/scada-vis/#PlanID and then from this page link to to various system generated touch pages.

Is there a direct link or JS way to link to these touch ID pages directly?

Kind Regards
James
Reply
#2
App page ID on the end like this /scada-vis/touch#9
------------------------------
Ctrl+F5
Reply
#3
Hi Daniel

That's working well - many thanks.

Kind of a long shot, but is there any way to redirect the Smartphone Visualization button on the start page at <IPAddress>//home/ to load a specific plan like /scada-vis/#38 instead of the default /scada-vis/touch page.

Kind Regards
James
Reply
#4
I spoke too soon - we've encountered an issue with linking to touch plans from a from scada-vis plans.

On our iPhones we add the URL <ip-address>/scada-vis/#PlanID to the home screen of our device using iOS native 'Add to Home Screen' share action.

When accessing the LogicMachine web app via this link, any external links exits full screen mode and opens in a new tab (with a done button, page URL etc at the top of the iPhone screen and the next and previous arrows at the bottom of the screen which completely destroys the cohesive UI we were trying to create.

Is there a JS workaround to open to force the 'external' links to /scada-vis/touch#9 to open internally in the web app.

I though the following might be a solution, but haven't been able to get this to work when added as a LogicMachine JS

https://gist.github.com/irae/1042167

Any further advice would be much appreciated.

Kind Regards
James
Reply


Forum Jump: