- Getting Started
- Before You Begin
- How To
- Notifications
- Using VB Expressions
- Designing your App
- Events and Rules
- Rule: If-Then-Else
- Rule: Open a Page
- Rule: Open URL
- Rule: Close Pop-Over/Bottom Sheet
- 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
- Leveraging RPA in your App
- Leveraging Entities in Your App
- Leveraging Queues in Your App
- Application Lifecycle Management (ALM)
- Basic Troubleshooting Guide
User context references
App Studio offers the possibility to create personalized apps using the runtime user context.
With this feature you can provide a more personal experience for your users. For example, you can have a personal welcome message for every logged in user, or pass in the current user email ID the to the RPA process.
CurrentUser.
. A list of available properties unfolds:
- DisplayName
-
Retrieves the display name of the current user.
- FirstName
- Retrieves the first name of the current user.
- LastName
- Retrieves the last name of the current user.
- Retrieves the email of the current user.
- Groups
- Retrieves the group list the current user is a member of.
The following example shows how to build a welcome message addressed to the logged in user.
-
In Apps Studio, add a Label display control.
-
For the Text property, open the Expression editor by clicking the "tune" icon .
-
Create your welcome message by concatenating the message string and the current user property, as follows:
"Welcome " + CurrentUser.DisplayName
"Welcome " + CurrentUser.DisplayName -
Preview your app. You should be seeing your message, followed by your display name, as you are previewing the app from your account.