Get OSvC site name dynamically in OPA JS files
Content
Hi All,
I am calling controller file from OPA Javascript files for API calls. But in JS files I have given complete URL of the controller file, Now Im looking for something dynamically get the "sitename" for example , <site-name>/cc/<controller-class-name>/<function-name>
Is there any function which retireves the sitename dynamically in OPA?
Thanks,
Sasi
Version
OPA 18A0