web
You’re offline. This is a read only version of the page.
close
Skip to main content
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)
  • Illugi Profile Picture
    30 on at
    RE: Is it possible to specify apps in Dynamic URLs in Unified Interface (v9.1)

    Rob Landolt I got the Dynamic URL to work in the workflow by appending '&forceUCI=1' like this:

    Screensho

    When a user clicks on the link in the email he is taken to the unified interface in the appropriate Dynamics 365 app.  

  • StefanS365 Profile Picture
    3,575 Most Valuable Professional on at
    RE: Is it possible to specify apps in Dynamic URLs in Unified Interface (v9.1)

    @Andrew: Demian gets the credits ;-)

  • Suggested answer
    Rob Landolt Profile Picture
    495 on at
    RE: Is it possible to specify apps in Dynamic URLs in Unified Interface (v9.1)

    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.

  • Verified answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at
    RE: Is it possible to specify apps in Dynamic URLs in Unified Interface (v9.1)

    Hello,

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

  • Verified answer
    StefanS365 Profile Picture
    3,575 Most Valuable Professional on at
    RE: Is it possible to specify apps in Dynamic URLs in Unified Interface (v9.1)

    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

  • StefanS365 Profile Picture
    3,575 Most Valuable Professional on at
    RE: Is it possible to specify apps in Dynamic URLs in Unified Interface (v9.1)

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

  • Suggested answer
    Sreevalli Profile Picture
    3,256 on at
    RE: Is it possible to specify apps in Dynamic URLs in Unified Interface (v9.1)

    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

  • Suggested answer
    Kokulan Profile Picture
    18,054 on at
    RE: Is it possible to specify apps in Dynamic URLs in Unified Interface (v9.1)

    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]

     

  • Verified answer
    Mahendar Pal Profile Picture
    45,095 on at
    RE: Is it possible to specify apps in Dynamic URLs in Unified Interface (v9.1)

    Hi,

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

  • Rob Landolt Profile Picture
    495 on at
    RE: Is it possible to specify apps in Dynamic URLs in Unified Interface (v9.1)

    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.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
Christoph Pock Profile Picture

Christoph Pock 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans