cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
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
Community Support
Community Support

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.
Highlighted
Resolver I
Resolver I

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

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 designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (6,374)