Hi,
In one of the customer's online CRM instance (upgraded from CRM 2016 to Dynamics 365), I checked the in-built web resource 'msdyn_ReportControl' (Display name: Report Control ) . In the script for 'msdyn_ReportControl', the outdated method getServerUrl() is called and it is throwing an error 'Uncaught TypeError: context.getServerUrl is not a function" when I am trying to see the report.
I am able to run my report through Customization -> Components -> Reports -> myReport -> Run Report
But when I tried through the particular page, it is giving the above error.
As it is MSCRM's component, how do I need to resolve this issue.
(Also I checked on other Dynamics 365 online instance but found getClientUrl() method is called at the same place.)
Please help me in resolving this issue.
Thanks.
*This post is locked for comments
Actually I have new solution (Report Control Dashboard) ready for 2015+ versions which is running for other customers with latest versions successfully. But my only concern is uninstalling the old RCD solution should not cause any damage or data loss. Because my solution xyz (for which RCDS is a prerequisite) is running on production for this customer. I am in process of creating a test instance so that I can reproduce and resolve the issue.
That why you need to build a migration/test instance to identify, address and solve the issues.
Once you have developed an alternative solution you test this solution together with the customer and if he signs off the alternative solution you can uninstall the old solution and import your new solution to provide equal functionality.
Thanks Andreas for your reply.
But I doubt removing the old solution will not cause any problem as the customer is running on production.
You cannot use the old solution for Dyn365 as it uses deprecated JavaScript methods.
You need to remove that old solution and replace it with a new solution approach as I suggested in my last post.
Hi Andreas,
Thank you so much for looking into this issue.
For you information, the old solution for RCD is ReportcontrolforDashboard10man.zip which is for 2011 and 2013. But currently it is there in MS Dynamics 365, this solution contains the msdyn_ReportControl.
Again thanks for help.
I would try to figure out where the old component was used and would try to migrate it to a new solution Approach as described here:
www.powerxrm.com/add-report-to-dashboards-in-crm-20152016
or
ledgeviewpartners.com/.../turn-report-dashboard-dynamics-crm
Hi Andreas,
Thanks for the reply.
You have shown me a way towards the issue resolution.
So the scenario is, one of my customer previously on CRM 2013 upgraded to CRM 2015 then 2016 then MS dynamics 365.
The report control dashboard solution was imported by my team as a prerequisite for my solution xyz on CRM 2013. After the customer's CRM up-gradation, my team has installed an upgraded solution xyz as per the new versions of CRM. But I guess the report control dashboard solution remained as it is.
At this stage please suggest me how to proceed further.
The client is running with dashboards, reports on production, should I delete the old RCDS and import the new one for 2015+ versions. Will it impact on the current reports in CRM ?
Thanks in advance.
Hi,
I think you have a very old solution or component deployed to your CRM instance called "Dashboard Reporting Control for Microsoft Dynamics CRM 2011"
As this solution and the included web resource is targeted for CRM 2011 the method getServerUrl() was not outdated back then. Thats why you get the error on newer CRM versions.
I recommend you to remove the old solution if you cannot fix this web resource yourself, because it is a managed solution component.
Cheers,
Andreas
Hi,
Please help me and let me know if you are aware of the reason why the inbuilt component 'msdyn_ReportControl' is calling the getServerUrl(). Is it related with some wrong configuration done while upgrading from 2016 to dynamics 365 ?
Thanks in advance.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,240 Super User 2024 Season 2
Martin Dráb 230,149 Most Valuable Professional
nmaenpaa 101,156