Friday, 11 August 2017

Populate values in Edit layout with a detail page button



1) Create a detail page button on opportunity
2) Select URL as button type and enter the following

https://cs14.salesforce.com/a1j/e?CF00Nc0000001pb3E={!Opportunity.Name}&CF00Nc0000001pb3E_lkid={!Opportunity.Id}&CF00Nc0000001pb2i={!Account.Name}&CF00Nc0000001pb2i_lkid={!Account.Id}&CF00Nc0000001pb3Y={!User.Name}&CF00Nc0000001pb3Y_lkid={!User.Id}

3) For populating lookup value append the id with  _lkid,
   Where those id are the id of the fields those will populate on selecting lookup window

4) Those get's populated with the current detail page values.








No comments:

Post a Comment