cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
mcutchins
Level: Powered On

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
Community Support Team
Community Support Team

Re: Canvas App - Redirect to CRM Entity Record on Select

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.
mcutchins
Level: Powered On

Re: Canvas App - Redirect to CRM Entity Record on Select

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
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

Top Kudoed Authors
Users Online
Currently online: 167 members 5,669 guests
Recent signins:
Please welcome our newest community members: