Friday, 13 December 2013

Crm 2013 – Script errors after upgrading an ex-Crm 4.0 organisation


After a recent upgrade to Crm 2013 of an organisation that had been a Crm 4.0 organisation, there were client script errors when navigating to the Case or Queue entities. The underlying cause was some SiteMap entries that referenced Crm 4.0 urls; these were being redirected to new urls, but seemed to be missing some elements on the QueryString.
The SiteMap entries with issues were:

<SubArea Id="nav_cases" Entity="incident" DescriptionResourceId="Cases_SubArea_Description" Url="/CS/home_cases.aspx" />
<SubArea Id="nav_queues" Entity="queue" Url="/workplace/home_workplace.aspx" DescriptionResourceId="Queues_SubArea_Description">
  <Privilege Entity="activitypointer" Privilege="Read" />
</SubArea>

The fix is to replace them with the following (which come from a default SiteMap in a new Crm 2013 organisation, though I’ve stripped out the GetStarted attributes):

<SubArea Id="nav_cases" DescriptionResourceId="Cases_SubArea_Description" Entity="incident" />
<SubArea Id="nav_queues" ResourceId="Homepage_Queues" DescriptionResourceId="Queues_SubArea_Description" Icon="/_imgs/ico_18_2020.gif" Url="/_root/homepage.aspx?etc=2029" >
 <Privilege Entity="queue" Privilege="Read" />
</SubArea>

These are the only entries I’ve found so far with problems. I think the entry for Queues is a one-off, but the entry for cases is notable in that the original (Crm 4.0) SiteMap entry included a Url attribute, whereas entries for most other entities did not include the Url attribute. So, it’s possible that other entries that include both the Entity and Url attribute could have the same issue.
Although annoying at the time, I don’t see this as a major issue, as reviewing the SiteMap will be one of the standard tasks we do for any upgrades to Crm 2013. This is due to change in navigation layout, which means the overall navigation structure deserves a rethink to make best use of the new layout. When doing this, we find it is best to start with a new clean SiteMap and edit this to a customer-specific structure for Crm 2013, rather than trying to edit an existing structure. It’s also worth noting that a few of the default permissions have changed (spot the difference above for the privilege to see the Queues SubArea), and it’s worth paying attention to these at upgrade time for future consistency.


12 comments:

  1. It is wonderful to know we are to alone in this one. We upgraded to CRM 2013 from CRM 4.0 via CRM 2011 in one night. And sure enough, Cases and Queues were broken. We had no idea why as we were not really familiar with SiteMap at all. However, as we were a plain CRM 4.0 with no modifications we decided to try just loading the default sitemap from the SDK and it did fix the problem for us. We then went back and re-added the custom entities we had created. This also fixed a lot of the configuration setting for Cases and Queues as they were originally set to not be available on mobile devices.

    ReplyDelete
  2. Hi
    Very nice blog post!! Thanks for the post,
    That is a really neatly written article.
    Oracle Fusion HCM Technical Online Training

    ReplyDelete
  3. Hello! I found some useful information in your blog, thanks for sharing this great topic.
    The leading online coaching supplier offers numerous courses on the various technical platform. view more

    ReplyDelete
  4. You must participate in a contest for the most effective blogs on the web. I'll suggest this web site! bovada casino

    ReplyDelete
  5. GOOD POST
    Sanjary kids is the best playschool, preschool in Hyderabad, India. Start your play school,preschool in Hyderabad with sanjary kids. Sanjary kids provides programs like Play group,Nursery,Junior KG,Serior KG,and Teacher Training Program.
    play school in hyderabad
    Preschool in hyderabad
    Preschool teacher training course in hyderabad
    pre and primary teacher training course in hyderabad

    ReplyDelete
  6. This is an amazing blog, thank you so much for sharing such valuable information with us.
    Visit for best logo and brochure designing services at- brochure designer in gurgaon.
    Thank you for sharing your wonderful information. for professional graphics,
    work contacts me. I am a freelance designer in gurgaon.
    Freelance Graphic Designing
    Freelance Catalogue Designing in delhi
    Freelance Catalogue Designing in gurgaon
    Freelance Brochure Designing
    Freelance Label Designing
    Freelance Banner Designer
    Freelance Poster Designer
    graphic design services in delhi
    graphic design services in gurgaon
    Freelance Catalogue Designing in delhi
    Freelance Catalogue Designing in gurgaon
    Freelance Brochure Designing
    Freelance Label Designing
    Freelance Banner Designer
    Freelance Poster Designer
    graphic design services in delhi
    graphic design services in gurgaon
    Freelance Catalogue Designing in delhi
    Freelance Catalogue Designing in gurgaon
    Freelance Brochure Designing
    Freelance Label Designing
    Freelance Banner Designer
    Freelance Poster Designer
    graphic design services in delhi
    graphic design services in gurgaon
    Freelance Catalogue Designing in delhi
    Freelance Catalogue Designing in gurgaon
    Freelance Brochure Designing
    Freelance Label Designing
    Freelance Banner Designer
    Freelance Poster Designer
    graphic design services in delhi
    graphic design services in gurgaon
    graphic designer in gurgaon
    freelance graphic designer in gurgaon
    freelance graphic designer in gurgaon
    freelance graphic designer in gurgaon
    freelance logo designer in gurgaon
    freelance logo designer in gurgaon
    freelance web designer in gurgaon

    ReplyDelete
  7. This comment has been removed by the author.

    ReplyDelete
  8. David

    https://smarttechguys.com/best-sharing-files-sites/



    Helps you with your all question like : How to Track Android Phone
    How To Restore Your Apps And Settings On A New Android Phone
    Best Android Messaging Apps
    What Is Cached Data & What Are The Ways To Clear Cache Data On Android

    ReplyDelete
  9. if you are looking for the CRM Software company so choose the wolf CRM and lets know the best solution for your company.

    ReplyDelete
  10. Nice blog! Blog is very informative and useful for everyone. BRJ provides completely secure and reliable CRMSoftware, has gained enough attention from the best industry experts and is still performing efficiently in providing one-stop solutions to various small and medium sized business houses.

    ReplyDelete
  11. Great Content. It will useful for knowledge seekers. Keep sharing your knowledge through this kind of article.
    Microsoft Dynamics CRM Training in Chennai
    Microsoft Dynamics Training in Chennai

    ReplyDelete