function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
NattyForceNattyForce 

Master-Detail Behavior

I have a field on a Master-Detial object that is being populated by a custom button using a URL. The child object is a junction object connecting Accounts and our custom Event object. The junction object is storing RSVPs to these events. The URL automatically pulls the Name and County data stored on the Account. The County is used to then search for Events within that County. We have a problem where every time Harris county is pulled it defaults to the first event with the word 'harris' in it. Is there a way of ensuring that only the County is pulled into this field? 

 

Hopefully I'm explaining this in a way that makes sense. Here is my URL

 

https://na7.salesforce.com/a0F/e?CF00NA0000004JwQp={!Account.Name}&CF00NA0000004JwQp_lkid={!Account.Id}&CF00NA0000004JwRJ={!Account.Physical_County__c}&saveURL=%2F{!Account.Id}&retURL=%2F{!Account.Id}

 

-Natty