Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2020 Release Wave 2Discover the latest updates and new features to Dynamics 365 planned through March 2021.
Release overview guides and videos Release Plan | Preview 2020 Release Wave 2 TimelineWatch the 2020 Release Wave 1 virtual launch event
Ace your Dynamics 365 deployment with packaged services delivered by expert consultants. | Explore service offerings
Connect with the ISV success team on the latest roadmap, developer tool for AppSource certification, and ISV community engagements | ISV self-service portal
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Program | Finance TechTalks | Customer Engagement TechTalks | Upcoming TechTalks
could someone help me with the following information how to get this information:
requires your help with similar updated information with the difference that now requires the inclusion of the options available for each menu since they are necessary for the design, mapping and role building
What exactly do you need?
List of transactions per module? This is what the title of your question is.
Or list of options (menu items) available for each menu? This is in your actual question description.
I would like to know how to get all the information of menu items and the composition of the form
What is considered "All information"? Can you give some example of information that you would like to get? That's anyway a perfect start for your work - defining the expected outcome.
Did you already do something similar? In your question it talks about "similar updated information". Perhaps sharing your previous requirement and solution would help you to get better help from others.
I would like to obtain the information by module and by buttons. In other words, I want to scan the forms and modules in dynamics
I suggest you check out the Security development tool. You can download it from LCS and install in AX. Perhaps it already solves the underlying business requirement that seems to be related to security.
But if not, at least you can study it's source code (it's developed in x++) to see how it obtains information about menus, buttons on forms etc.
In addition to that, I think you will benefit in splitting your requirement to smaller pieces.
1) Get list of all menu items in a menu
2) Get list of all buttons in a form
Then enhance your code to iterate all menus and all forms in AOT.
You can find plenty of info by searching the web. I believe nobody can give you ready code to fulfill your requirement.
Perhaps these hints will help you forward.
Functionally, it would not be possible to obtain all the information (Menu item), it would be necessary to develop a code to extract all the information.
In any case, how could I obtain the information of the menu item?
I would start by searching the web for "dynamics ax x++ get menu item properties". I did it for you and found for example this: community.dynamics.com/.../x-code-to-find-the-menu-item-with-user-license-as-functional-and-add-to-privileges-in-ax-2012
It shows you how to iterate menu items and read their properties.
thanks for information but .....
What I am looking for is to obtain the menu items but not to add functions and privileges.
I just want to scan the menu item which allows me to identify which are standard and customized
Wouldn't it be easier if you shared all these requirements at once? It will be much more efficient for you. And perhaps you get more answers if it's easier to understand your question.
For detecting customizations you have to look for menu items in your customization layer (for example in cus). You can again do a web search - I recommend to search for "dynamics ax 2012 x++ get elements from layer".
Or, you can simply go to dev workspace - Tools - Code upgrade - create project from model (or something like that) to get a project - grouped by element type - of the custom objects.
Now you should have keys for the solution!
What happens is that I have a requirement which asks me the following:
The list of AX transactions by module, your help is required with updated information with the difference that now the inclusion of the options available for each menu is required since they are necessary for the design, mapping and construction of roles for the company. Please include both standard and custom transactions.
The list of AX transactions by module, I need you to help me with the following.
I require a list of transactions by modules, in which I can obtain information such as the one detailed here. I would like to know how I could get all the menus.
I obtained this model manually but I would like to get this information through a job which you just have to organize it.
So you would like to get a list of all options that you see in AX menu. And that's all. Correct?
There are some posts on the topic, for example this: https://dynamicsuser.net/ax/f/developers/72923/want-to-traverse-aot-menu-in-ax2012
Perhaps it's not 100% fit to your requirement, but it will help you understand how to iterate the menu contents. With this understanding you can develop code that suits your exact requirement.
there is no automatic way to get that information or you would have to generate a job to get it
That's correct. You need to develop a job.
but in the example that makes reference not all the requested information is obtained since at the moment what I require is to be able to see which are Standard and which Customized
Yes, you need to enhance it to fit your exact requirement.
I asked it already earlier, but could you please provide an example of the output that you would like to see? It's a perfect starting point for your design work, and very helpful for us who try to help you. You need to have a clear goal before you can design a solution for reaching that goal.
Anyway I suggest you start by developing a job that produces you the list of menu items in the menu. Once you have that, you can enhance it by fetching more information about the menu item (such as the layer where it exists. This tells you if it's MS standard, ISV element or a customization).
Business Applications communities