I have an approval board in a gallery and I need to get the approver of each application
I think it is with the owner of the Approval request entity but I don't know how to get it, it tells me that I have to give a polymorphic lookups
can someone help me with the formula
Hi @octaking ,
Based on the needs that you mentioned, I think the AsType function and Users Entity could achieve your needs.
On your side, you need to add Users Entity as data source within your app firstly. The Screenshot as below:
Within your Gallery, set the Text property of the Label to following:
AsType(ThisItem.Owner, [@Users]).'Full Name'
"Owner: " & AsType(ThisItem.Owner, [@Users]).'Full Name'
Please consider take a try with above solution, check if the issue is solved.
Please check the following blog for more details about the polymorphic lookups:
This is how you can get values from polymorphic lookups.
//this example is for embedded canvas app so instead of modeldrivenformintegration use relevant name.
If(IsType( [@ModelDrivenFormIntegration].Item.’Company Name’, [@Accounts] ), AsType([@ModelDrivenFormIntegration].Item.’Company Name’, [@Accounts] ).’Account Name’, AsType( [@ModelDrivenFormIntegration].Item.’Company Name’, [@Contacts] ).’Full Name’ )
For total details please refer to the blog: https://pavankumargarlapati.wordpress.com/2019/08/06/embedded-canvas-app-how-to-get-the-selected-pol...
If this answers your question please mark it as verified
Pavan Kumar Garlapati
Check out the on demand sessions that are available now!
ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.
Features releasing from October 2020 through March 2021
Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!