How to do it...

  1. In your web browser, navigate to https://powerapps.microsoft.com and log in with your PowerApps account credentials.
  2. First, we need to create a connection between PowerApps and our Business Central environment.

On the left-hand menu, click Data | Connections.

If you have already completed the previous Power Platform – using Flow recipe, then you can jump to step 7 if you're using the same account, since any connections that you create are shared between Flow and PowerApps.
  1. At the top of your screen, select New connection:

  1. In the search box, search for business central, and select the Business Central button (not the on-premises one!):

  1. In the dialog, click Create.
  2. When prompted, log in with your PowerApps account information to finalize the creation of the connection.
  3. On the left-hand menu, select Apps:

  1. At the top of your screen, select Create an app | Canvas:

This will open up the PowerApps Studio in a new tab in your web browser.

  1. In the PowerApps Studio tab, select Phone layout under Blank app:

  1. Press Skip on the welcome message.
  2. In the center of the screen, click connect to data.
  1. In the Data tab, select the Business Central connection:

  1. Select the CRONUS company that is in your environment:

The exact name of the CRONUS company in your environment may be different depending on your geographical region.
  1. Place a check mark beside the customers entity:

 

  1. Click Connect.
  2. Close the Data tab.
  1. In the top menu, click the Insert tab, and then select Gallery | Vertical:

  1. Click on the gallery you just inserted, and on the right side, in the gallery Properties, next to Items, select customers as the data source:

 

Note that as soon as you select the data source, the data in the gallery control will be updated to show real data from your Business Central environment.
  1. In the gallery properties, set the Layout property to Title, subtitle, and body.
  1. In the gallery properties, click on the Edit link next to Fields, and set the following values:

Your application should now look similar to this:

  1. At the top of the screen, click on the Insert tab and select Forms | Display:

  1. With the new form control selected, drag and resize it so that it fills the bottom half of the application window:

  1. With the form control selected, in the right-hand menu, select Advanced and set the following properties:

This connects the new form control to the data source we created earlier, and it tells the form to display the same record that is selected in the gallery control. This will let us show more details for the selected record.
  1. With the form control selected, in the right-hand menu, select Properties, and then click Edit fields:

  1. In the Fields tab, click Add field and select the balanceoverdueAmount, and email fields.
  2. Click Add.
  1. Change the Control type of the email field to View email:

  1. Close the Fields tab.
  2. Press F5 to try out your new PowerApps application. Notice that when you select a customer record in the upper half of the screen, the details at the bottom are also updated accordingly:

You can also use the  button at the top of the screen to run your application.

  1. To save your application, select File | Save within the PowerApps Studio tab.

That's it! I know this is an extremely simple example, but with a bit more effort in formatting and perhaps adding some more screens to the application, it would be quite easy to turn this into a solid application.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.188.115.155