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

Notifications

Announcements

No record found.

Community site session details

Community site session details

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

Doubleclick on grid to open different forms in Listpage ax 2012

(0) ShareShare
ReportReport
Posted on by 40

Hi All,

I have one requirement on list page , in list i have enum filed based on the enum form should open by double click.

For example in my listpage i have Enum fileds on grid and enum contains customer and vendor.

in First record i have Enumfield as Customer when i double click it should open customer form same as vendor it should open vendor form.

Thanks in advance.

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

    You need to define table relations from your table (that is used as a data source for the listpage) to CustTable and VendTable. The relation contains one fixed field (the enum) and another field which contains the actual Customer / Vendor account number (which you need to have in your table, too). Once the relations are correct it should work.

  • Blue Wang Profile Picture
    on at

    Hi Manikanta M G,

    Display different form based on enum value?

    Or you can try to use jumpRef().

    Code from DimensionDynamicAccountController class: 

    6735.PNG

  • Manikanta1231 Profile Picture
    40 on at

    Hi Blue Wang,

    Display different form based on enum value? --------Yes

    Or you can try to use jumpRef().----- we don't have override methods for listpage.

  • Blue Wang Profile Picture
    on at

    Hi Manikanta,

    Yes , you cannot override method on  listpage .

    You need to create an Listpage Interaction class and override the methods in the list page interaction class.

  • Manikanta1231 Profile Picture
    40 on at

    Hi Blue Wang,

    I think we don't have Jumpref override method in interaction class. If possible can you send me the sample code.

  • Manikanta1231 Profile Picture
    40 on at

    Hi Nikolaos ,

    I have tried by using  fixed field relation but if we only specify DefaultAction property in grid it is opening only one form .

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 449 Super User 2025 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 422 Most Valuable Professional

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 239 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans