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
rsoesersoese 

Open Contract with Field=Value from Opportunity

To model a 1-to-1 relationship between opportunities and contracts I added a custom field to each object.
The field "contractID" in Contract defines the ID of a contract, the "refContractID" in each Opportunity defines which contract belongs to this opportunity.

Now I am trying to add a custom button / link to each opportunities detail page that directly opens its associated  contract.

Although I figured out, that this task will require some kind of URL S-control and some javascript (for frame handling) I could not figure out how to open a contract where a certain field has a certain value.

Can you help?

Thanks in advance,

Robert