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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Add a new property to the properties list in Visual Studio

(0) ShareShare
ReportReport
Posted on by

Hello, everyone!

Is it possible to add a custom property to a Properties window for an object in visual studio? Particularly for D365FO object.

Thank you!

*This post is locked for comments

I have the same question (0)
  • André Arnaud de Calavon Profile Picture
    305,465 Super User 2026 Season 1 on at

    Hi Eugene,

    Can you elaborate? What would be the purpose? Do you want to create a custom form control?

  • Eugene Voloshchenko Profile Picture
    on at

    Hello, Andre!

    The purpose of the Custom Property should be the same as the standard ones - to change parameters of an object.

    Here I'm talking about the property window in Visual Studio. I need to add a new property (like Label, Extends or DeveloperDocumentation).

    I think there should be some C# library.

    But I don't really know where to start my search from.

    Thank you!

  • Suggested answer
    Martin Dráb Profile Picture
    239,660 Most Valuable Professional on at

    It depends on what kind of object you mean.

    In most case, the answer is no. You can't add custom properties to tables, for example.

    I'm aware of just one placem where it's possible: you can define custom properties for extensible controls.

    Note that you can use tags to add some metadata without the need for custom properties.

  • Eugene Voloshchenko Profile Picture
    on at

    Hello, Martin!

    I would like to add a property to a table. My property will show TableId. I think it could be possible through Addins or Extensions.

  • Martin Dráb Profile Picture
    239,660 Most Valuable Professional on at

    I don't share your optimism. Are you aware of the fact that Table ID isn't included in metadata? It's assigned only on DB synchronization and held in database. It also means that two developers can see different IDs for the same table and it may have yet another ID in production. Therefore I wonder why you want to see table ID there in the first place.

    If you really need it, you could create a VS extension to find table ID on demand, instead of trying to integrate it to properties.

  • Eugene Voloshchenko Profile Picture
    on at

    My motivation here is that Table Id property was in ax2012. It was useful. Now I would like to add such property to AX7.

    Maybe there is some dll which can operate properties window...

  • Martin Dráb Profile Picture
    239,660 Most Valuable Professional on at

    This is nostalgia, not a business requirement. Also note that table IDs aren't used in the same way as in AX 2012, as I tried to explain, so what you did with table IDs in old versions may be meaningless in AX 7.

  • André Arnaud de Calavon Profile Picture
    305,465 Super User 2026 Season 1 on at

    I wonder why you first did provided examples "like Label, Extends or DeveloperDocumentation" and now you are talking about table IDs.

    Like Martin said, it has no use in Visual Studio. Within an application you can use commands like tablenum() when required.

    Try to get along with all new changes and technology. Don't get left behind in the past.

  • Eugene Voloshchenko Profile Picture
    on at

    Hello, Andre!

    Sorry, if I described my problem not properly. I meant adding an ID property (for tables only) to the Properties window in Visual Studio. It was useful feature in ax2012. My thought is to get working with tables in ax7 half-step easier. I don't want to write a job to find table id. I want to see it in properties, or in last case, to click on my AddIn and see TableId in massage window.

    Now I know how to get table ID using AddIn. But how to make an extension for standard Properties window? I know that you can create custom properties for .Net objects, like WPF forms. (example is here: https://msdn.microsoft.com/en-us/library/bb165403.aspx) But how can I do similar thing for every table in AX7 - is my question.

    You may think about it, like about an investigation task.

    If you are interested, and if I'll solve this problem, I'll describe what I did here.

    Thank you! 

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    305,465 Super User 2026 Season 1 on at

    HI Eugene,

    Like Martin said before, this is not possible. The development meta data is completely separated from the database. Maybe another workaround for you:

    - Open Dynamics 365

    - Change the URL with mi=SysTableBrowser&TableName=SQLDictionary

    - Then filter on fieldid with value 0 (Result: you only have table headers)

    - The column tabid has the table Id per environment.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
CP04-islander Profile Picture

CP04-islander 21

#2
dekion Profile Picture

dekion 4

#2
Virginia99 Profile Picture

Virginia99 4

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans