From 01432743334880760ac22c7e3330bc945ee06e70 Mon Sep 17 00:00:00 2001 From: arnoldezeolisa <33605318+arnoldezeolisa@users.noreply.github.com> Date: Fri, 16 Sep 2022 06:10:46 -0500 Subject: [PATCH] updated sync record to use relative links to records (#765) * updated sync record to use relative links to records * Using ID reference for the URL Co-authored-by: Mike Bianco --- .../Sync_Record__c/fields/Primary_Record__c.field-meta.xml | 4 ++-- .../Sync_Record__c/fields/Secondary_Record__c.field-meta.xml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sfdx/force-app/main/default/objects/Sync_Record__c/fields/Primary_Record__c.field-meta.xml b/sfdx/force-app/main/default/objects/Sync_Record__c/fields/Primary_Record__c.field-meta.xml index 133c19da26..7189fd148e 100644 --- a/sfdx/force-app/main/default/objects/Sync_Record__c/fields/Primary_Record__c.field-meta.xml +++ b/sfdx/force-app/main/default/objects/Sync_Record__c/fields/Primary_Record__c.field-meta.xml @@ -2,11 +2,11 @@ Primary_Record__c false - HYPERLINK(LEFT($Api.Partner_Server_URL_260, FIND( '/services', $Api.Partner_Server_URL_260)) + "lightning/r/" + Primary_Object_Type__c + "/" + Primary_Record_ID__c + "/view", Primary_Record_ID__c) + HYPERLINK(Primary_Record_ID__c, Primary_Record_ID__c) BlankAsZero false false Text false - + \ No newline at end of file diff --git a/sfdx/force-app/main/default/objects/Sync_Record__c/fields/Secondary_Record__c.field-meta.xml b/sfdx/force-app/main/default/objects/Sync_Record__c/fields/Secondary_Record__c.field-meta.xml index 20390c0a08..f7bd5c85e3 100644 --- a/sfdx/force-app/main/default/objects/Sync_Record__c/fields/Secondary_Record__c.field-meta.xml +++ b/sfdx/force-app/main/default/objects/Sync_Record__c/fields/Secondary_Record__c.field-meta.xml @@ -2,11 +2,11 @@ Secondary_Record__c false - HYPERLINK(LEFT($Api.Partner_Server_URL_260, FIND( '/services', $Api.Partner_Server_URL_260)) + "lightning/r/" + Secondary_Object_Type__c + "/" + Secondary_Record_ID__c + "/view", Secondary_Record_ID__c) + HYPERLINK(Secondary_Record_ID__c, Secondary_Record_ID__c) BlankAsZero false false Text false - + \ No newline at end of file