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

Form extension link to original Form

(0) ShareShare
ReportReport
Posted on by 4,131

Hi,

If I create a class extension, I can see the "[ExtensionOf(classStr(B))]" on the code. 

But when I create a form extension, where can find the link between class extension and original class?

Also, the objects created in VS are now "ObjectName"."ModelName", it was "ObjectName"."Extension". Is there any way to change this?

Thanks,

I have the same question (0)
  • Verified answer
    Mea_ Profile Picture
    60,284 on at

    Form extension is not a class, it's a specific object type. To create it you need to right click on the form in AOT.

    .ModelName is a recent change to default naming  of form or table extensions. You can rename object after creation and change sufix to whatever you want.

  • Verified answer
    Rahul Mohta Profile Picture
    21,032 on at

    you can use the option of "Find references" from application explorer on the class

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

    All extensions of the form have the name of the original form in them.

    For example SalesTable.MyExtension1, SalesTable.MyExtension2.

    I don't think you can change the default naming of form/table extensions in VS. I think Microsoft changed it because of naming conflicts between different customers and ISVs. You were always adviced to change the name from .Extension to .MyExtension (where My is your own prefix). But now the Visual Studio tools name it according to your model, so it's less likely that there are conflicts even if you don't change the extension name after creating it.

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 592 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

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

#3
BillurSamdancioglu Profile Picture

BillurSamdancioglu 305 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans