Dynamics 365 App Specific URL for your entity

We all know that we can create group of our Dynamics 365 CE entities in a more logical manner using apps, if you are interested in creating new app, you can refer our earlier post for the same. In this article we are going to discuss about Dynamics 365 app specific URLs.

Requirement: Let’s say we have created a custom app and we have requirement to send email with the record URL to other users or may be we want to use it in our script/code, but we want the record should open in it’s specific app instead of default custom app.

Solution: To implement above requirement we can use appid, while building record URL. let say we want to send email having contact URL and to open contact record in our custom Contact Center app, we use following steps:

1. First we need to get appid for your app, we can open app designer and copy appid from the URL like below
appid1
2. Now we need to construct entity record URL, if you are new Dynamics 365 CE, I will suggest you to go through this KB first. We can use following URL to open contact record,
appcontactURL
but above URL will open contact record in default Dynamics 365 CE sales app
appcustomapp
now to open contact record in our Contact Center app we can use following URL, here you can see we have added appid in the URL
appidcontact
And now if you will try to navigate this URL it will open from custom app like below:
appconatctcustomapp

Leave a Reply