- Release notes
- Getting started
- For administrators
- Designing automations
- Creating an automation from an idea
- Creating a project
- How to start an automation
- Managing project files and folders
- Connecting automations to your accounts
- Configuring activities
- Managing the activities in a project
- Passing values between activities
- Iterating through items
- Managing the data in a project
- Configuring a project to use your data
- Using file and folder resources
- Running and testing your projects
- Managing automations
- App projects
- Apps in Studio Web
- Set an external context using query parameters
- Use arrays to populate Dropdown, Multiselect dropdown, and Radio Button controls
- Use tabular controls with Data Service entities in app projects
- App activities

Studio Web User Guide
Set an external context using query parameters
You can set an external context to your app. This is especially helpful when starting the app from within a robotic process automation (RPA) process, or if you want your app to have a particular behavior only in a certain context. You can set the external context in two ways: when debugging your app or after publishing your app.
If you want to test how your app works with an external context, you can do this while debugging the app.
-
Enable query parameters in your app:
-
Open a new or existing app.
-
In the Project Explorer, select your app.
-
In the Properties panel, select the Enable query parameters option.
-
-
Configure a control to reference your query parameter:
-
Select the Toolbox menu.
-
In the Display section, select Label and drag it into your app. The Properties panel opens.
-
In the Text field, select the Open resources for Text button.
-
Select Expression editor.
-
Add
App.QueryParam("name")
, then select Save.
-
-
Debug your app and specify a query parameter:
-
Select Test on cloud or Test step-by-step to begin debugging your app. The Enter query parameter window opens.
-
In the String query parameter field, add a string, such as this placeholder:
name=john
-
name
.
Once you deployed the app, you can set a query parameter at the end of the URL of the deployed app.
&uts=true
part at the end of the URL, with an additional &
symbol, as in the following example: &uts=true&name=john
. The behavior is the same regardless of how you add the query parameter.