web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)
Answered

Is it possible to specify apps in Dynamic URLs in Unified Interface (v9.1)

(0) ShareShare
ReportReport
Posted on by 495

Hi all,

When creating emails and templates there is an option to include a Dynamic URL that references a record. In the past we used this in notification emails letting sales reps know they had a new lead, with a link that let them open that lead in CRM.

However, in D365 the app will open in the classic Web interface if its still enabled. In our current instance, it's further complicated in that different groups use different apps with customized forms, and it would be very useful to be able to change the URL to open a specific app depending on a value in the lead.

Does anyone know if modifying the Dynamic URL is possible, or of a way to open a particular app depending on the value of a field?

Thanks

*This post is locked for comments

I have the same question (0)
  • Verified answer
    StefanS365 Profile Picture
    3,575 Most Valuable Professional on at

    Hi Rob,

    If you click on the button 'Email a Link' from the form / view in the Unified Interface, you will get the format of the URL that you need to let the record open in UI from an app (id).

    Example:

    https://company.crm4.dynamics.com/main.aspx?appid=21a3baf2-98f5-e811-a966-000d3a3a81d3&pagetype=entityrecord&etn=account&id=a819201d-5a1d-e911-a971-000d3a3a829c

  • Rob Landolt Profile Picture
    495 on at

    Hi Stefan, thanks. The issue I'm running into is that in using the Dynamic URL value in the Form Assistant, there's no way to modify the URL that I can see.  For example, the value that gets generated looks like this:

    <hyperlink><name>Click here to view this lead in Dynamics.</name><value>{Record URL(Dynamic)(Lead)}</value></hyperlink>

    This function is the same as it was in the Classic interface, so I may just have to wait until MS updates it to work with UCI. It's solved a little in a recent update that lets you turn off the Classic interface across the board, but then I'm still running into trouble with which app gets opened if the user has more than one available to them.

  • Verified answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    This should help you : http://himbap.com/blog/?p=3065

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at

    Hi

    With the latest trial version Version 1710 (9.1.0.3643) online, you can force a record to be opened in Unified Interface or Classic just by using URL Parameter please see below

    https://struktonacc.crm4.dynamics.com/main.aspx?pagetype=entityrecord&etn=account&id=a819201d-5a1d-e911-a971-000d3a3a829c&forceClassic=1

    https://struktonacc.crm4.dynamics.com/main.aspx?pagetype=entityrecord&etn=account&id=a819201d-5a1d-e911-a971-000d3a3a829c&forceUCI=1

    Have a look at these links

    [View:https://community.dynamics.com/crm/f/117/t/315445:750:50]

    [View:https://community.dynamics.com/crm/f/117/t/315942:750:50]

     

  • Suggested answer
    Sreevalli Profile Picture
    3,256 on at

    Hi,

    we can pass the query string to open particular app,

    logic flows something like,

    var appid;

    if(yourfield value=="XYZ")

    appid="3720fe68-b553-e911-a96f-000d3ab3a241"

    else

    appid="a1ff833b-aa53-e911-a96f-000d3ab3a241";

    final url will be "crm.crm4.dynamics.com/main.aspx;+appid+"&pagetype=entityrecord&etn="+"your ent name"+&id="+yourrecordID

  • StefanS365 Profile Picture
    3,575 Most Valuable Professional on at

    @Kokulan: Could you please remove our company name from the URL's, I didn't mean to share them ;-) Thanks.

  • Verified answer
    StefanS365 Profile Picture
    3,575 Most Valuable Professional on at

    Hi Rob,

    You could create the URL in the right format with the help of custom workflow actions for string manipulations, so you can use it in the hyperlink. I dont know if you are in for this.

    See: github.com/.../CRM-String-Workflow-Utilities

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    Here is my post that answers your question - butenko.pro/.../howto-send-record-url-pointing-to-specific-model-driven-apps

  • Suggested answer
    Rob Landolt Profile Picture
    495 on at

    Hi all, thanks for everybody's suggestions. I used a combination of all of them to get the job done.

    First I created a RecordGUID field on the Lead entity, then set up a workflow to the Get Record ID using Workflow Tools to populate with the Lead's GUID on creation. (I needed a no-code solution)

    Each Lead is also assigned a "Division" which tells the user which Application they should open in Dynamics, so it was just a matter of figuring out the right format for the URL and inserting dynamic tags from the Form Assistant to produce a clickable hyperlink in the automated email alerting the users of a new lead, and opening the lead with a click into the proper app.

    The format ended up looking like this:

    <hyperlink><name>Click to view this {Division(Lead)} lead in Dynamics.</name><value>https://********.crm.dynamics.com/apps/{Division(Lead)}/main.aspx?pagetype=entityrecord&etn=lead&id={Record GUID(Lead)}</value></hyperlink>

     

    Works like a charm. Thanks everybody for your help!

    Click to view this International lead in Dynamics.

  • StefanS365 Profile Picture
    3,575 Most Valuable Professional on at

    @Andrew: Demian gets the credits ;-)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans