Skip to main content

Notifications

Small and medium business | Business Central, N...
Suggested answer

Filter view on a Page with empty filters

Posted on by 215
Hello,
 
I would like some pages in BC opens with some filters already shown, but with no value. Like this :
 
 
So users don't have to search for the fields they filter with the most everytime they open a page.
 
Is it possible ?
Categories:
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,472 Super User 2024 Season 2 on at
    Filter view on a Page with empty filters
    Hi, I think this has something to do with the initialization of field types.
    For example, decimal or integer: 0
    Date: 0D
    Time: 0T
    DateTime:0DT
     
    Hope this can give you some hints.
    Thanks.
    ZHU
  • Magicrevette Profile Picture
    Magicrevette 215 on at
    Filter view on a Page with empty filters
    Thanks for your answers.
     
    The setrange(field, '') solution works well, but only for Text and Code datatype fields. It doesn't work for other datatypes.
     
    Does anybody has an idea for these kind of fields ?
  • Jun Wang Profile Picture
    Jun Wang 7,443 Super User 2024 Season 2 on at
    Filter view on a Page with empty filters
    just add the filters you need.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,472 Super User 2024 Season 2 on at
    Filter view on a Page with empty filters
    Hi, this can be done through customization, but it cannot be empty. It must have at least a certain value, such as *
     
    Hope this helps.
    Thanks.
    ZHU
  • Suggested answer
    Brett F Profile Picture
    Brett F 191 on at
    Filter view on a Page with empty filters
    You want to type in ''
    '' is empty text.  Note: this is 2 single quotes, not one double quote.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans