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 access application-level variables inside transform.js in VBCS?

Summary:

Unable to access app-level variables in transform.js to dynamically set request headers for all REST calls.

Content (please ensure you mask any confidential information):

I am trying to access an application-level variable inside transform.js in VBCS, but I could not find a supported or documented way to do this.

Based on a user selection in the web application, which sets an app-level variable, I need to dynamically pass its value as a HTTP request header in each and every REST call to the backend. This should happen for both dynamic calls made by SDP's and REST calls in action chains.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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