AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 18.07.2012, 19:11   #1  
Blog bot is offline
Blog bot
Участник
 
25,631 / 848 (80) +++++++
Регистрация: 28.10.2006
ax-erp: Duplicate SSRS reports [Dynamics AX 2012]
Источник: http://microsoft-dynamics-ax-erp.blo...s-ax-2012.html
==============


Friends,
We all know that we will have requirements to modify an existing SSRS report but would not like to alter the original, rather create a duplicate and work on it.
But, Do we have the option in AX 2012? The answer is “NO” and it’s a real problem/hectic job for a developer to create it from scratch. Even when we try to do this from visual studio 2010, it is not allowed to change the report name as it says it exists in another layer.
Well, I have created a utility to duplicate the SSRS reports from AX. It works all fine and gets built successfully and was able to render the data as well. Once the report is duplicated, you can change the design in Visual studio.
[Note: I have posted a recent article on Duplicating SSRS with the help of wizard with all its artifacts (DP classes, Contract, UIBuilder and CSharp project)] – Here is the link
This really helps the developer in not creating the DP classes, contract classes etc. and can customize the existing DP classes by adding the new fields in temp tables.
Below is them new utility walk through:
Go to Tools >> Business Intelligence Tools >> Create duplicate SSRS reports

This will open all existing SSRS reports in the picker

Select any report : a new dialog will open with the new report name as “CopyOf” select report Name, you can modify the report name here
based on your requirements.Click on Ok button.


A new report gets created in SSRS reports as shown below

Nice right! Now lets us open this in Visual studio 2010 and you can play with the design.
You can see the new report in the Application Explorer as shown below:

Add this report to your project and build it. It builds successfully and is ready for preview as well.

Interested ones, please shoot me an email. I will send the XPO.
[I got some requests to even duplicate DP, Contract, UIBuilder and Controller classes. I am working on it. I will post the same soon]
Happy Dax6ng,



Источник: http://microsoft-dynamics-ax-erp.blo...s-ax-2012.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
dax-lessons: Duplicate SSRS Reports wizard with artifacts [Data provider, Contract, UIBuilder, CSharp project [Dynamics AX 2012] Blog bot DAX Blogs 0 13.06.2012 22:11
dax-lessons: Get list of printers in Dynamics AX 2012 for SSRS reports [Using X++] Blog bot DAX Blogs 0 14.05.2012 23:13
emeadaxsupport: New Content for Microsoft Dynamics AX 2012 : October 2011 Blog bot DAX Blogs 0 27.10.2011 17:11
mfp: Microsoft Dynamics AX 2012 is here! Blog bot DAX Blogs 10 04.08.2011 17:11
gatesasbait: Dynamics AX 2009 SSRS and SSAS Integration Tips Blog bot DAX Blogs 3 09.07.2009 13:07
Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 23:42.