web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Save last value for custom filter on a form

(3) ShareShare
ReportReport
Posted on by 152
Hi,
 
In D365 FO , I want to add a functionality for a custom form to save the values inputted on a form to be saved for a user and when user reopens than the value should be shown automatically.
Note : this is not a batch job , its a custom form with a custom warehouse filter.
 
Thanks,
VK
Categories:
I have the same question (0)
  • Suggested answer
    Mohamed Amine Mahmoudi Profile Picture
    26,801 Super User 2026 Season 1 on at
  • VM-02050213-0 Profile Picture
    152 on at
    I am not talking about the form view being saved.
    I want to save the custom filters on the form , for example the filters placed above the form not at the grid level.
    eg. from date or todate for a form filteration
  • Suggested answer
    Martin Dráb Profile Picture
    239,029 Most Valuable Professional on at
    You can do it with xSysLastValue::saveLast() and xSysLastValue::getLast(). Read Store the parameter selection on a form by using the SysLastValue framework for more details. You can also use cross-references to find forms with this logic in the codebase.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 617

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 461 Super User 2026 Season 1

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 298 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans