Skip to main content

Notifications

Announcements

No record found.

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

Is there any way available to filter only few Tiles in on workspace form

(0) ShareShare
ReportReport
Posted on by 438

Hi All,
I have a new developed workspace form and on that form I have more than 10 tile buttons, behind every tile there is Query to show the count. I have added many filter controls as well. My Requirement is on modification of highlighted filter control I want to apply filter on only 1 tile highlighted in yellow. Please let me know if such requirement can be possible to implement or share if there is any standard form having such requirement.


Or any alternate approach if this can be done on any button click?

pastedimage1672056833249v1.png

  • Vijay Yelmame VY Profile Picture
    Vijay Yelmame VY 438 on at
    RE: Is there any way available to filter only few Tiles in on workspace form

    Thanks Girish,

    Let me check and get back to you.

  • Verified answer
    GirishS Profile Picture
    GirishS 27,816 Super User 2024 Season 1 on at
    RE: Is there any way available to filter only few Tiles in on workspace form

    Hi Vijay Yelmame,

    There is one standard method which is available to set the tile values. Override the getData method on tiles and set the values based on the filter selection.

     public TileButtonControlData getData()
    {
        TileButtonControlData ret;
        
        ret = super();
        
        ret.strTileData(any2str(set the values for the tiles));
                           
        return ret;
    }

    Also, on the Refresh button clicked method add the code to refresh form

    public void clicked
    {
        #Task
        element.task(#taskRefresh);
    }

    Thanks,

    Girish S.

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey Pt 2

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,540 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans