Exercise - Create a model-driven app
Scenario
In the exercise from the previous module of this learning path, you created the Prospects table in Microsoft Dataverse and imported the existing leads, now in this exercise you will use that data to create a model-driven app. If you do not have the Prospects table then refer to the previous exercise This app will allow the sales team to enter and edit leads on the go and keep the managers up to date on the current leads and forecasted revenue.
Create the model-driven app for the prospects table
After you have created the Prospects table from the previous exercise. You will need the Prospects table from the previous exercise to complete this exercise.
- Sign in to Power Apps by using your organizational account.
- Select the environment you want, or go to the Power Apps admin center to create a new one.
- On the Home page, select the Model-driven app from blank.
- Select Create.
- Enter the following and Select done.
- Name: Prospect Entry
- Select the Open the Site Map Designer pencil icon to open the site map designer.
- Select New Subarea.
- On the right, for Title enter Prospects Area.
- Click the drop down for select a type, then choose Entity.
- For Entity, select Prospects.
- Select New Group.
- On the right, for Title enter Prospects Group.
- Click Save.
- Click Publish.
Creating a chart
- Select Charts.
- Select Create New.
- For the Chart Name, enter Forecasted Revenue by Stage.
- For Legend Entries (Series), check the box, and select the Forecasted Revenue column.
- For Horizontal (Category) Axis Labels, select the Stage column.
- Select Save and Close.
- Back on the App Designer, select the checkbox next to Forecasted Revenue by Stage.
- Select Save.
- Select Publish.
Creating the form
You can attempt to create a new form in the App Designer but if you run into any issues, you can follow the steps below to create a new main form.
- Go to the Power Apps Home Page, and on the left, Select Data.
- Select Tables.
- Locate and select the Prospects table.
- Select Forms.
- Select the drop-down arrow next to Add form, and then select Main Form from the drop down. A new window will open.
- Drag the Stage column from the right and place it below the Owner column in the center.
- Drag the Contract Amount column and place it below the Stage column.
- Drag the Probability column and place it below the Contract Amount column.
- Drag the Forecasted Revenue column and place it below the Probability column.
- Now select Forecasted Revenue and then select Change Properties on the ribbon.
- Select the checkbox for Read-only column.
- Select Save.
- Select Publish.
- Close the window.
- Select Done.
Perlukan bantuan? Lihat panduan penyelesaian masalah kami atau berikan maklum balas khusus dengan melaporkan isu.