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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

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

Change code in a Model developed by someone else does not take any effect

(0) ShareShare
ReportReport
Posted on by 113

Hello Guys,

i create a new model  in  my peoject,and  i  also  reference  the  model  which  i need to  modify,but  when i  directly   modify  code  in the reference model  class, it  could not  take  any effect.

as  the figure show.the  comment  can  also  be  executed,and  the error("test") can  not show  on the  screen.Could you  give me  some help?pastedimage1681264915221v1.png

I have the same question (0)
  • Tracy wang Profile Picture
    113 on at

    i  have   done  the  synch database,and  also  rebuild  the project

  • Suggested answer
    Andrew Xu Profile Picture
    3,877 on at

    Hi Tracy,

    Please make sure the referenced model is also built after you made the change to it.

  • Tracy wang Profile Picture
    113 on at

    Hi  Andrew,

    How do I build  the referenced  model、could you help me?

  • Suggested answer
    GirishS Profile Picture
    27,833 Moderator on at

    Hi Tracy wang,

    You need to have separate project for the reference model and add that class to that project - Build the project and then check.

    Otherwise use Extensions >> Dynamic 365 >> Build models - Select your custom model and build that.

    Thanks,

    Girish S.

  • Tracy wang Profile Picture
    113 on at

    Hi  Girish,

    for  your  second suggestion,when  i  build the  model ,i  need to select  the reference model?right?

  • GirishS Profile Picture
    27,833 Moderator on at

    No need to select reference model - If you select referenced model, it will include standard model also. So, it will take time to build.

    Select only the model where the class "PurchTableButtonConfirm_SNF_FC_Extension" is present and select "Synchronize Database" check box under option tab.

    Thanks,

    Girish S.

  • Tracy wang Profile Picture
    113 on at

    thank you,This is the perfect solution to my problem.

  • Verified answer
    GirishS Profile Picture
    27,833 Moderator on at

    If the answers are helpful, please mark it as verified so others can make use of this thread in the future.

    Thanks,

    Girish S.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

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

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 512 Super User 2026 Season 1

#2
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 386

#3
Adis Profile Picture

Adis 259 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans