We have a PowerApp responsible to create an appointment in Dynamics 365 CRM. I am struggling to show From and To field from Appointment and of course later save them. From and To field in Dynamics 365 are of special type called Activity Party and can have more than one value. Can someone help me out on this.
Solved! Go to Solution.
For Activity Party type, the supported one under Appointment is the floowing:
So could you please share more information about the From and the To field?
If possible, it would be better for you to share a screenshot of the field mentioned.
I will then take a further look and see if I can offer any further assistance.
One thing to remind is, multiple values may not be supported under PowerApps, currently.
Thanks @v-micsh-msft for your reply.
I have added appointment entity from Dynamics 365 to my data source in Power Apps. But the three fields you mentioned are not visible in data source hence I am not able to add them to either display or edit form. Any resolution for this.
The party type fields like Required, Optional and Regarding need some additional logic in order to get the information to show in PowerApps. If you have Appointments in a gallery you could use something like ThisItem._regardingobjectid_type and ThisItem._regardingobjectid_value to find out what entity this is coming from and what the ID is of that object. Once you do that you can do a lookup to get the record from the entity based on the ID. Let me know if this helps.
I understand your comment on the Regarding field. But regarding field is totally different than From/To/Required/Optional/Sender etc activity party fields. I can't see any of these fields in my collection. Am I missing some tihng?