function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
sean*harrisonsean*harrison 

Action.Object.New not working - when should it?

I'm trying to do a urlFor on $Action.Case.New but getting a Field does not exist error. Mmmm... I see examples of using $Action.Account.New or $Action.Contact.New but having difficulty finding the documentation on which Objects support which actions. Can someone point me in the right direction? Thanks!

Best Answer chosen by Admin (Salesforce Developers) 
bob_buzzardbob_buzzard

The supported actions are documented in the help at:

 

https://na6.salesforce.com/help/doc/en/dev_action_values.htm

 

replace the na6 bit with your instance. 

All Answers

bob_buzzardbob_buzzard

The supported actions are documented in the help at:

 

https://na6.salesforce.com/help/doc/en/dev_action_values.htm

 

replace the na6 bit with your instance. 

This was selected as the best answer
sean*harrisonsean*harrison

ha! Thanks, Bob. I'm always going to the API docs first when Help often has the answer. Need to change habits.

 

Mmmm... This says $Action.Case.New should be available but I'm getting an error. Will have to look closer here...

bob_buzzardbob_buzzard

Interesting.  If you are still stuck can you post your code and error message?