
Hi,
I wanted to replace a d365 dialog using canvas app so for that I created a canvas app and triggered it on click of a Ribbon button and also passed the record id for the same in the canvas app url.
Now, There is a button on my Canvas App on click of which I want to fetch data for the CRM record id which I have passed as parameter.
Is there any function which can be used to fetch data for a specific Guid?
Any help would be appreciated.
Regards,
Shreya
Hi,
You'll basically need to parse the record ID out of the query string parameters and use the WebAPI to fetch data using this ID as a reference.
This is how you read the ID value from the query string: docs.microsoft.com/.../sample-pass-multiple-values-web-resource-through-data-parameter
And this is how you would go about using the WebAPI to retrieve the data you need using the ID: docs.microsoft.com/.../query-data-web-api