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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

How to show table's label

(0) ShareShare
ReportReport
Posted on by

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,

I have the same question (0)
  • udaY-ch Profile Picture
    5,133 on at

    Hi,

    Did you try this way,

    SysDictTable dictTable = new SysDictTable(YourtableId);

    dictTable.label();

    Uday

  • Suggested answer
    Sergei Minozhenko Profile Picture
    23,093 on at

    Hi WWwong,

    You can use DictTable class and method label on it to get this information

    docs.microsoft.com/.../dicttable-class

  • Verified answer
    nunomaia Profile Picture
    25 Moderator on at

    TablePName function solves your needs ? 

    https://docs.microsoft.com/en-us/dynamics365/fin-ops-core/dev-itpro/dev-ref/xpp-compile-time-functions

  • Verified answer
    nmaenpaa Profile Picture
    101,160 Moderator on at

        DictTable dictTable = new DictTable(tableNum(custTable));
        info(DictTable.label());

  • Community Member Profile Picture
    on at

    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.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 565 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 450 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 250 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans