Start with First PowerApp

In my previous blog post, I have explained about canvas apps and model driven apps. Let us first see how to build a canvas app in PowerApps.

Development for PowerApps can be done either in web PowerApps studio or desktop PowerApps studio. First step is to create the Environment for the development. You can start with the trial version for free.

Login to the Powerapps.microsoft.com

Let us first create the environment to create our app.

To create the environment follow the steps as shown in following screenshots

Click on the setting icon at the right top of the screen and select Admin center.

Then click on the Create New Environment again at the top right corner.

Enter the details about the new environment and create the new environment.

Create EnvironmentCreate Environment1Create Environment2

Once you create the environment, you can select that environment to start the app development. Make sure that you have chosen the right environment and then start with the application development.

We can develop apps based on various backends such as CDS, Excel, OneDrive, Sharepoint etc  Let us build our first app for some specific requirement in Dynamics 365 CE for the  scenario mentioned below:

A product company, has a call center and sends the service mechanics  to repair existing machines or install new machines at the customer site. They are always on the move and while doing assigned jobs if they find that there is additional work to be done, they should be able to create the case or opportunity on their mobile quickly.

As a first step, select Apps from the left menu as shown in below screenshot and click on create an app button.Create New App1

Powerapps studio would provide you options to select the base data on which you want to create an app. Here since we want to create case or  Opportunity in Dynamics 365, select Dynamics 365 as show in below snip.

Create new App2

Studio would guide you to step by step to connect the D365 instance

Create new App3Create New App4

Once you are connected to D365 CE, you have to select the entity on which you would like to do the operations through the PowerApps app.Create New App5Create New App6

Let us select case entity and see what PowerApps does it for you.

Create New App7Create New App8

Just save the app with appropriate name and even you can select icon for the same.Create New App9

PowerApps would build the complete app for you to view the cases, view the  case details and editing particular case or creating a new case as shown below

Create New App8

Let us see all these screens in details one by one

Browser screen : It is a list screen where you can find all the cases, you can search for specific cases, you can sort the order of the cases. All these functionalities are given by PowerApps automatically and you don’t have to do anything to achieve the same.

Now let us see the components of this screen. Major component is BrowserGallery1. This is the gallery control which can be connected to the the database table Case. You can see the property pane at If you look at the properties of the gallery, Data is the most important property of the gallery which connects to the data. With this property you can change the data source if required. Browsescreen1

Browsescreen3

With the layout property, you can change the way your data is displayed, even select the columns which should be displayed in the gallery.

Browsescreen4Browsescreen5

When you see the items property of the gallery, you can see below text

SortByColumns(Search(Cases, TextSearchBox1.Text, “description”), “description”, If(SortDescending1, Descending, Ascending))

This function actually works for the sorting and searching functionality.  I would recommend you to go through the all controls present on the screen and try to understand their properties.

Once you understand these properties, you will be able to play with those based on your requirements. These are very intuitive and can be easily learned

If you click on the “>” next to any item in this gallery , that record would open in edit mode in the new screen.  Just check the action defined to achieve this functionality.

Browsescreen7

Similarly you can see the “+” symbol which would navigate to the new entry page and you can create new case from this screen. Just check the action defined to achieve this functionality.Browsescreen8

Now let us see second screen in this App.

In the second screen, you would understand the usage of data card control of the PowerApps. This screen has DetailForm which consists of various data cards.

The form is bound to the data source and the record which is selected in previous screen.

Detailedform1Detailedform2Detailedform3Detailedform6

The datacard is created for each field and fields can be selected from the layout.

Based on the type of the  field, the type of data card is selected, which can be changed later if required. If you want to do any changes in datacard, you must first unlock it and do the changes.

Detailedform4Detailedform5

Each Datacard consists of a Value and Key which represents the actual data value and field name correspondingly I would recommend you to look at the various properties of these data cards and understand how intuitive it is to use.

I am hoping you must have understood of the basics of PowerApps app development with this post.

Thanks for reading. In case you have  any questions about the PowerApps, please leave in comments and I would get back to you.

If you like  my blog, please hit the like button or share with others

Continue reading “Start with First PowerApp”

PowerApps Case Studies : Its much more than just replacement of Infopath

From Simple spreadshits, timesheets and survey applications there are various use cases which can be built on PowerApps, or  we can say already built and used.  Those are published as PowerApps case studies by Microsoft.

When I started learning PowerApps, I came across the samples of PowerApps only based on SharePoint. Hence the first impression was is it substitute of Infopath. However when I went in depth, raised in various communities, started getting references of PowerApps based on various business applications other than SharePoint as well.

Hence trying to collect various case studies of the PowerApps – published by Microsoft. This would provide a general understanding about PowerApps usage in real scenarios.

  • Manage Car bidding process,  Car auctions
  • inspections reporting App – Heritage sites / ATMs etc
  • Data Collection during large events
  • Business process automation in transportation business
  • Field worker daily activity aggregation and reporting app
  • Medical representatives daily sales management, Reporting, tracking and coaching

Let us go through few scenarios where PowerApps can be applicable.

Scenario#1: Banks have to manage their ATMs spread across the cities/states etc. These ATMs are needed to be monitored and checked on regular basis.

Whenever ATMs get vandalized or damaged, it should be reported immediately and fixed. As a process, Banks schedule inspection audits for all ATMs. PowerApps solution help the inpsctors with a list of ATMs, they can find any specific ATM or find the ATMs near their location. Once located, they can start inspecting it.

During inspection, PowerApps solution provides a standard checklist mentioning various types of inspections such as

  • inspect from outside
  • inspect the signage
  • inspect from inside

Inspectors can fill the checklist and log the issues in case any, found during the inspections. User can even take a picture about the actual issue and mention the notes about the same.

Above functionality is for field inspectors, this data can be saved in SharePoint or any other business application as per the  current application landscape. This data is further analyzed and  Based on the issue types and location, the issue is assigned to the service agent for resolution.

The service agent can see the issues in his app assigned to him,  can locate the ATM , fix the issue, can add notes and close the issue.

If we need any analysis about the issues , we can even use PowerBI and show the analysis on PowerApps. This analysis can help the bank in various ways such as to identify the areas where vandalism is more and take precautionary measures

Scenario#2: Banks have many visitors everyday, their appointments are to be managed.

Everyday bank has customers visiting for various services. Bankers/ Customer care representatives are to be assigned to these customers to address their requirements. This can be accomplished by PowerApps.  PowerApps can be integrated to Dynamics CRM where customer information is stored and as someone visits the bank,  customer case representative can see complete profile of the visitor. List of Bankers would be displayed with available slots and area of specialization.

Based on this information, the appropriate banker can be assigned to the  visitor and both would be informed about the appointment schedule and basic details. Visitor would receive SMS as well about the timing and reminder. Intimation would go to the banker as well. This would help banks to achieve higher  customer satisfaction when they visit to bank.

Various case studies listed above, show that PowerApps can be used in the areas where users are mobile only, moving, the data is to be collected from these users, the data is to be analyzed and maintained in some of the business application such as SharePoint or CRM etc. Again it may not be only PowerApps but it would be combination of PowerApps, PowerBI and Flow.

Microsoft is promoting PowerApps in a big way. For CRM developers, XRM might go away and PowerApps and CDS would be the platform for any customization or any custom verticals to be developed. In case you do not use any of the CRM OOB modules/entities, we might exclude CRM platform and directly go to the Powerapps and CDS platform.

With this post I hope , you got a clear understanding on the PowerApps use cases. Now we can take technical deep dive in the same in my further posts.

Happy Learning!!

Please click like button if you like my post and mention comments in case you want me to write on something specific or any changes required.

Continue reading “PowerApps Case Studies : Its much more than just replacement of Infopath”