Create appointments for customers using Canvas app and display existing appointments in gallery control.
We are going to create a sample canvas app where we will have two screen in first screen we will be displaying existing appointments and we will use second screen to create new appointment so let see how we can do that.
You need to have access to the Power Platform environment.
Open https://make.powerapps.com/ and select Canvas app under apps.
Select Appointment under the data source of the Gallery control, we can change layout of the gallery control to Text from property window.
If you will select field like above screen you will notice other fields control rendered but there is no control under regarding data card. This is because regarding field is a Polymorphic lookups which can refer different type of the entity. You can refer details for these lookups here. While working with these type of lookup we can’t directly map data card to these type of field instead we need to use AsType to map this lookup to particular entity, for example let’s say we want to create appointments for the customer in our example.
Hope it will help someone!
Keep learning, Keep sharing !!