Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Answered

How do I remove the filter which was hardcoded in Navision 2018?

Posted on by 4,359

Hi,

May I ask how do U  remove the filter which was hardcoded in Navision 2018?

pastedimage1634636118058v1.png

Thank you!

  • Verified answer
    RE: How do I remove the filter which was hardcoded in Navision 2018?

    Hi,

    First, you need to have a development license to edit the page. If you have developer license then open the development environment and find "Contact List" page (object id - 5052) open the code and find the code similar to this SETFILTER("No.", '%1', ''); if you are able to find it comment that line (like //SETFILTER("No.", '%1', ''); ) or remove that line and save the page.

    Thanks,

    Kolitha

  • Suggested answer
    RE: How do I remove the filter which was hardcoded in Navision 2018?

    Hi,

    First, you need to have a development license to edit the page. If you have developer license then open the development environment and find "Contact List" page (object id - 5052) and find the code similar to this SETFILTER("No.", '%1', ''); then comment (like //SETFILTER("No.", '%1', ''); ) or remove that line and save the page.

    Thanks,

    Kolitha

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,647 Super User 2024 Season 2 on at
    RE: How do I remove the filter which was hardcoded in Navision 2018?

    Hi, If you have a development license, you can find this code and comment it out.

    Usually it will be in Setrange, SetFilter, or before Runmodal.

    Hope this will help.

    Thanks.

    ZHU

  • Suggested answer
    RockwithNav Profile Picture
    RockwithNav 6,562 on at
    RE: How do I remove the filter which was hardcoded in Navision 2018?

    Where exactly is it?

    Check the OnOpen Page and if Setrange is there for it?

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!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans