You need to sign in to do that
Don't have an account?
Sam Wilson 16
Custom button URL hack - can prepopulate other lookup fields but not contact on custom object
We have a custom object called Feedback that has lookups to both Contacts and Opportunities. Feedback records are created from Opportunities using a custom button URL hack.
The custom button populates the Opportunity lookup and Date fields on a new Feedback record but won't populate the Contact lookup.
The Contact entry should be coming from the custom lookup field on Opportunities called Primary Contact (which is auto-populated with the Primary Contact Role using flows).
My custom button URL is
Any help would be greatly appreciated!
The custom button populates the Opportunity lookup and Date fields on a new Feedback record but won't populate the Contact lookup.
The Contact entry should be coming from the custom lookup field on Opportunities called Primary Contact (which is auto-populated with the Primary Contact Role using flows).
My custom button URL is
/a0V/e? CF00N6E000000h3Cz={!Opportunity.Primary_Contact__c} &CF00N6E000000h3Cz_lkid={!Opportunity.Primary_ContactId__c} &00N6E000000h2HU={!TODAY()} &CF00N6E000000h2ID={!Opportunity.Name} &CF00N6E000000h2ID_lkid={!Opportunity.Id} &retURL=%2F{!Opportunity.Id}
Any help would be greatly appreciated!
- You can pre-populate any field using custom URLs
http://raydehler.com/cloud/clod/salesforce-url-hacking-to-prepopulate-fields-on-a-standard-page-layout.htmlThanks
Rahul Kumar