Notifications
Announcements
No record found.
Hi all,
How to show the table's label. I mean using info. We can have the TableId, and also I know there is TableId2Name function, but my goal is the label.
Thanks,
Hi,
Did you try this way,
SysDictTable dictTable = new SysDictTable(YourtableId);
dictTable.label();
Uday
Hi WWwong,
You can use DictTable class and method label on it to get this information
docs.microsoft.com/.../dicttable-class
TablePName function solves your needs ?
https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-compile-time-functions
DictTable dictTable = new DictTable(tableNum(custTable)); info(DictTable.label());
Thanks, I'm using DictTable and it works.
TablePName also works actually, wonder what is the pro and cons ?
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Martin Dráb 565 Most Valuable Professional
André Arnaud de Cal... 450 Super User 2025 Season 2
Sohaib Cheema 250 User Group Leader