apps
latest
false
- Getting Started
- Demo apps
- How To
- Notifications
- Using VB Expressions
- Designing your App
- Designing your app with Autopilot
- Events and Rules
- Rule: If-Then-Else
- Rule: Open a Page
- Rule: Open URL
- Rule: Close Pop-Over/Bottom Sheet
- Rule: Log Message
- Rule: Show Message
- Rule: Show/Hide Spinner
- Rule: Set Value
- Rule: Start Process
- Rule: Reset Values
- Rule: Upload File to Storage Bucket
- Rule: Download File From Storage Bucket
- Rule: Create Entity Record
- Rule: Update Entity Record
- Rule: Delete Entity Record
- Rule: Add to Queue
- Rule: Trigger workflow
- Rule: Submit Action
- Leveraging RPA in your App
- Leveraging Entities in Your App
- Leveraging Queues in Your App
- Leveraging Media in your app
- Leveraging Actions in your app
- Leveraging Connections in your apps
- Apps in Studio Web
- Application Lifecycle Management (ALM)
- UiPath First-Party Apps
- Basic Troubleshooting Guide
important :
For documentation on app projects in Studio Web, refer to the App Projects chapter in the Studio Web documentation: https://docs.uipath.com/studio-web/automation-cloud/latest/user-guide/apps-in-studio-web.
Apps user guide
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.
Demo app - try it yourself
To try setting the external content yourself, use the demo app or follow the procedure.
Demo app - instructions to use
- Run the demo app. All the expressions using the
App.QueryParamfunction should display their default values. - To reset expressions to their default values, click the Next page button.
- Copy the following syntax and append it in the app URL after the
el=vbpart:&intv=3200&guidv="81a130d2-502f-4cf1-a376-63edeb000e9f"&sv=queryparam&bv=true&dv=1000000.222&datetimev="2/1/2022 11:00:00 AM"&datetimeoffv="4/2/2007 7:23:57 PM"&listv={"data":["apps","engineering","team"]}&file={"Name":"image","FileSize":25}&intv=3200&guidv="81a130d2-502f-4cf1-a376-63edeb000e9f"&sv=queryparam&bv=true&dv=1000000.222&datetimev="2/1/2022 11:00:00 AM"&datetimeoffv="4/2/2007 7:23:57 PM"&listv={"data":["apps","engineering","team"]}&file={"Name":"image","FileSize":25} - To display an image in the document viewer, add
URL="https://my-public-image-URL"in thefileparameter. For example:file={"Name":"image","FileSize":25, URL="https://my-public-image-URL"}file={"Name":"image","FileSize":25, URL="https://my-public-image-URL"} - Press Enter and watch the values being updated.
Procedure
Note:
To reference the external context using VB expressions, use the App.QueryParam() function.
Query parameters are case sensitive For example, intv and INTV are treated differently.
- Add a Textbox control.
- For the Text property, open the Expression editor.
- Bind the query parameter function to the Text property by using the
App.QueryParam()function:App.QueryParam(Of Integer)("intv", 100).ToStringApp.QueryParam(Of Integer)("intv", 100).ToStringImportant:Inside the
App.QueryParam()brackets, specify the data type of the value you are passing in the URL. For example, if the value is an integer, you need to specifyApp.QueyParam(Of Integer). - Publish the app. At the initial runtime, you should see the default value specified using the
App.QueyParam()function, which is100. - Add query parameters after the
el=vbpart in the runtime URL by using the&character, then press Enter. For example,el=vb&intv=250.
The textbox should display 250.