web
You’re offline. This is a read only version of the page.
close
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

Filter in the list page form on init

(0) ShareShare
ReportReport
Posted on by 302

Hello All,

I am having a field DMFTransfer status which is an ENUM with not started, Completed, Error as its values. I want to filter the list page while opening with all the records not eqaul to completed.

Please guide me here to achieve the same.

Thanks

I have the same question (0)
  • Verified answer
    ergun sahin Profile Picture
    8,826 Moderator on at

    You can use initializeQuery

    pastedimage1620033936836v1.png

  • Wekey Profile Picture
    302 on at

    Hello Ergun,

    I tried the following code,

    public void initializeQuery(Query _query) { QueryBuildRange transferStatusRange; super(_query); transferStatusRange = _query.dataSourceTable(tableNum(CGIPickUpdateStaging)).addRange(fieldNum(CGIPickUpdateStaging, TransferStatus)); transferStatusRange.value(SysQuery::valueNot(DMFTransferStatus::Completed)); }

    But the form is filtered as expected but I couldnt able to see the completed record even if I wanted to. Hope you can understand.

    Thanks

  • ergun sahin Profile Picture
    8,826 Moderator on at

    If you haven't specifically selected hidden, you should be able to see it with ctrl + G.

  • Wekey Profile Picture
    302 on at

    Thanks it worked

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans