Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
Get OSvC site name dynamically in OPA JS files — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Get OSvC site name dynamically in OPA JS files

Received Response
14
Views
4
Comments
edited Jun 26, 2018 9:11PM in Intelligent Advisor for Fusion Service 4 comments

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 18A

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!