cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mcutchins
Resolver I
Resolver I

Canvas App - Redirect to CRM Entity Record on Select

I need to redirect a user to the CRM entity form associated with the selected item within the Gallery of a canvas app.  

 

I found the following: 

     ModelDrivenFormIntegration.NavigateToMainForm 

but I am stuck trying to figure out the recordId to pass to the function.

 

Basically I need to customize a sub-grid's look and feel to add a PDF clickable icon but still have the sub-grid (Gallery item) redirect to the associated CRM entity form like it would if it were not an embedded canvas app rendering the data.   I would use a standard sub-grid, but the clickable icon is not doable as far as my research can tell.

2 REPLIES 2
v-monli-msft
Community Support
Community Support

Hi @mcutchins ,

 

According to the documentation here:
https://powerapps.microsoft.com/en-us/blog/embedded-canvas-apps-can-now-navigate-refresh-and-save-th...

recordId – A required string parameter, that specifies the ID of the record to display in the main form.

 

What is the data source of your gallery?

 

Regards,

Mona

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

The datasource is an Entity but when I look at the properties available, I do not see any sort of "ID" to identity the item I have selected.  How can I associate the internal ID for the item when it isn't an option available within the datasource?

 

FYI, I am very new to Dynamics and come from a  SQL background...I am used to an ID column within every table.

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 Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,022)