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

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

How does AX know to call the WBS form from the Projects List Page?

(0) ShareShare
ReportReport
Posted on by 506

I'm interested to know how the ProjWorkBreakdownStructure form is called from ProjProjectsListPage?

I've examined the Design of ProjProjectsListPage:

ActionPane > ActionPaneTab:Plan > Buttongroup:ActivityGroup > Button:ProjWBSButton

But there is no code in the clicked() method and I cannot see which property of the button matches to the WBS form.

The button's AutoDeclaration is "No" so I think cannot be called in any form code anyway.

I'm only interested because I am examining data structures downstream of this and wanted to know how the args object passed in a certain HierarchyId initially.

Hope someone can help.

*This post is locked for comments

I have the same question (0)
  • _MGP Profile Picture
    506 on at
    RE: How does AX know to call the WBS form from the Projects List Page?

    OK - so just by chance I selected the root of the form and came across the ProjProjectListPageInteraction class which has a openProjectWBS() method that runs a MenuFunction object.

    That was not obvious!

  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at
    RE: How does AX know to call the WBS form from the Projects List Page?

    You can have only very little code on a ListPage, to ensure compatibility for deploying it to Enterprise Portal.

    For this reason, we use interaction classes hooked up against the form. If you check the properties of the ProjProjectListPage form, you can see which interaction class in manipulating the behavior. The path which you mentioned before, if you check the clicked method, you can see it is decorated as obsolete, so it is not in use in R3. The button before, Activities however does have the clicked method, which actually does make a static call to the interaction class for openProjectWBS indeed.

    interaction.jpg

  • _MGP Profile Picture
    506 on at
    RE: How does AX know to call the WBS form from the Projects List Page?

    Thanks Vilmos - so on the desktop AX Client which button should be visible? Button:Activities or Button:ProjWBSButton? Is the latter for EP? - EDIT - actually re-reading your response the ProjWBSButton is obsolete so it plays no role whatsoever in the form - there must be some good reason for leaving it in there :) . Thanks again.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Community Member Profile Picture

Community Member 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans