Skip to main content

Notifications

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

  • Suggested answer
    Joris dG Profile Picture
    17,775 on at
    RE: Add a new property to the properties list in Visual Studio

    Please do not use table IDs in any way. Both Andre and Martin explained the table IDs are not tied to your code. It is VERY LIKELY that the table IDs on your dev box are different than your sandbox and yet different in production as well. The point is you cannot depend on a table ID since they are only in the database, and can/will be different in every database.

    Also, SQLDictionary is not the place to get table IDs anymore. Yes, it's there and should be accurate, but it is no longer the main repository for IDs.

  • Suggested answer
    André Arnaud de Calavon Profile Picture
    295,447 Super User 2025 Season 1 on at
    RE: Add a new property to the properties list in Visual Studio

    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.

  • Eugene Voloshchenko Profile Picture
    on at
    RE: Add a new property to the properties list in Visual Studio

    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! 

  • André Arnaud de Calavon Profile Picture
    295,447 Super User 2025 Season 1 on at
    RE: Add a new property to the properties list in Visual Studio

    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.

  • Martin Dráb Profile Picture
    234,180 Most Valuable Professional on at
    RE: Add a new property to the properties list in Visual Studio

    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.

  • Eugene Voloshchenko Profile Picture
    on at
    RE: Add a new property to the properties list in Visual Studio

    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
    234,180 Most Valuable Professional on at
    RE: Add a new property to the properties list in Visual Studio

    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
    RE: Add a new property to the properties list in Visual Studio

    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.

  • Suggested answer
    Martin Dráb Profile Picture
    234,180 Most Valuable Professional on at
    RE: Add a new property to the properties list in Visual Studio

    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
    RE: Add a new property to the properties list in Visual Studio for Dynamycs 365 For Operations

    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!

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 100 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 50

#3
shanawaz davood basha Profile Picture

shanawaz davood basha 6

Featured topics

Product updates

Dynamics 365 release plans