URL from Embedded iFrame

Forum to discuss the new web client version of Servoy.

URL from Embedded iFrame

Postby Gordon McLean » Tue Dec 05, 2017 1:24 pm

Hi
Are any of you aware of a way to get the URL of a parent site that is loading a servoy NG solution into an iFrame ?

Essentially I have a multi tenant solution that I need to switch based on the client loading it. In order to avoid using a Combo Box where the user selects the company concerned I want to extract this from the URL they are using to access the site ie clickdigital.com or servoy.com is this possible ?

effectively I want document.URL that would be triggered using javascript in a native html page.

Many thanks
Gordon
Gordon McLean
Clickdigital.com
Gordon McLean
 
Posts: 205
Joined: Wed Aug 03, 2005 12:24 pm
Location: UK

Return to Servoy NGClient

Who is online

Users browsing this forum: No registered users and 1 guest

cron