Skip to main content

Notifications

Finance | Project Operations, Human Resources, ...
Unanswered

Extend ISV report D365 F&O

Posted on by 84
I have a report belonging to a vertical of an ISV. I am asked to add a new layout to this report. I created a new model to do this and that references the model to which the report belongs. But when I want to duplicate or extend the report it is not possible because the options are not enabled as seen below
 
 
 
The report is structured with a Controller, DP and Contract class as normally done and a Report class where data is instantiated and /Report_/ classes where certain data is modified.
 
 
Given this situation, I created a new report and in the DataSet I related them to the DP class of the original report. I would like to know how I can extend the controller class to specify the new design that I added. I should mention that the report is not configured through the report management option. These are the methods that the controller has. The controller class extends the SrsPrintMgmtController class, I have searched for related information but I cannot find an approach to this situation
 
 
Thanks for the help
 
 
  • Layan Jwei Profile Picture
    Layan Jwei 7,322 Super User 2024 Season 2 on at
    Extend ISV report D365 F&O
    Hi Community User,
     
    Did you link the menu item with the new controller?
    Also did you debug and see if this new main method is being hit to detect the issue? If it's being called, then maybe try to clear usage data.
     
    Also maybe share the whole code with us please.
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future
  • Community member Profile Picture
    Community member 84 on at
    Extend ISV report D365 F&O
    Thanks Layan Jwe
     
    I have tried the solution you share but it doesn't work. It keeps returning the other design that is not the one I specified
     
    I did it in the following way, according to the link you shared with me
     
     
  • Layan Jwei Profile Picture
    Layan Jwei 7,322 Super User 2024 Season 2 on at
    Extend ISV report D365 F&O
    Hi Community User,
     
    Let's say the ISV controller is called OriginalController. In this case you can create new controller class named for example XXOriginalControllerExt which extends the OriginalController class and then Override the main() method. Where you can specify the new report name and design.
     
    Also you will need to create an extension of the report menu item to specify the new controller
     
    Look at this link for more info:
     
    Thanks,
    Layan Jweihan
    Please mark this answer as "Verified" if it solved your issue. In order to help others who will face a similar issue in the future

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

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

New! Quick response templatesâš¡

Save time with the new custom templates!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,963 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans