Quantcast
Channel: VMware Communities: Message List
Viewing all articles
Browse latest Browse all 197835

Re: How to get vCO server name (hostname).

$
0
0

Try this :

 

function getVcoHostname() {    var answerUrl = workflow.getAnswerUrl().url;    var re = new RegExp('^(?:f|ht)tp(?:s)?\://([^/]+)', 'im');    return answerUrl.match(re)[1].toString().split(":")[0];}

Viewing all articles
Browse latest Browse all 197835

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>