Managing URL variables

URL variables can be used to accept inbound variable values from other applications into your App Builder app. These variable values are passed by means of specially formatted URLs from the source application or web service.

To be able to use a URL variable, first create the variable in your App Builder project. Once it has been created, you can use it as needed on components. You can also test the variable to verify that it behaves as expected.

For the URL variable to actually perform as designed, you need another app that can pass variable values to your App Builder app as part of the URL. For the URL to work correctly for these inbound variables, use this syntax:

http(s)://serverNameAndPath:2443/WSWebClient/PlainForm.aspx?page=FormOnly&notitle=1&Form=AppBuilder(SETVARVALUES(URLvariableName=URLvariableValue))

where:

  • serverNameAndPath is the root URL (server and domain).
  • URLvariableName is the name of the URL variable as it appears in your app.
  • URLvariableValue is the value to be used by the URL variable.

Note that, for this to work, you must include the Mongoose SETVARVARLUES keyword as a parameter in the URL.