Skip to main content
Business Central forum
Suggested answer

Save filter settings on worksheet page using extension

editSubscribe (0) ShareShare
ReportReport
Posted on by 120

Hi All,

 We are using BC dynamics 365 web client.

We have a client interested in saving filter settings on "Register Customer Payments" page.

It is not possible to save filter settings on worksheet pages as on List pages. So, is it possible to add this feature to worksheet developing an extension? If it is possible, could you please tell me where to start or a code sample...etc.

Thanks and Regards,

Regards,

Nalin.

Categories:
  • Nalin.karu Profile Picture
    Nalin.karu 120 on at
    RE: Save filter settings on worksheet page using extension

    Hi ZHU,

    Thanks for your answer. Actually I 'm interested in adding this to worksheet pages. I will try your solution and update here weather it works for worksheets as well.

    Thanks,

    Nalin.

  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 59,978 Super User on at
    RE: Save filter settings on worksheet page using extension

    Hi, you can use the following method to create Veiw on the List page.

    https://yzhums.com/2523/

    Hope this will help.

    Thanks.

    ZHU

  • Nalin.karu Profile Picture
    Nalin.karu 120 on at
    RE: Save filter settings on worksheet page using extension

    Hi Josh,

    Thanks for the reply. Actually I'm familiar with AL Extension development. But I can't find any code for saving filter views on list pages. It seems to be a core feature. so if you can provide some code sample ,It's highly appreciated.

    Thanks,

    Nalin.

  • Suggested answer
    JAngle Profile Picture
    JAngle 33,131 on at
    RE: Save filter settings on worksheet page using extension

    In this case you will want to get the source code of the existing page and drop it onto a new worksheet object. If you have vs code already add an extension called AZ AL. Once you have downloaded symbols you can use that extension to open the .app files and browse the standard code. Find the current page and copy/paste into your new object file

Helpful resources

Quick Links

What Motivates a Super User?

We know many of you visit the Dynamics 365 Community and Power Platform…

Demystifying Copilot with Georg Glantschnig…

Industry experts answer burning questions directly from our amazing Community…

Setting Up Knowledge Sources for Copilot…

Look at how configuring a comprehensive knowledge base is crucial…

Leaderboard

#1
Andre Arnaud de Calavon Profile Picture

Andre Arnaud de Cal... 283,066 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 222,585 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,138

Product updates

Dynamics 365 release plans