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

How to get OPA Hostname at runtime within Visual Builder OIC GEN3

Summary:

We have OIC GEN3 with Visual Builder and Process.

I would like to get OPA hostname within Visual Builder Javascript at runtime dynamically.

In GEN2 we used to get it with following code:

let pcsUrl= https://" + window.location.hostname"+/process/api/v1/tasks/

How can we get the same output in OIC GEN3.


Content (please ensure you mask any confidential information):


Version (include the version you are using, if applicable):

Version:25.04.1



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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