Hauts de France

Modification de rapports Dynamics 365

Le process de modification native des rapports sous Dynamics 365 est assez complexe. Les outils à utiliser sont multiples, les informations sont parfois obsolètes, et les outils microsoft incompatibles entre eux.

Voici l’état des lieux :

  • Dynamics CRM 365 continue de produire des rapports en schéma 2005 ! ( v9.0 )
  • SSDT 2012 peut ouvrir et convertir ces rapports
  • Il faut ouvrir graphiquement le rapport pour le convertir
  • SSDT 2015 peut éditer les rapports avec MSCRMFETCH
  • SSDT 2015 ne peut pas ouvrir les rapports Dynamics CRM 365 directement, comme pourtant indiqué par Microsoft…

Voici un récapitulatif exact de la procédure à suivre si vous souhaitez éditer vos rapports sous Dynamics CRM 365 :

  • Installez Visual studio SSDT 2012 et SSDT 2015
  • Installez les outils d’extension de rapports BIDS
  • Sous Dynamics CRM, dans la section des rapports, choisissez votre rapport, puis « modifier »
  • Téléchargez votre rapport ( qui suivra un schéma 2005 )
  • Intégrez le dans un projet SSDT sous Visual Studio 2012
  • Ouvrez le rapport graphiquement, puis enregistrez directement les modifications
  • Compilez votre projet
  • Allez chercher le rdl migré ( qui suivra alors un schéma 2008 ) dans le dossier bin/debug
  • Intégrez ce rapport dans un projet 2015
  • Choisissez un projet SQL 2008 a 2014
  • Compilez
  • Réintégrez dans le CRM, le rapport compilé dans le dossier bin/debug
  • Et voila ! 🙂

The process of changing reports under Dynamics 365 is quite complex. The tools to use are multiple, the information is sometimes outdated, and the microsoft tools are incompatible with each other.

Here is the state of play:

  • Dynamics CRM 365 continues to produce reports in 2005! (v9.0)
  • SSDT 2012 can open and convert these reports
  • SSDT 2015 may edit reports with MSCRMFETCH
  • SSDT 2015 cannot open Dynamics CRM 365 reports directly, as stated by Microsoft…

Here’s an exact summary of how to do it if you want to edit your reports under Dynamics CRM 365:

  • Install Visual studio SSDT 2012 and SSDT 2015
  • Install BIDS report extension tools
  • Under Dynamics CRM, in the report section, choose your report and then « edit »
  • Download your report (which will follow a 2005 diagram)
  • Incorporate it into an SSDT project under Visual Studio 2012
  • Open your report in the visual editor, then save it ( to get converted )
  • Compile your project
  • Look for the migrated rdl (which will then follow a 2008 diagram) in the bin/debug folder
  • Incorporate this report into a 2015 project
  • Choose a 2008-2014 SQL project
  • Compile
  • Reintegrate into the CRM, the report compiled in the bin/debug folder
  • And that’s it! 🙂

Laissez un commentaire

Vous devez être connecté pour poster un commentaire.