From f6d3196c1b011f9e6c7379b7cc7a65aaa02958a5 Mon Sep 17 00:00:00 2001 From: Cid Date: Wed, 8 Jan 2025 15:07:46 -0500 Subject: [PATCH] Replace Namespace token to use %%%NAMESPACED_ORG%%% --- force-app/main/default/classes/GGW_ApplicationCtrl.cls | 2 +- .../fields/Application_Name__c.field-meta.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/force-app/main/default/classes/GGW_ApplicationCtrl.cls b/force-app/main/default/classes/GGW_ApplicationCtrl.cls index c5ec32e..278196a 100644 --- a/force-app/main/default/classes/GGW_ApplicationCtrl.cls +++ b/force-app/main/default/classes/GGW_ApplicationCtrl.cls @@ -392,7 +392,7 @@ public with sharing class GGW_ApplicationCtrl { Id sectionId = s; String objName = sectionId.getsobjecttype()+''; System.debug('### Obj: '+objName+' ID: '+s); - if(objName.equals('%%%NAMESPACE%%%GGW_Section__c')){ // Create new selected item junction for section + if(objName.equals('%%%NAMESPACED_ORG%%%GGW_Section__c')){ // Create new selected item junction for section res = true; } return res; diff --git a/force-app/main/default/objects/GGW_Grant_Application__c/fields/Application_Name__c.field-meta.xml b/force-app/main/default/objects/GGW_Grant_Application__c/fields/Application_Name__c.field-meta.xml index 27f86d8..0ca9c26 100644 --- a/force-app/main/default/objects/GGW_Grant_Application__c/fields/Application_Name__c.field-meta.xml +++ b/force-app/main/default/objects/GGW_Grant_Application__c/fields/Application_Name__c.field-meta.xml @@ -2,7 +2,7 @@ Application_Name__c false - HYPERLINK("/lightning/n/%%%NAMESPACE%%%GGW_Grant_Editor?c__uictx=page&c__recordId=" & Id, Name, "_self") + HYPERLINK("/lightning/n/%%%NAMESPACED_ORG%%%GGW_Grant_Editor?c__uictx=page&c__recordId=" & Id, Name, "_self") BlankAsZero false