web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Supply chain | Supply Chain Management, Commerce
Unanswered

UIBuilder in ExtensionOf

(0) ShareShare
ReportReport
Posted on by 471
Hi Everyone,
 
I have a SSRS report from ISV in D365FinOps. The contract class doesn't have a UIBuilder class and I need to add multi select parameter where the it has to get a lookup through a method in UIBuilder. I believe, the same issue will be applicable for any Out of the box report too.
 
Also, I tried to use the ExtensionOf class and it didn't help.
 
Anyone has any suggestions on how I can attach the UIBuilder class to the existing contract class?
 
Also, I have to write a validation on this parameter and not sure how I could implements the contract with SysOperationValidatable
 
Regards,
Verma MC
I have the same question (0)
  • Martin Dráb Profile Picture
    236,907 Most Valuable Professional on at
    UIBuilder in ExtensionOf
    Adding interface implementation is impossible and I think it applies to the attribute too.
     
    Consider asking the ISV to add a UI builder and implement the interface. They don't need to provide any implementation, just something you can extend.
     
    Maybe you could also succeed with creating a using a child of the contract class.
  • VermaMC Profile Picture
    471 on at
    UIBuilder in ExtensionOf
    Thanks Martin,
     
    I can check with ISV. 
     
    Meanwhile, I want to explore options with child class. If I extend the contract and create a child contract while I could add the UIBuilder attribute and also implement the interface, but how do we make the DP Class use this child class? I think, we won't be able to change the Contract class's attribute in DP to use the child class, correct? or Do we have a chance?
  • Martin Dráb Profile Picture
    236,907 Most Valuable Professional on at
    UIBuilder in ExtensionOf
    I can't tell what changes to make the code because I don't know anything about your code.
     
    In general, you need to be able to be able to provide your instance of the contract, which may be trivial, or it may be impossible without creating your own report. It depends on what you're doing and how the other code is implemented.
     
    Changing the code of ISV's data provider is impossible for you, but keep in mind that the types are compatible. Code written for a base class will (in most cases) work if you use a child class instead (= polymorphism).
  • André Arnaud de Calavon Profile Picture
    299,983 Super User 2025 Season 2 on at
    UIBuilder in ExtensionOf
    Hi Verma,
     
    Instead of extending the ISV report, have you considered an own custom report which will be fully independent of any changes the ISV can apply themselves in updates? You can then implement the multi-select parameter to your own insights.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Pallavi Phade – Community Spotlight

We are honored to recognize Pallavi Phade as our Community Spotlight honoree for…

Leaderboard > Supply chain | Supply Chain Management, Commerce

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 249

#2
Siv Sagar Profile Picture

Siv Sagar 202 Super User 2025 Season 2

#3
Danny Bilodeau Profile Picture

Danny Bilodeau 184 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans