Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
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
    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
    7,727 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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,280 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,038 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Product updates

Dynamics 365 release plans