Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

Why am I getting a syntax error: Field object. id does not exist. Check spelling while trying to create a button for an apex class with Javascript attached.

Asked by Dan Peters Aug 28, 2023 980 views 1 answer
Share

About this question

I was trying to create a button with force apex execute. However, an error popped up: syntax error: Field object.id does not exist. Check spelling. What is missing here? Also, what is [removed]?href= looking for?

Your answer

1 Answer

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.