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

Community site session details

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

Deleted model objects still showing while check find all references

(0) ShareShare
ReportReport
Posted on by 107

Hi All,

I completely removed one model and did the synchronize and everything is fine. All the deleted model objects are disappeared from Application Explorer. 

But later while I do find all references for PurchReqTable form I found the deleted model objects in the result. If I click on those object it's not navigating. I am afraid those deleted model changes still available.

Your support is much appreciated.

Regards,

Mohamed Riswan.

I have the same question (0)
  • Riswan Profile Picture
    107 on at
    RE: Deleted model objects still showing while check find all references

    Thanks Martin.

    Thanks Judy and Shwetha, I already did the mentioned recommendations to remove the model.

  • Verified answer
    Martin Dráb Profile Picture
    236,182 Most Valuable Professional on at
    RE: Deleted model objects still showing while check find all references

    It's used only for developers to see references in Visual Studio; it has no impact on deployment to other environments.

    But you still may want to clean up the database to avoid confusing when using references in Visual Studio in this particular development environment.

  • Riswan Profile Picture
    107 on at
    RE: Deleted model objects still showing while check find all references

    Hi Martin,

    Yes those deleted objects are available in the DYNAMICSXREFDB. Do I need to delete them explicitly from that DB too to avoid any confusions ?

    If I keep them as such will it make any issues while moving my packages to the sandbox or production ?

    Regards,

    Mohamed Riswan

  • Shwetha Sanjeev Profile Picture
    120 on at
    RE: Deleted model objects still showing while check find all references

    HI Riswan,

    Did you followed the same steps below mentioned,

    1. Close all instances of Visual Studio.

    2. Stop the following services: AOS web service and Batch Management service.

    3. Delete the package folder C:\AOSService\PackagesLocalDirectory\MyModel1. On cloud-hosted environments this folder may be located on another drive letter such as K:.

    4.Restart the services that you stopped in step 1.

    5.Refresh models from Visual Studio

    6.In Visual Studio, perform a full database synchronization (Visual Studio > Dynamics 365 > Synchronize database).

    Restarting of AOS web service and Batch Management service is important.

    Let me know if you are still facing this problem.

    Thanks,

    Shwetha

  • Suggested answer
    huijij Profile Picture
    19,811 on at
    RE: Deleted model objects still showing while check find all references

    Hi Riswan,

    In addition to the above suggestions. Are you trying the steps mentioned below to delete the model?

    www.cloudfronts.com/.../

  • Suggested answer
    Martin Dráb Profile Picture
    236,182 Most Valuable Professional on at
    RE: Deleted model objects still showing while check find all references

    If you completely delete a model, its files don't exist and aren't available anymore.

    The feature showing references doesn't look at objects available in your applications. It reads information written in DYNAMICSXREFDB database.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

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

#1
CA Neeraj Kumar Profile Picture

CA Neeraj Kumar 2,339

#2
André Arnaud de Calavon Profile Picture

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

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 600 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans