Print this page

Limitations on changing owners by syntax $Action.Entity.ChangeOwner.

Knowledge Article Number 000232454
Description If you're trying to change owners by using syntax , find out more about the limitations you may run into.
Resolution "Lead", "Custom Entity" are not available on using the ChangeOwner action. 

For example, Lead isn't available:
 
action="{!URLFOR($Action.Lead.ChangeOwner, Lead.Id)}"

 
To change owners on "Lead", "Case" or "Custom Entity", use the syntax below: 
 
action="/{!Entity.id}/a?retURL=/{!Entity.id}"


For example, Lead:
 
action="/{!Lead.id}/a?retURL=/{!Lead.id}"


Additional Explanation:

The workaround is to change the URL to the record change owner page: xx.salesforce.com/Record-Id/a
"/a" is the key and must be included in the URL. 
For example (Lead record change owner page): https://xx.salesforce.com/00Qxx00000xxxxx/a
 




promote demote