Skip to content

Commit

Permalink
updated sync record to use relative links to records (#765)
Browse files Browse the repository at this point in the history
* updated sync record to use relative links to records

* Using ID reference for the URL

Co-authored-by: Mike Bianco <[email protected]>
  • Loading branch information
arnoldezeolisa and mbianco-stripe authored Sep 16, 2022
1 parent 0d3d896 commit 0143274
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Primary_Record__c</fullName>
<externalId>false</externalId>
<formula>HYPERLINK(LEFT($Api.Partner_Server_URL_260, FIND( &apos;/services&apos;, $Api.Partner_Server_URL_260)) + &quot;lightning/r/&quot; + Primary_Object_Type__c + &quot;/&quot; + Primary_Record_ID__c + &quot;/view&quot;, Primary_Record_ID__c)</formula>
<formula>HYPERLINK(Primary_Record_ID__c, Primary_Record_ID__c)</formula>
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
<label>Primary Record</label>
<required>false</required>
<trackTrending>false</trackTrending>
<type>Text</type>
<unique>false</unique>
</CustomField>
</CustomField>
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<CustomField xmlns="http://soap.sforce.com/2006/04/metadata">
<fullName>Secondary_Record__c</fullName>
<externalId>false</externalId>
<formula>HYPERLINK(LEFT($Api.Partner_Server_URL_260, FIND( &apos;/services&apos;, $Api.Partner_Server_URL_260)) + &quot;lightning/r/&quot; + Secondary_Object_Type__c + &quot;/&quot; + Secondary_Record_ID__c + &quot;/view&quot;, Secondary_Record_ID__c)</formula>
<formula>HYPERLINK(Secondary_Record_ID__c, Secondary_Record_ID__c)</formula>
<formulaTreatBlanksAs>BlankAsZero</formulaTreatBlanksAs>
<label>Secondary Record</label>
<required>false</required>
<trackTrending>false</trackTrending>
<type>Text</type>
<unique>false</unique>
</CustomField>
</CustomField>

0 comments on commit 0143274

Please sign in to comment.