1

I have ran into a unique issue here. I have Object A which contains a URL button that pre-populates a custom lookup field on Object B. However, I have a URL button on Object B that must pre-populate a custom lookup field on Object C.

The lookup field on Object C needs to be whatever the lookup field on Object B is.

How do I populate the custom lookup field on Object C with the required Name and ID of a record from the custom lookup field on Object B.

Example of the nonfunctional URL.

&CF00Na000000B7vs7_lkid={!ObjectB.Lookupfield__c.Id}&CF00Na000000B7vs7={!ObjectB.Lookupfield__c.Name}
  • 1
    When you click the button what is the resulting URL? – Jenny B Dec 1 '15 at 20:51
  • I cannot save the URL logic, gives me an error stating: Field ObjectB.Lookupfield__c.Id does not exist. :( – All about the W Dec 1 '15 at 20:55
  • 1
    When you are creating the button and looking through the merge fields do you see LookupfieldId__c and a Lookupfield__c? If yes, try those, havent' tried it myself but thinking it might work. – Jenny B Dec 1 '15 at 21:00
  • 1
    Totally worked! I completely overlooked the insert merge field stuff, thanks again! Post it as an answer so I can mark it as one please. – All about the W Dec 1 '15 at 21:07
3

When you are creating the button and looking through the merge fields do you see LookupfieldId__c and a Lookupfield__c? If yes, try those.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.