Expand my Community achievements bar.

Retrieve baseURL

Avatar

Level 1

Hi,

we are in the process of moving into a new infratructure and that means that we have users in two networks and they are using two different adresses to reach the same server i.e www.forms.se and www.forms2.se. We are calling forms from inside a base form by using gotoURL (...gotoURL("http://www.forms.se/staticforms/123.pdf")

My challenge is that I need to be able to retrieve the baseURL and concat that with adress to the form so both this adresses can be used.I have tried to use the doc.baseURL but I don´t get anything back. I have tried to use this code -

var oDoc = event.target;

var urlString = oDoc.baseURL;

Any ideas?

regards

Tommy

0 Replies