Skip to main content

Notifications

Announcements

No record found.

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

How to make selection in report data contract to handle multiple value ?

(0) ShareShare
ReportReport
Posted on by 144
Hi guys,
 
If I understand correctly, when create report, we can only create Data Contract class, and let the system handle the UI. So, we do not need to create UI Builder class.
In extend, when we have certain parameter already defined in that Data Contract class, usually by writing Data Member Attribute, can we also make it enable for multiple value ?
 
When lets say I have this parameter RetailChannel :
[DataMemberAttribute,     SysOperationLabelAttribute('Channel')    ]    public RetailStoreId Channel(RetailStoreId _Channel = Channel)    {        Channel = _Channel;        return Channel;    }
 
How to make this parameter allow multiple value ? Can we still NOT create UI Builder class ? and how's the RDP class get the value then ? Means how to process it by read this multiple value ?
 
Thanks in advance.
 
  • Voltes Profile Picture
    Voltes 144 on at
    How to make selection in report data contract to handle multiple value ?
    Hi Layan,
     
    Yes, I actually using query. 
    Thanks for your reply and advice.
  • Verified answer
    Layan Jwei Profile Picture
    Layan Jwei 7,679 Super User 2025 Season 1 on at
    How to make selection in report data contract to handle multiple value ?
    Hi Community member,
     
    Yes for contract parameter multi select, you will need uiBuilder, check if the below link helps:
     
    Also you could replace data contract with query filter ( if you saw in some dialogs, there is a tab called "Records to include" which you can utilize to select multiple values without using uiBuilder) But this depends if your report is using query or not.
     
    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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Congratulations to the January Top 10 leaders!

Check out the January community rock stars...

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,234 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,994 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans