Gallery filtering
- How to refer to a particular field from the host entity?
- [@ModelDrivenFormIntegration].Item.’Field Name”
Polymorphic Lookup
- What is Polymorphic Lookup
- A lookup field that can refers to more than one entity.
- Example:
- Lookup:Owner – User/Teams entity
- Lookup: Customer – Account/Contact
- Lookup: Regarding – Account, contact, opportunity, case etc
- So…what is the problem with that?
- When tell the app to perform a function (ie Filter) on a value in a polymorphic lookup, the app does not know which entity to refer to.
- Oh…How do I filter a list based on a Polymorphic lookup then?
- Using Is Type…As Type function
- Is Type – to tell the app studio to check if the record is referring to the specified entity
- As Type – to tell the app studio which entity to refer to
- Important – This does not support delegation
- Examplet1

References:
Embedded Canvas App Pt 1 – Introduction
https://eelane.com/2019/08/09/embedded-canvas-apps-pt-1-introduction/
Polymorphic Lookup
https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/working-with-references
Natraj Blog:
https://dreamingincrm.com/