POWER AUTOMATE DESKTOP - DATABASE Pre-Requisites Power Automate Desktop Access to database Under the database action, we have only three sub actions, namely: Open SQL connection Execute SQL statement Close SQL connection Open SQL Connection The first step is to connect to the database. So, we will use the Open SQL connection action and provide a connection string to establish the connection (the connection string in the video is a sample). When the connection is successful, the connection details is stored in a variable during execution. Execute SQL statement This action can be used to execute SQL queries. Here, I am using select query and the result is stored in a variable of type datatable. Close SQL connection It is a best practice to always close the database connection once the required queries are executed. YAY! BONUS!😮 How to execute a stored procedure using database action? Stored Procedure without arguments Stored Procedure with arguments (Comma separated in...
Variables In Canvas Apps
GLOBAL VARIABLES
- Simplest variable to create and use.
- Can be used in any screen for any UI element, within the app.
- Can hold value of any datatype: String, Number, Boolean, Record, Table.
- Created using the function: Set()
CONTEXT VARIABLES
- Similar to Global variable, the context variable can hold value of any datatype: String, Number, Boolean, Record, Table.
- Can be used/referenced within the context of a screen, hence the name.
- UpdateContext() and Navigate() functions can establish the context variable.
- When the app is started, all context variables are blank.
COLLECTIONS
- Collections can hold value of datatype: Table.
- Can be used/referenced anywhere in the whole app.
- Create and set collections can be done using the function: ClearCollect() or Collect()
- It is easy to update a collection
Please leave a comment if you have any questions!
QUICK READS: Variables in Canvas Apps
Comments
Post a Comment