How to do it...

  1. Log in to your Office 365 portal and click on the PowerApps icon highlighted as follows:
  1. From the left navigation, click on Apps, followed by + New app in the bottom-left corner, as shown in following screenshot:
  1. In the Create an app in Packt CDS screen, select Blank app | Phone layout.
  2. In PowerApp Studio, click on Data sources | Add data source from the right dialog. Select the Common Data Services model.
  3. Tick the checkbox next to Feedback and click on Connect.
  4. From the insert tab, click on New screen and rename it to Create Feedback by clicking on the name tag in the Content tab. Ensure that the data source is set to Feedback, as shown in following screenshot:
  1. In the new screen, insert a form called Form1 by clicking on Forms | Edit from the Insert tab.
  2. Set the data source on the newly created form to your CDS | Feedback and click on Connect.
  3. From the list of fields, unhide the following fields in order to ensure that they are properly placed on the form:
    • Customer
    • Sentiment
    • FeedbackContent (set the FeedbackContent data card to Edit Multiline Text).
  4. Click on the screen and, from the Insert tab, insert a Cancel icon and a Check icon with the respective actions:
    • ResetForm(Form1);Back()
    • SubmitForm(Form1);Back()

Your screen layout should now look something like this:

  1. Navigate back to your first screen (Screen1).
  2. From the Insert tab, click on Text box. Enter the Feedback text.
  3. From the Insert tab, again, insert a Text gallery Vertical control and maximize it to cover the entire space under the title text.
  4. Select the newly added control, and under Options | Content, click on the datasource icon and select Feedback, as shown here:
  1. Back in the gallery control, ensure that the three displayed fields have the following fields. Order the fields as per the next screenshot:
    • ThisItem.Sentiment
    • ThisItem.CreatedOnDateTime
    • ThisItem.FeedbackContent
  2. From the insert tab, insert a + Add icon, as shown here:
  1. Click on the newly created icon and add the following OnSelect Action:
NewForm(Form1);Navigate('Create Feedback', ScreenTransition.Fade) 
  1. From the File menu, save your app as FeedbackApp.
..................Content has been hidden....................

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