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 :
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

I have the same question (0)
  • Tina Vyf Profile Picture
    on at

    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?

  • Suggested answer
    Tina Vyf Profile Picture
    on at

    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.

  • Rob Van de Beek Profile Picture
    5 on at

    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.

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 > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans