Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Answered

UDE getting an error that new class does not exist

(1) ShareShare
ReportReport
Posted on by 53
Hello, 
 
We got our first try on a UDE and to test it out I created a simple runnable class that will display info.  When I tried to run it, I got the error below.  I have the "synchronized with database" options enabled on the project, on build and even tried to run the synchronize with database on the module.  
 
I also tried to create a simple list screen and got the same error. 
 
I also tried to create a simple table and then use the open table browser option; I got the same error - table does not exists.  
 
I connected to the database using the jti connection string thru azure data studio, I don't see the test table I created. So, it looks like an issue with db synchronization. :( 
 
I am new to D365 development, any help is very much appreciated. 
 
I am using visual studio community 2022, running it as administrator. 
 
Thanks a lot! 
 
Joseph 
 
  • MacNeg Profile Picture
    MacNeg 53 on at
    UDE getting an error that new class does not exist
    Thanks a lot Martin, it worked. :) 

    So with the UDE setup, everytime code changes are made, I have to deploy it to the cloud, which means the environment is unavailable until the deployment is done? Is there a way to do debugging and testing on the client side?  (for a faster development).
     
    Thanks! 
     
  • Verified answer
    Martin Dráb Profile Picture
    Martin Dráb 230,445 Most Valuable Professional on at
    UDE getting an error that new class does not exist
    This has nothing to do with DB sync, but you apparently haven't deployed your code to the environment.
     
    You can do it manually by Dynamics 365 > Deploy > Deploy Models to Online Environment. You can also tick Deploy to connected online environment in the Full build dialog.
     
    (Moved from Integration, Dataverse, and general topics forum.)

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,391 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,445 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans