AnsweredAssumed Answered

Problems with dynamic URLs

Question asked by michaelp on Jul 17, 2014
Latest reply on Aug 11, 2014 by michaelp
Hello folks,

I am trying to open a jnlp-file with simple href in javascript from Alfresco Share.

location.href = "../res/components/javawebstart/AEF_JNLP.jnlp";

Result on localhost (working):


Result on test environment (not working):


From where does "page/context/" come from?
Can anyone help me to achive a dynamic url and not to hard code it?

Best thanks, MP