Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

DictTable.formRef versus Table Property FormRef

(0) ShareShare
ReportReport
Posted on by 811

Here is an interesting issue:

In X++ code, I need to know what the value is of the Table Property "FormRef".

So, I use the DictTable class and use the method formRef(). However, this method always returns a value.

If the property on the table was not filled, it will return the name of the Table itself.

How can I obtain the real value of the FormRef table property? (only getting a value if there was one filled on the property)

Thanks in advance for any help,

Sven

*This post is locked for comments

  • Sven Joos Profile Picture
    811 on at
    Re: Re: DictTable.formRef versus Table Property FormRef

    Hi Martin,

    thanks a lot!

     Kr,

     Sven

  • Martin Dráb Profile Picture
    233,553 Most Valuable Professional on at
    Re: DictTable.formRef versus Table Property FormRef
    SysDictTable dictTable = new SysDictTable(tableNum(YourTable));
    #Properties
    ;
    info(dictTable.treeNode().AOTgetProperty(#PropertyFormref));
    

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

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 48

#3
shanawaz davood basha Profile Picture

shanawaz davood basha 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans