Support for Users Studying “Configuring Microsoft Dataverse”
Hi everyone.
This post is to address an issue with the Configuring Microsoft Dataverse course on Pluralsight.
Unfortunately there is an issue with the demo file supplied with this course and it’s causing some users problems as they are unable to import the solution. The demo solution imports the template model driven and canvas apps used throughout the rest of the course. Interestingly it doesn’t effect all users but for those it does effect, it’s a serious problem.
To address this I’ve outlined the steps you can take to create these template apps yourself.
You can find the guide below. If you would like to download a copy then you can find it here on GitHub
This guide is to support users of the Configuring Microsoft Dataverse course on Pluralsight. It shows you the steps you need to take to create the following applications. HR Survey Admin – this will be a model-driven application that you can use to quickly quickly create the surveys taken by the users. HR Survey – this is the canvas app used by users and makes it easy for users to find the surveys and take them. Completing these steps gets you to the same point that the initial demo solution import would. Step 1 – Review Templates and Create App from Data In this exercise, you will review the template and sample apps that are available on the maker portal. You will also create an app using the Create from data templates to see how quickly that can get a basic canvas app started.
Step 1 – Create the model-driven app Task 1 – Create a model-driven app
- Go to <https: data-preserve-html-node="true"//make.powerapps.com> and make sure you are in the correct environment.
- Click on + Create and select Model-driven app from blank. Select Create in the pop-up window.
- Enter HR Survey Admin for Name and then click Done. 4. Click the edit icon next to Site Map. When you create a new app, its important to edit the site map before you can run it - otherwise you will get an error. You need to add at least one item to the navigation.
- Click on the New Area.
- Enter Administration for Title.
- Select the New Group.
- Enter User Admin for Title.
- Select the New Subarea. 10.Select Entity for Type. 11.Select User for Entity. 12.Click Save. 13.Click Publish. 14.Close the sitemap editor by clicking Save and Close. 15.Click Save and then click Publish. After publishing, close the app designer by clicking Save and Close. 16.Select Apps. 17.The HR Survey Admin application you created should be listed. Open the HR Survey Admin application by selecting the row and clicking Play. 18.The Model-Driven application HR Survey Admin will load. 19.Open one of the Users. 20.The User form of the selected record will load. 21.Close the application.
Step 2 – Create the HR Survey canvas App Task 1 – Create a canvas app
- Go to <https: data-preserve-html-node="true"//make.powerapps.com> and make sure you are in the correct environment.
- Select Solutions and open the Wired Brain Coffee Solution.
- Click New, App, Canvas App,.
- Enter HR Survey for Name and Tablet Form Factor for Format.
- Click Create. Click Skip if you see a prompt before the designer loads. 6. The Canvas App Designer will load. Hover over Screen1 and click on the ... button.
- Select Rename.
- Enter Main Screen and press the enter key. Note: It is always a good idea to give components meaningful names. It makes them easier to use as your application gets more complex.
Task 2 – Add Header to the App Part of making a good app is giving it a personality. We are going to keep things simple here and just add a basic header to the app.
- Select the Insert tab at the top of the screen.
- Click Label.
- A label will be added to the screen. Select the label.
- Next to Label1, click on the ... button and click Rename. Rename the label Header Label. Hit Enter on your keyboard.
- Select the Header tab and change the Font Size to 28.
- Click Color and change color to White.
- Change the Fill Color to Blue.
- Click Text Alignment and select Center.
- Locate the Position section on the Properties window. 10.Enter 0 for Y and 0 for X. 11.Locate the Size section. 12.Enter 1365 for Width and 60 for Height. 13.Double click on the Text of the label. 14.Replace Text with HR Survey Admin.
Task 3 – Add User Name to the Header In this task, you are going to leverage the User information to add the name of the current user to the header.
- Select the Main Screen in the left control tree.
- Select the Insert tab from the top menu and click Label.
- Rename the label User Label.
- Make sure text Text property is selected and the function value (in the top menu, where you see fx) is now “Text”.
- Replace “Text” with the following: User().FullName
- The user’s Full Name will now be displayed on the label. Select the Home tab and make sure the text box is selected.
- Change the Font Size to 14.
- Change the Font Color to White.
- Click Align and select Right from the top menu.
- Click Text align from the Properties tab on the right and select Align right.
- Set Position Y to 0.
- Locate Size and set the Height to 60.
- Locate Padding and enter 10 for Right.
- Click File and select Save. 15.Click on the Back button. 16.Click Play. 17.Your application will load. 18.Close the preview. 19.Close the Canvas App Designer. 20.Click Leave.