r/SalesforceDeveloper • • 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

8 comments sorted by

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.

2

u/phoenix_ashh 4d ago

Thank you…lemme research on this and try this. Thanks for your reply 💫

1

u/jbawgs 2d ago

Did you have any luck?

3

u/MaesterTuan 4d ago

Is this production org? LOL

1

u/phoenix_ashh 4d ago

yup 🥲🥹

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

u/couch-potato-67 3d ago

You can’t do oil change while driving.