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 :
Small and medium business | Business Central, N...
Answered

AL/Visual studio code: Any way to generate a field list from a table?

(0) ShareShare
ReportReport
Posted on by 487

Hi Everyone,

When writing AL code, we often have to list fields that needs to be used/displayed. For example in reports, documents, list pages, etc.

Is there any way to automate or generate such lists instead of typing out every field(name;name){} ?

Cheers

I have the same question (0)
  • Verified answer
    Mohana Yadav Profile Picture
    61,003 Super User 2025 Season 2 on at

    you can try below VS code extension which provides Object Wizard tool using which we can select the fields like in CSIDE and code will be added to AL file.

    marketplace.visualstudio.com/items

  • Hedi Daneels Profile Picture
    487 on at

    Thats perfect. Thanks!

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 > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 2,917

#2
Jainam M. Kothari Profile Picture

Jainam M. Kothari 1,161 Super User 2025 Season 2

#3
YUN ZHU Profile Picture

YUN ZHU 1,025 Super User 2025 Season 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans