• Erik Erikson
  • NEWBIE
  • 5 Points
  • Member since 2014

  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 0
    Questions
  • 1
    Replies

Hello,

 

I have the error : Error: Field $Action.Contact.New does not exist. Check spelling

 

My code is as follows :

<apex:commandButton Value="New Contact" action="{!URLFOR($Action.Contact.New, id )}"

 

Whereas it says in the documentation the new action for contacts should normally be supported :

https://na12.salesforce.com/help/doc/user_ed.jsp?section=help&target=dev_action_values.htm&loc=help&hash=topic-title&instance=NA12&release=178.16.2

 

Any ideas ?

(I found a workaround by using the hard-coaded URL for creating a contact but I would prefer to use Action if possible)

Thanks by advance !