Enhancing the overall UI/UX
Now that we have explored examples of functionality, we want to put these to use in a sample use case. In this example, we have a simple Power Apps app that tracks the list of preferred vendors for our catering company. For this example, we want to have the following functionality:
- Display an Admin button, but only for individuals who are considered administrators. This button will take the user to an admin screen, which we will cover shortly.
- When new vendors are added, use conditional formatting to ensure that the email address for the contact person is in a valid format.
- Show a URL that, when a user clicks on it, takes the user directly to the app and allows the user to edit a specific record.
Figure 8.16 provides a sample view of the current app.
Figure 8.16 – Layout of our sample app
Currently, this app consists of a button to allow new records to be added along with a gallery on the right...