AnsweredAssumed Answered

Extending Create-site.js

Question asked by mduduzi on Jan 24, 2014
Latest reply on Jan 27, 2014 by mduduzi
Hi,

We have a requirement to redirect to a webscript on successful site creation which we have done and is working. The problem is   the url calling the webscript is machine/server dependent

    eg document.location.href = http://<server>:<port>/alfresco/service/<my webscript>

What we want is something like

    document.location.href = Alfresco.constants.<something> + "/service/<my webscript>" where
           Alfresco.constants.<something> returns  http://<server>:<port>/alfresco

I am not sure if I am making sense.

Kind regards

Outcomes