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 or appname, 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 using appid, 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
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,
but above URL will open contact record in default Dynamics 365 CE sales app
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
Note: Apart from using appid, we can also use appname, so for example we can use appname=contactcenter