Skip to main content

Notifications

Announcements

No record found.

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

How to Filter Workspace Tiles

(0) ShareShare
ReportReport
Posted on by 70

Hi ,

I am using this code to filtered workspace tiles ,but unfortunately i am not getting my required result, as in query of tiles there are two table both have Status field ,it is filtering based on parent table i need to filter it based on child table, can any one help how to pass filter value to required datasource table. 

pastedimage1619615021237v1.png

  • b_radlyjames Profile Picture
    b_radlyjames 3,081 on at
    How to Filter Workspace Tiles
    I know this question is old but I wanted to comment.
     
    It looks like SAAD is trying to use multiple filter on a workspace and then use the SysIFilterProvider interface to propogate those filters to the tiles and form parts.
    I have been looking at doing something similar, however, I don't think it is possible. It appears that the SysIFilterProvider can only handle 1 filter control on the workspace.
    I am getting stuck on the 'parmChangeEvent' method that only allows one 'SysFilterChangeEvent' (which iteself only allows 1 control).
     
    Currently, I don't see anyway around that limitation.
  • SAAD Ahmed Profile Picture
    SAAD Ahmed 70 on at
    RE: How to Filter Workspace Tiles

    pastedimage1619676747235v1.png

    Hi,

    Thanks for your response, This is my customized workspace i want to apply filter working on Statement Past Due Tiles . Currently filters are applying their parent datasource of query ,i need to apply it in its Child datasource.

    public SysIFilter parmFilter()
        {
            var filter = SysFilterFactory::createEmptyFilter();
           
            if (element.parmLicenseeID() != '')
            {
                SysIFilterValue liscenseeIdFilter = SysFilterValueFactory::createFilterValueForString(element.parmLicenseeID(), extendedTypeNum(uerLicenseeID));
                filter.addItem(liscenseeIdFilter, SysFilterOperator::Equal, SysFilterValueResolutionMethod::None);
    
            }
    
            if (element.parmLicenseStatus() != '')
            {
                SysIFilterValue statusFilter = SysFilterValueFactory::createFilterValueForString(element.parmLicenseStatus(), extendedTypeNum(uerStatusCode));
                filter.addItem(statusFilter, SysFilterOperator::Equal, SysFilterValueResolutionMethod::None);
            }
    

  • André Arnaud de Calavon Profile Picture
    André Arnaud de Cal... 291,622 Super User 2024 Season 2 on at
    RE: How to Filter Workspace Tiles

    Hi Saad,

    Can you explain functionally what you want to achieve for what tiles on what workspace? Are you trying to change out of the box tiles or is this related to own customizations?

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! 🥳

Get Started Blogging in the Community

Hosted or syndicated blogging is available! ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,354 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans