Module 4
Module 4
Canvas Apps
There are three ways to create a canvas app.
1. You can start from blank.
2. You can start from a data source, set up your data connections
first and then think about the actual interface.
3. Or you could start from a template.
You can design for landscape or portrait orientation
When you select a component on this page, you can adjust the
properties in the right pane like color, appearance, text, etc.
On the left pane we have a list of all the screens and the
components in them.
You can also select a control and modify its properties.
We take elements from the right and add to the left to create an app.
Licensing
Licensing is an issue with Power Apps.
If you are a Microsoft 365 subscriber, then that product comes with
the Power Apps and Power Automate licenses that you would need
to create canvas apps using standard connectors. If you have a
need to create a model-driven app and use the Microsoft Dataverse
or to use premium connectors, you have to have an additional
Power Apps license, at an additional cost.
Dynamics 365 is wholly based on model-driven apps and the
Microsoft Dataverse. So when you subscribe to that product, you
have the licenses needed to create model driven apps and use
premium connectors.
For users that subscribe to neither of those products, Microsoft 365
or Dynamics 365, you can purchase Power Apps licenses on a
standalone basis in two forms, one called per user per app, and the
other is just per app.
Formulas
When you create a Power Apps app with data fields in it, it's possible to
operate on the data in those fields using formulas much in the way that
you would use formulas to operate on the data in cells in an Excel
spreadsheet.
Some Formulas:
1. Value – The value function converts the text of these fields into a
number that can be operated on. So it's no longer just text, it's
now an actual value, a number.
2. If – Once a criteria is met, an action will take place, otherwise a
different one will take place.
It is also possible to configure controls using formulas. For example,
you can add the date picker control. In the left of the function bar
we have a dropdown list of the properties of this selected control.
So if we're looking at the default date property in the function field
is to day. That's a formula value of today with parentheses, and that
means it shows today's date. You could modify that function to
display any date you want in that field.
Now, another thing we could do if we select in the dropdown list
here, if I select the format property, then we're going to see a
default value of date time format dot short date. You can select
different types like short data with timestamp, long data format, etc.
Method 3:
A template is a pre-designed app with screens and other elements in it,
and it may have sample data included with it as well. But the idea would
be that you would create an app from the template, plug in your own data
source and use that data to populate the screens that already exist in the
template.
Other things:
Unlike power BI, the data in power apps is not one directional and
can go back and forth. This means that a user can edit the data in
the excel sheet using one of the screens of the power app. This can
be done to any data source and the permissions you have for that
data source.
The customer journey is the experience that a consumer undergoes
when working with a company or organization, including all of its
interactions with salespeople, customer service reps, tech support
personnel, and others. Power Apps can enhance the customer's
journey by providing company representatives with the information
they need to satisfy the needs of the customer.
It's not so much a tool for end users, but it's a tool for
representatives of the company or organization providing them with
up to the minute data on their products or anything else they need
to handle.
It's also possible to connect to multiple data sources. When using a
connector to access a resource, it's possible to access multiple
tables or other elements from the same connection.
And once you've created an app like the sample app that was
created automatically for us, that's created from a single table, but
the developer can add other tables, other data sources, anything
they want to modify the existence of the sample app.
User Interface: