Skip to main content
Post a question

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id : w4UzbC0AyWpEyOBZF9s3qs
Small and medium business | Business Central, N...
Answered

Can't Create a table extension

Like (2) ShareShare
ReportReport
Posted on 13 Mar 2025 08:46:35 by 48
Good Day all,
 
I Created a sample table in VS code then I Create a page for that sample table , When I try to create a Table extension for that sample table this error is showing 
 
Error:
 
"The extension object 'New' cannot be declared. Another extension for target 'ExTab' or the target itself is already declared in this module"
 
 
 
Plz assist 
 
Thanks in Advance.
  • ST-02101205-0 Profile Picture
    48 on 13 Mar 2025 at 09:30:11
    Can't Create a table extension
  • Verified answer
    Ashwin Nimbulkar Profile Picture
    117 on 13 Mar 2025 at 09:21:19
    Can't Create a table extension
    You cannot declare a TableExtension for a table that is part of the same extension. The purpose of a TableExtension is to extend the functionality of a table that belongs to the base application or another extension, which you cannot modify directly.
     
    For Ex.:
    if you want to add a new field to the Customer table, which is part of the base application, you would use a TableExtension because direct modification is not allowed. However, for a table created within your own extension, you can directly modify the table without the need for a TableExtension.
     
  • Martin Dráb Profile Picture
    231,717 Most Valuable Professional on 13 Mar 2025 at 09:12:49
    Can't Create a table extension
    Moved from Integration, Dataverse, and general topics forum to Small and medium business | Business Central, NAV, RMS forum, because the question seems to be about Business Central. Please let me know if you disagree.

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,845 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,717 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans
Loading complete