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.

  • Manikanta1231 Profile Picture
    Manikanta1231 40 on at
    RE: Doubleclick on grid to open different forms in Listpage ax 2012

    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 .

  • Manikanta1231 Profile Picture
    Manikanta1231 40 on at
    RE: Doubleclick on grid to open different forms in Listpage ax 2012

    Hi Blue Wang,

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

  • Blue Wang Profile Picture
    Blue Wang on at
    RE: Doubleclick on grid to open different forms in Listpage ax 2012

    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
    Manikanta1231 40 on at
    RE: Doubleclick on grid to open different forms in Listpage ax 2012

    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
    Blue Wang on at
    RE: Doubleclick on grid to open different forms in Listpage ax 2012

    Hi Manikanta M G,

    Display different form based on enum value?

    Or you can try to use jumpRef().

    Code from DimensionDynamicAccountController class: 

    6735.PNG

  • Suggested answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: Doubleclick on grid to open different forms in Listpage ax 2012

    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.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans