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, ...
Answered

How to define the Last Selected Value on Form Control

(0) ShareShare
ReportReport
Posted on by 265

Hi All,

I have added two new field on EcoResProductCreate Form and need to show the last value when form will open.

pastedimage1580148371174v1.png

As above screen shot you can see brand and session i have added these two field need to Last select value.

Could you please help me to resolved the issue.

Thank you so much for your help.

Regards

Deepak

I have the same question (0)
  • Suggested answer
    nmaenpaa Profile Picture
    101,172 Moderator on at

    Only batch dialogs support this out of the box. But you can easily develop it on a form.

    You need a table where you store the last value per user. Then, when the form is opened, check this table and set the values on the form.

    If you are familiar with x++ development in general it should be a simple task.

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,095 on at

    Hi Deepak,

    You can use Pack-Unpack design pattern. Here is a good example of how to do this for form (ax.docentric.com/.../).

    BR, Sergei

  • Deepak kumar roy Profile Picture
    265 on at

    Thank you so much for your reply..

    EcoResProductCreate form itself they are  using the Pack-Unpack design pattern but  i am not able to  find where we exactly used the extension and pass those two value .

    Thank you so much for any suggestion..

  • Verified answer
    Sergei Minozhenko Profile Picture
    23,095 on at

    Hi Deepak,

    Please, check, articles about pack\unpack extensions.

    1. For Runbase, but maybe you can adjust it to form extensions (docs.microsoft.com/.../extend-runbase-class)

    2. EventHandlers approach sites.google.com/.../howtoextendamacrowithoutoverlay-packunpack

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!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

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

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 689

#2
André Arnaud de Calavon Profile Picture

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

#3
CP04-islander Profile Picture

CP04-islander 356

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans