Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Unanswered

Account Form Custom Navigation Link not working in CRM 2013 (upgraded from CRM 2011 UR 18)

(0) ShareShare
ReportReport
Posted on by 15

Hi All, anyone have idea why Custom Navigation Link (External URL)  doesn't works in CRM 2013 ? it works perfectly in CRM 2011 server UR18 (5.0.9690.4376) as below

:pastedimage1663904706425v1.png

But on CRM 2013 test server, when "Product Subscription" clicked, nothing happened :

pastedimage1663904923814v3.png

but when i insert new navigation link with different name but same external link, it show the page but no information about account product subscriptions, somehow it didn't retrieve subscription data from CRM Database.
if i change its name to "Product Subscriptions" (same with original one), it also couldn't be clicked

pastedimage1663905806249v4.png

Anyone have idea what to do ? i stucked there

FYI :
1. i'm still using the same customization files (aspx, dll, etc) from CRM 2011, only updated element like new server name, domain, user, pass, etc for test server necessarily.
2. have tried on different browsers (IE, Edge, Chrome, Firefox)
3. have tried update CRM 2013 to SP1 and SP1 UR3
4. i'm not the one that develop in CRM 2011, the one that developed this already left. i'm in charge to maintain and now upgrade it
5. and i'm still using sdk from CRM 2011, version 5, i wonder if that's the issue or not, but i can't find any CRM 2013 SDK download link on internet. (if anyone have the sdk for CRM 2013, i'd want to try it, could you please kindly share :D)

Thank You

  • Yiren95 Profile Picture
    Yiren95 15 on at
    RE: Account Form Custom Navigation Link not working in CRM 2013 (upgraded from CRM 2011 UR 18)

    I found out that the Navigation Link is not working because seems like previous developer was using loadIsvArea, which only available in CRM 2011 and not available to newer version than CRM 2011.
    Anyone have idea for this ?

    Below is current script in form properties :

    function SetLeftNavigation(NavLabel, url)
    {
     var items = Xrm.Page.ui.navigation.items.get();
     for (var i in items)
     {
       var item = items[i];
       var itemLabel = item.getLabel();
       //alert('Item Label: ' + itemLabel);
       if (itemLabel == NavLabel ) {
          var accountId = Xrm.Page.data.entity.getId();
          var itemObj = item.getId();
          var navAcctVal = document.getElementById(itemObj);

          if (navAcctVal != null && navAcctVal != undefined) {
              var u1 = encodeURI(url + '?id=' +accountId);
              navAcctVal.onclick =
              function() {
                loadIsvArea(this, Mscrm.CrmUri.create(u1), false, new Sys.UI.DomEvent(event));
                var navIframeObject = document.getElementById(itemObj + "AreaFrame");

                if (navIframeObject != null && navIframeObject != undefined)
                    navIframeObject.src = u1;

              }
           }
       }
     }
    }

  • Yiren95 Profile Picture
    Yiren95 15 on at
    RE: Account Form Custom Navigation Link not working in CRM 2013 (upgraded from CRM 2011 UR 18)

    ya, english version links all already gone...

    tried to use CRM 2013 SDK still the same.

    anyway, Thanks for your response @Ray Gan :)

    if anyone have some ideas please help, Thankyou

  • Ray Profile Picture
    Ray 1,505 on at
    RE: Account Form Custom Navigation Link not working in CRM 2013 (upgraded from CRM 2011 UR 18)

    For online SDK document, you may check about this link. I can not find a english version SDK download link but here is a Chinese/Japanese version: download link.

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

News and Announcements

Announcing Category Subscriptions!

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,359 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans