cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
jaimiehaake1999
New Member

display the edit powerapp page when a company is selected in the look up field at the dynamics form

HI i embedded a powerapp in dynamcis 365 on the phonecall form , so i can change the company informations directly via powerapps when selecting the company in a lookup field which i added, the problem is i dont know how i can get powerapps to display the edit/view inforamtions page  instead of the gallery where all companies are displayed

1 ACCEPTED SOLUTION

Accepted Solutions
v-xida-msft
Community Support
Community Support

Hi @jaimiehaake1999 ,

Could you please share a bit more about the LookUp field in your Phone Call Entity?

Do you embed an canvas app based on the LookUp filed in your Phone Call Form?

Further, do you want the embedded app to display the Detail Form/Edit form of the corresponding Company Info (The Company record the LookUp field of the current record related to)?

 

I have made a test on my side, please consider take a try with the following workaround:

1. Edit your embedded canvas app

2. Set the OnStart property of the App control to following:

Navigate(DetailScreen)   /* <-- Or type Navigate(EditScreen)*/

3. Set the Item property of the Detail form or Edit form to following:

LookUp('YourCompanyEntity', 'Unique Identifier Column' = [@ModelDrivenFormIntegration].Item.'LookUpField'.'Unique Identifier Column')

Note: I assume that the 'LookUpField' references values from your 'YourCompanyEntity'.  The 'Unique Identifier Column' represents the Unique Identifier column in your 'YourCompanyEntity' CDS Entity.

Or type following:

LookUp('YourCompanyEntity', 'Unique Identifier Column' = First([@ModelDrivenFormIntegration].Data).'LookUpField'.'Unique Identifier Column')

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-xida-msft
Community Support
Community Support

Hi @jaimiehaake1999 ,

Could you please share a bit more about the LookUp field in your Phone Call Entity?

Do you embed an canvas app based on the LookUp filed in your Phone Call Form?

Further, do you want the embedded app to display the Detail Form/Edit form of the corresponding Company Info (The Company record the LookUp field of the current record related to)?

 

I have made a test on my side, please consider take a try with the following workaround:

1. Edit your embedded canvas app

2. Set the OnStart property of the App control to following:

Navigate(DetailScreen)   /* <-- Or type Navigate(EditScreen)*/

3. Set the Item property of the Detail form or Edit form to following:

LookUp('YourCompanyEntity', 'Unique Identifier Column' = [@ModelDrivenFormIntegration].Item.'LookUpField'.'Unique Identifier Column')

Note: I assume that the 'LookUpField' references values from your 'YourCompanyEntity'.  The 'Unique Identifier Column' represents the Unique Identifier column in your 'YourCompanyEntity' CDS Entity.

Or type following:

LookUp('YourCompanyEntity', 'Unique Identifier Column' = First([@ModelDrivenFormIntegration].Data).'LookUpField'.'Unique Identifier Column')

 

Please consider take a try with above solution, check if the issue is solved.

 

Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Apps Community Call

Monthly Power Apps Community Call

Did you miss the call?? Check out the Power Apps Community Call here!

secondImage

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (70,266)