Customer Engagement & Dynamics CRM Forum

Expand all | Collapse all

Problem with Hyperlink

Jump to Best Answer
  • 1.  Problem with Hyperlink

    SILVER CONTRIBUTOR
    Posted Dec 15, 2020 03:36 AM
    Edited by Heinz Arnold Dec 15, 2020 03:44 AM

    Good morning

    We have a strange behaviour of a hyperlink field in 8.1 OnPrem, using Chrome.
    It is a hyperlink to an internal reporting portal, using https.
    When pasting the URL directly in the browser URL, it works like a charm. When clicking the url within CRM, we get an error.

    Analysing this in Fiddler App, I noticed a different order of the parameters.
    For example https://mysite.com/t?p=abc&z=xyz changes to https://mysite.com/t?z=xyz&p=abc
    It is just an example, the real URL is quite long and odd.

    By the way, this happens to a link to a forum post here too:
    https://www.crmug.com/communities/community-home/digestviewer/viewthread?GroupId=1285&MessageKey=xx&CommunityKey=xx&tab=digestviewer&ReturnUrl=%2fcrmug%2fcommunities%2fcommunity-...

    I'm fully aware that the order should not be that critical, but for that application it is.
    So my question is: Does anybody know why CRM 8.1 may change the order of parameters in URL calls?

    Thanks in advance
    Heinz

    Digital Acceleration Binge Day.  January 28th 2021 | 11:00 AM - 2:00 PM EST


  • 2.  RE: Problem with Hyperlink
    Best Answer

    SILVER CONTRIBUTOR
    Posted Dec 16, 2020 03:08 AM
    Hello again
    I guess it is solved. I have debugged within Chrome. There is quite the lot of JS code when hitting the hyperlink. One of these function (guess it is named mscrm.crm.uri.createForOrganisation and/or launch). These functions inspect link parameters and stuff like that.
    In the meantime I was able to help myself with kinda meta link that is not affected by the mentioned functions.
    Kind regards
    Heinz
    Digital Acceleration Binge Day.  January 28th 2021 | 11:00 AM - 2:00 PM EST


If you've found this thread useful, dive deeper into User Group community content by role