Apps
latest
false
Banner background image
LEGACY
Legacy Apps User Guide
Last updated Jan 18, 2024

Set External Context

Introduction

You can set up an external context when launching your application. This is especially helpful when starting an app from somewhere else, for example a robotic process automation (RPA) process.

For example, you can set the values for two variables when the application loads. To do this, follow the procedure below.

Procedure

  1. Open your already existing application or start a new one.
  2. Create two new app variables, FirstName and LastName.
  3. Add two new Textbox controls to your app and bind the variables created in step 2 to each textbox. Bind the FirstName variable to the first textbox, and the LastName variable to the second textbox.
  4. Publish the app to the desired Orchestrator tenant.
  5. Deploy the app in the desired Orchestrator folder. Once the app is deployed, its production URL is generated.

  6. To copy the production URL, go to the More actions menu at the end of the app row and select Copy URL.


  7. Paste the URL in your browser and append the variables configured in step 2, making sure to use the same case.

    For example, append /?FirstName=John&LastName=Doe, then press Enter. The app should display John for the "FirstName" textbox, and Doe for the "LastName" respectively.
  • Introduction
  • Procedure

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.