Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

Drop dialog on a list page not disappearing automatically

(0) ShareShare
ReportReport
Posted on by

I have the following issue: When I add a drop-dialog to a list page, the drop dialog drops down when I click on it, but does not disappear when I click somewhere else.

I am trying to add my own drop-dialog, but I can reproduce this issue with standard Dynamics AX objects. I guess I am just missing some property on an object, but I just cannot figure out which one.

To see my problem in action, do the following:

1. Create a new Form. (Form 1)

2. Change the FormTemplate property  to ListPage (Click on Yes)

3. Add the query MainAccountListPage to the DataSources

4. Create an ActionPanTab.

5. Add a Drop-dialog button with the menu item MainAccountListPageBalanceParameters.

6. Save and open the new List page by right clicking and choosing open.

In my case, when I click on Parameters, the drop dialog drops down. When I then click outside the drop-dialog, it disappears as it should.

 2015_2D00_09_2D00_07_5F00_17_2D00_04_2D00_43.jpg

7. Create a new display menu item. Set the object to the new list page (Form 1)

8. Drag the Menu item to any menu. I added mine to General ledger (Common)

 2015_2D00_09_2D00_07_5F00_17_2D00_00_2D00_51.jpg

9. Restore, open new workspace. Click on the new menu item.

 2015_2D00_09_2D00_07_5F00_17_2D00_02_2D00_01.jpg

10. Click on “parameters” and click outside the drop dialog.

When I do this the drop dialog does not disappear again. You can see this same drop dialog working fine on the Main Accounts list page. I have tried changing properties on both menu items, on the menu, on the form etc. I have tried different drop dialogs and different list pages. It always works on the details page and when opened from the AOT.

What am I missing?

*This post is locked for comments

  • Rob Van de Beek Profile Picture
    Rob Van de Beek 5 on at
    RE: Drop dialog on a list page not disappearing automatically

    Here is someone from the future. Thanks for sharing the solutions. Now I just have to convince my customer that he wants additional part info on the list page I'm struggeling with.

  • Suggested answer
    Tina Vyf Profile Picture
    Tina Vyf on at
    RE: Drop dialog on a list page not disappearing automatically

    The answer to the above example is.. add the MainAccountDetailPart Form part to the list page's (Form1) Parts.

    I have no idea why this is, but adding a part to a list page fixes the drop dialogs. For example, adding MainAccountDetailPart Form part to a new list page not only fixes the MainAccountListPageBalanceParameters in my example, but it also fixes any other drop dialog that previously did not want to close. Removing the part the breaks all the drop dialogs in the list page again.

    Hope this answer helps someone in the future. I am sure glad I figured this out and am able to sleep again.

  • Tina Vyf Profile Picture
    Tina Vyf on at
    RE: Drop dialog on a list page not disappearing automatically

    I just realized that the callers are not equal when the list page is opened from the menu and from the AOT. But if you open the MenuItem1 from the AOT, the list page caller is the same as when you open the list page from the GL menu.

    Alas, opening the menu item instead of the form from the AOT has the same result: It works from the AOT, but not from the menu.

    Anyone has any ideas when I can look next?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans