r/SalesforceDeveloper • u/phoenix_ashh • 5d ago
Question Need help..

I want to update the code in the existing class, Whenever i hit the ctrl+s, i get this error, I got the updated code from the muse ai.
I'm not sf dev or admin, I work in an org where I was internal POC with the sf partner who did the implementation but left lot's of things pending and I just want to get this 1 issue resolved.
Thanks in advance.
0
Upvotes
3
2
u/knight8mare 4d ago
U must be an AI era developer
1
u/phoenix_ashh 4d ago
I never said or mentioned that I’m a developer, I’m just trying to solve a small issue.
2
3
u/jbawgs 4d ago
You can't update apex classes in production. They have to be deployed with test coverage from the CLI, a Changeset, or devops/lifecycle center.
With your level of experience I would guess that changesets would be simplest for you.
Google how to create and deploy a change set.