Options for Configurable Link
Store links/URLs in Custom Settings - Custom Settings are accessible in flows, classic email templates and formula fields. Custom setting values are data rather than metadata, like normal object records.
Store links/URLs in Custom Labels - Custom Labels are accessible in flows, classic email templates and formula fields. Custom label values are part of metadata and so when editing values, it is a metadata change.
Dynamically determine using Apex - this is a complicated approach and would entail converting affected email templates to Visualforce Template, and additional invokable controller class in case of Lightning Flows.
Dynamically determine using formula - The only known approach is by parsing the $Api partner URL. But this function does not work in email templates.
NOTE: Rows that are highlighted with PEACH color means it is affected by the Enhanced Domain.
Section 1: Hardcoded Salesforce URLs that CAN Be Converted to Configurable Settings (i.e. via Custom Label or Custom Settings)
...
Team
...
Metadata
...
Type
...
Occurrences
...
URL
...
Comments
...
Table of Contents | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
Types of URLs/Links
Configurable Salesforce URLs/Links - these are Salesforce URLs that are found in programmable components, like email templates (via SML or HML), flows, etc.
Non-Configurable Salesforce URLs/Links - these are Salesforce URLs that are found in non-programmable components like Lightning Page Rich Text container, connected app related URLs, URLs that are found in static context like report description, etc.
Configurable External URLs/Links - these are non-Salesforce URLs that are found in programmable components, like email templates (via SML or HML), flows, etc.
Non-Configurable External URLs/Links - these are non-Salesforce URLs that are found in non-programmable components like Lightning Page Rich Text container, connected app related URLs, URLs that are found in static context like report description, etc.
Options for Configurable Link
Store links/URLs in Custom Settings - Custom Settings are accessible in flows, classic email templates and formula fields. Custom setting values are data rather than metadata, like normal object records.
Store links/URLs in Custom Labels - Custom Labels are accessible in flows, classic email templates and formula fields. Custom label values are part of metadata and so when editing values, it is a metadata change.
Dynamically determine using Apex - this is a complicated approach and would entail converting affected email templates to Visualforce Template, and additional invokable controller class in case of Lightning Flows.
Dynamically determine using formula - The only known approach is by parsing the $Api partner URL. But this function does not work in email templates.
Code Block |
---|
SUBSTITUTE(LEFT($Api.Partner_Server_URL_570, FIND( '/services', $Api.Partner_Server_URL_570)), '.my.salesforce.com', '.lightning.force.com') |
NOTE: Rows that are highlighted with PEACH color means it is affected by the Enhanced Domain.
...
Section 1: Hardcoded Salesforce URLs that CAN Be Converted to Configurable Settings (i.e. via Custom Label or Custom Settings)
Team | Metadata | Type | Occurrences | URL | Comments | Dev Status | Post Sandbox Refresh Maintenance? | ||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Hogwarts | email\Spend_Plan_Email_Templates\Delegate_Decision_Changes_Needed.email | Email Template | 1 | https://sydneyuni-adv--spendplan--c.documentforce.com/email/templaterenderer?id=00X8r000000Gzif&base_href=https%3A%2F%2Fsydneyuni-adv--spendplan.my.salesforce.com&preview_frame=previewFrame&render_type=REPLACED_HTML_BODY&setupid=CommunicationTemplatesEmail |
| YES - need to manually update the URL hyperlink every refresh of SIT/UAT | ||||||||||||||||||||||
2 | Hogwarts | email\Spend_Plan_Email_Templates\DelegateGeneral_DecisionPurpose_Changes_NeededTemplate.email | Email Template | 1 | https://sydneyuni-adv--spendplan--c.documentforce.com/email/templaterenderer?id=00X8r000000Gzif&base_href=https%3A%2F%2Fsydneyuni//sydneyuni-adv--spendplan.my.salesforce.com&preview_frame=previewFrame&render_type=REPLACED_HTML_BODY&setupid=CommunicationTemplatesEmail | Hidden. Can be skipped | 2/p/email/template/EmailTemplateEditorUi/{!Spending_Plan__c.Link} | A link that points to SF email template editor. This is incorrect. |
| YES - need to manually update the URL hyperlink every refresh of SIT/UAT | |||||||||||||||||||
3 | Hogwarts | email\Spend_Plan_Email_Templates\General_Purpose_TemplateReview_Spend_Plan_Request_a_Review.email | Email Template | 1 | https://sydneyuni-adv--spendplan--c.documentforce.com/email/templaterenderer?id=00X8r000000Gzif&base_href=https%3A%2F%2Fsydneyuni-adv--spendplan.my.salesforce.com/p/email/template/EmailTemplateEditorUi/{!Spending_Plan__c.Link} | A link that points to SF email template editor. This is incorrect. | |||||||||||||||||||||||
3 | Hogwarts | email\Spend_Plan_Email_Templates\Review_Spend_Plan_Request_a_Review.email | Email Template | 1 | https://sydneyuni-adv--spendplan--c.documentforce.com/email/templaterenderer?id=00X8r000000Gzif&base_href=https%3A%2F%2Fsydneyuni-adv--spendplan.my.salesforce.com&preview_frame=previewFrame&render_type=REPLACED_HTML_BODY&setupid=CommunicationTemplatesEmail | Hidden. Can be skipped | |||||||||||||||||||||||
4 | TAP | flows\Batch_on_update_status_is_changed_to_returned_to_processor&preview_frame=previewFrame&render_type=REPLACED_HTML_BODY&setupid=CommunicationTemplatesEmail | Hidden. Can be skipped |
| YES - need to manually update the URL hyperlink every refresh of SIT/UAT | ||||||||||||||||||||||||
4 | TAP | flows\Batch_on_update_status_is_changed_to_returned_to_processor.flow-meta.xml | Flow | 2 | https://sydneyuni-adv--sandbox.lightning.force.com/{!$Record.Id} | Pointing to an unknown sandbox. Flow is inactive. |
| ||||||||||||||||||||||
5 | TAP | flows\Case_After_Update_Gift_Related_Change_Closed.flow-meta.xml | Flow | 21 | https://sydneyunijoe-advaq-dev-sandboxed.lightning.force.com/{!$Record.Id} | Pointing to an unknown sandbox. | 5Flow is inactive. |
| |||||||||||||||||||||
6 | TAP | flows\Case_After_Update_Gift_Related_Change_ClosedNewCOA.flow-meta.xml | Flow | 1 | https://joesydneyuni-aqadv-dev-edjoesandbox.lightning.force.com/{!$Record.IdcreateCOA} | Pointing to an unknown sandbox. | 6. Flow variable using the URL is not in use. |
| |||||||||||||||||||||
7 | TAP | flows\NewCOA.flow-meta.xml | Flow | 1 | https://sydneyuni-adv--joesandbox.lightning.force.com/{!createCOA} | Pointing to an unknown sandbox. | 7 | TAP | flows\NewCOAPoints to production |
| No - This is dynamic | ||||||||||||||||||
8 | TAP | flows\Opportunity_After_Save_On_Create_On_Update.flow-meta.xml | Flow | 1 | https://sydneyuni-adv.lightning.force.com/{!createCOA$Record.Id} | Points to production | 8
| No - This is dynamic | |||||||||||||||||||||
9 | TAP | flows\OpportunityUsyd_AfterContact_SaveAddress_On_Create_On_UpdateHistory_Tracking.flow-meta.xml | Flow | 12 | https://sydneyuni-adv.lightning.force.com/{!$RecordGet_Duplicate_Review_Outcome_with_Not_enough_information.Id} | Points to production | 9 | TAP | flows\Usyd_Contact_Address_History_Tracking.flow-meta.xml | Flow | 2 | https://sydneyuni-adv.lightning.force.com/{!Get_Duplicate_Review_Outcome_with_Not_enough_information.Id} | Points to production
|
| No - This is dynamic | ||||||||||||||
10 | TAP | flows\Usyd_Delegate_Acceptance_when_checked_send_alert.flow-meta.xml | Flow | 6 | https://sydneyuni-adv.lightning.force.com/ | Points to productionto production |
| No - This is dynamic | |||||||||||||||||||||
11 | TAP | flows\USYD_Service_Portal.flow-meta.xml | Flow | 1 | https://sydneyuni-adv.lightning.force.com | Points to production |
| No - This is dynamic | |||||||||||||||||||||
12 | TAP | objects\AQB__Batch__c\webLinks\Pledge_Schedule_Review.webLink-meta.xml | webLink | 1 | https://sydneyuni-adv.lightning.force.com/lightning/r/report/00O4a000000M7KqEAK/view?fv0={!AQB__Batch__c.USyd_Batch_ID__c} | Points to a report in production |
| No - This is dynamic | |||||||||||||||||||||
13 | TAP | objects\AQB__Batch__c\webLinks\Usyd_Batch_Account_Phone_Report.webLink-meta.xml | webLink | 1 | https://sydneyuni-adv.lightning.force.com/lightning/r/Report/00O8v000000JSkWEAW/view?fv0={!AQB__Batch__c.Id} | Points to a report in production |
| No - This is dynamic | |||||||||||||||||||||
14 | TAP | objects\AQB__Batch__c\webLinks\USYD_Batch_Review_Report.webLink-meta.xml | webLink | 1 | https://sydneyuni-adv.lightning.force.com/lightning/r/Report/00O4a000000MRDwEAO/view | Points to a report in productionto a report in production |
| No - This is dynamic | |||||||||||||||||||||
15 | TAP | objects\AQB__LLChartofAccounts__c\webLinks\COA_Report.webLink-meta.xml | webLink | 1 | https://sydneyuni-adv.lightning.force.com/lightning/r/Report/00O8v000000JQGKEA4/view?fv0={!AQB__LLChartofAccounts__c.AQB__DesignationAccountNumberGroupThree__c} | Points to a report in production |
| No - This is dynamic | |||||||||||||||||||||
16 | TAP | objects\AQB__LLChartofAccounts__c\webLinks\Usyd_Open_Pledge_Records.webLink-meta.xml | webLink | 1 | https://sydneyuni-adv.lightning.force.com/lightning/r/Report/00O8v000000JT7QEAW/view?fv3={!AQB__LLChartofAccounts__c.Id} | Points to a report in production |
| No - This is dynamic | |||||||||||||||||||||
17 | TAP | objects\AQB__Receipt__c\webLinks\USYD_New_Task.webLink-meta.xml | webLink | 1 | https://sydneyuni-adv.lightning.force.com/lightning/o/Task/new?count=1&nooverride=1&useRecordTypeCheck=1&navigationLocation=LIST_VIEW | Points to production |
| No - This is dynamic |
...
Section 2: Hardcoded Salesforce URLs that Need Fixing
Team | Metadata | Type | Occurrences | URLComments | Comments | Dev Status | Post Sandbox Refresh Maintenance? | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Wellbeing | email\sumoapp__SUMO_Templates\USYDAppointmentBookedSumoUser.email | Email Template | 1 | https://sydneyuni-adv--simplus.my.salesforce.com/p/email/template/EmailTemplateEditorUi/safer-communities.officer@sydney.edu.au | Link is incorrect. Should be changed to "mailto" protocol |
| No - This is dynamic | ||||||
2 | Wellbeing | email\sumoapp__SUMO_Templates\USYDAppointmentCanceled.email | Email Template | 1 | https://sydneyuni-adv--simplus.my.salesforce.com/p/email/template/EmailTemplateEditorUi/safer-communities.officer@sydney.edu.au | Link is incorrect. Should be changed to "mailto" protocol |
| No - This is dynamic | ||||||
3 | Wellbeing | email\sumoapp__SUMO_Templates\USYDAppointmentReminder.email | Email Template | 3 | https://sydneyuni-adv--simplus--c.documentforce.com/email/safer-communities.officer@sydney.edu.au | Link is incorrect. Should be changed to "mailto" protocol |
| No - This is dynamic | ||||||
4 | Wellbeing | email\sumoapp__SUMO_Templates\USYDAppointmentUpdatedCustomer.email | Email Template | 3 | https://sydneyuni-adv--simplus--c.documentforce.com/email/safer-communities.officer@sydney.edu.au | Link is incorrect. Should be changed to "mailto" protocolto "mailto" protocol |
| No - This is dynamic | ||||||
5 | Wellbeing | email\sumoapp__SUMO_Templates\USYDAppointmentUpdatedSumoUser.email | Email Template | 1 | https://sydneyuni-adv--simplus.my.salesforce.com/p/email/template/EmailTemplateEditorUi/safer-communities.officer@sydney.edu.au | Link is incorrect. Should be changed to "mailto" protocol |
| No - This is dynamic |
NOTE: Identified email templates need to be modified to correct the link.
...
Section 3: Hardcoded Salesforce URLs that CANNOT Be Converted to Configurable Settings
Team | Metadata | Type | Occurrences | URL | Comments | Dev Status | Post Sandbox Refresh Maintenance? | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | TAP | flexipages\Home_Page1.flexipage-meta.xml | Lightning Page | 1 | https://sydneyuni-adv.force.com/serviceportal | Link is in a RichText container. Content is fixed and cannot be dynamic, unless changed to LWC.changed to LWC. |
| No - This is dynamic Richtext container was replaced with USYD_Home_Service_Portal_Links flow | ||||||
2 | N/A | reports\PersonalFolderJamesMcGloin\NQ_readiness_status_with_end_date.report-meta.xml | Report | 1 | https://sydneyuni-adv.lightning.force.com/lightning/r/Account/0014a000007me2WAAQ/view | Part of the report description. Can be skipped |
| |||||||
3 | N/A | reports\PersonalFolderJamesMcGloin\PM_NQ_readiness_status_w_end_date_draft.report-meta.xml | Report | 1 | https://sydneyuni-adv.lightning.force.com/lightning/r/Account/0014a000007me2WAAQ/view | Part of the report description. Can be skipped |
| |||||||
4 | N/A | reports\PersonalFolderJamesMcGloin\SSC_names_with_a_GIW.report-meta.xml | Report | 1 | https://sydneyuni-adv.lightning.force.com/lightning/r/Report/00O8v000000KAnKEAW/view?queryScope=userFolders | Part of the report description. Can be skipped |
| |||||||
5 | N/A | default\connectedApps\Snowflake_API.connectedApp-meta.xml | Connected App | 1 | https://test.salesforce.com/services/oauth2/callback | To cater oauth callback in sandboxes |
| |||||||
6 | N/A | default\connectedApps\Snowflake_API.connectedApp-meta.xml | Connected App | 1 | https://login.salesforce.com/services/oauth2/callback | To cater oauth callback in production |
| |||||||
7 | N/A | connectedApps\talend_app.connectedApp-meta.xml | Connected App | 1 | https://login.salesforce.com/services/oauth2/success | To cater oauth callback in production |
| |||||||
8 | N/A | samlssoconfigs\UniKey_Login.samlssoconfig-meta.xml | SSO - oauthTokenEndpoint | 1 | https://sydneyuni-adv.my.salesforce.com/services/oauth2/token | SSO Config. Always differs and part of post sandbox refresh |
| |||||||
9 | N/A | samlssoconfigs\UniKey_Login.samlssoconfig-meta.xml | SSO - salesforceLoginUrl | 1 | https://sydneyuni-adv.my.salesforce.com | SSO Config. Always differs and part of post sandbox refresh |
| |||||||
10 | N/A | samlssoconfigs\UniKey_Login.samlssoconfig-meta.xml | SSO - samlEntityId | 1 | https://sydneyuni-adv.my.salesforce.com | SSO Config. Always differs and part of post sandbox refresh |
| |||||||
11 | N/A | samlssoconfigs\UNIKEY_LOG_IN.samlssoconfig-meta.xml | SSO - oauthTokenEndpoint | 1 | https://sydneyuni-adv.my.salesforce.com/services/oauth2/token | SSO Config. Always differs and part of post sandbox refreshrefresh |
| |||||||
12 | N/A | samlssoconfigs\UNIKEY_LOG_IN.samlssoconfig-meta.xml | SSO - salesforceLoginUrl | 1 | https://sydneyuni-adv.my.salesforce.com | SSO Config. Always differs and part of post sandbox refresh |
| |||||||
13 | N/A | samlssoconfigs\UNIKEY_LOG_IN.samlssoconfig-meta.xml | SSO - samlEntityId | 1 | https://sydneyuni-adv.my.salesforce.com | SSO Config. Always differs and part of post sandbox refresh |
|
...
Section 4: Hardcoded External URLs that CAN Be Converted to Configurable Settings (i.e. via Custom Label or Custom Settings)
Team | Metadata | Type | Occurrences | URL | Comments | Dev Status | Post Sandbox Refresh Maintenance? | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Wellbeing | email\SaferCommunitiesEmailTemplates\Student_Feedback_Survey_Email_Template_1655798337168.email | Lightning Email Template | 1 | https://sydney.au1.qualtrics.com/jfe/preview/SV_3WU4IRbS8nEsacB?Q_CHL=preview&Q_SurveyVersionID=current | Can be skipped if target URL is fixed/same between sandboxes. Lightning template don't support SML. Additional formula field may be needed in the target object if this needs to be configurable. |
| |||||||
2 | Hogwarts | email\Spend_Plan_Email_Templates\Delegate_Approval_Request_Decision_Text.email | Email Template | 1 | https://www.sydney.edu.au/policies/showdoc.aspx?recnum=PDOC2011/72&RendNum=0 | Can be skipped if target URL is fixed/same between sandboxes. |
| |||||||
3 | TAP | pathAssistants\Default_Opportunity.pathAssistant-meta.xml | pathAssistant | 1 | https://sydneyuni-adv--c.documentforce.com/servlet/rtaImage?eid=1CF4a00000001A6&feoid=Info&refid=0EM4a0000006snY | Fixed image link in richtext component |
| YES - need to manually update the URL hyperlink every refresh of SIT/UAT |
...
Section 5: Hardcoded external URLs that CANNOT Be Converted to Configurable Settings
Team | Metadata | Type | Occurrences | URLComments | Comments | Dev Status | Post Sandbox Refresh Maintenance? | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | TAP | flexipages\Home_Page1.flexipage-meta.xml | Lightning Page | 1 | https://unisyd.sharepoint.com/:p:/r/teams/JarvisKnowledgeHub/Shared%20Documents/General/9.%20Misc/New%20BI%20%26%20DRS%20Service%20Portal.pptx?d=w2d51ee9e0ab442af8e6f4ec79ce565d8&csf=1&web=1&e=T8mUxU | Link is in a RichText container. Content is fixed and cannot be dynamic, unless changed to LWC. |
| |||||
2 | Hogwarts | flexipages\Spending_Plan_Home_Page.flexipage-meta.xml | Lightning Page | 1 | https://divisionofalumnianddevelopment.atlassian.net/servicedesk/customer/portal/2/user/login?destination=portal%2F2 | Link is in a RichText container. Content is fixed and cannot be dynamic, unless changed to LWC. |
| |||||
3 | N/A | objects\Account\webLinks\AQB__AcccountDumpReport.webLink-meta.xml | webLink | 1 | https://www.appextremes.com/apps/Conga/Composer.aspx | Managed package. To be skipped |
| |||||
4 | N/A | objects\Spending_Plan__c\webLinks\test_pdf.webLink-meta.xml | webLink | 1 | https://service.apsona.com/sfdc/apsona_inline.min.js | No longer exist in production |
| |||||
5 | N/A | reports\PersonalFolderJamesMcGloin\EG_chart_of_account_by_CON_account.report-meta.xml | Report | 1 | https://intranet.sydney.edu.au/services/finance-management/chart-of-accounts/responsibility-centres.html | Part of the report description. Can be skipped |
| |||||
6 | N/A | reports\PersonalFolderNataliaUribeSyro\Identification\By_designation_Account_Number_Segment1.report-meta.xml | Report | 1 | https://intranet.sydney.edu.au/services/finance-management/chart-of-accounts/responsibility-centres.html | Part of the report description. Can be skipped |
| |||||
7 | N/A | reports\USYDCustomizableDashboardAppeals\Collaborative_Reports1\Dementia_Stewardship_Contacts.report-meta.xml | Report | 1 | https://www.sydney.edu.au/news-opinion/news/2022/09/30/sydney-professor-recognised-by-un-as-global-leader-in-ageing.html | Part of the report description. Can be skipped |
| |||||
8 | N/A | reports\USYD_Prospect_Development_Shared\Example_of_SIMPLE_search_by_giving_CODE.report-meta.xml | Report | 1 | https://intranet.sydney.edu.au/services/finance-management/chart-of-accounts/responsibility-centres.html | Part of the report description. Can be skipped |
| |||||
9 | N/A | reports\USYD_Prospect_Development_Shared\SIMPLE_search_by_giving_CODE1.report-meta.xml | Report | 1 | https://intranet.sydney.edu.au/services/finance-management/chart-of-accounts/responsibility-centres.html | Part of the report description. Can be skipped |
| |||||
10 | N/A | connectedApps\talend_app.connectedApp-meta.xml | Connected App | 1 | https://www.getpostman.com/oauth2/callback | Postman callback urlurl |
| |||||
11 | N/A | connectedApps\talend_app.connectedApp-meta.xml | Connected App | 1 | https://oauth.pstmn.io/v1/browser-callback | Postman callback url |
| |||||
12 | N/A | connectedApps\talend_app.connectedApp-meta.xml | Connected App | 1 | https://app.getpostman.com/oauth2/callback | Postman callback url |
| |||||
13 | N/A | iframeWhiteListUrlSettings\IframeWhiteListUrlSettings.iframeWhiteListUrlSettings-meta.xml | iframe Whitelist | 1 | https://sydneyuni-adv.lightning.force.com | Points to production. |
| |||||
14 | N/A | samlssoconfigs\UniKey_Login.samlssoconfig-meta.xml | SSO - LoginUrl | 1 | https://sso.sydney.edu.au/app/salesforce/exkfw1bwnGMbjFklu3l6/sso/saml | SSO Config. Always differs and part of post sandbox refresh |
| |||||
15 | N/A | samlssoconfigs\UniKey_Login.samlssoconfig-meta.xml | SSO - logoutUrl | 1 | https://sso.sydney.edu.au/login/signout | SSO Config. Always differs and part of post sandbox refresh |
| |||||
16 | N/A | samlssoconfigs\UniKey_Login.samlssoconfig-meta.xml | SSO - singleLogoutUrl | 1 | https://sso.sydney.edu.au/login/signout | SSO Config. Always differs and part of post sandbox refresh |
| |||||
17 | N/A | samlssoconfigs\UNIKEY_LOG_IN.samlssoconfig-meta.xml | SSO - LoginUrl | 1 | https://sts.sydney.edu.au/adfs/ls/ | SSO Config. Always differs and part of post sandbox refresh |
| |||||
18 | N/A | samlssoconfigs\UNIKEY_LOG_IN.samlssoconfig-meta.xml | SSO - singleLogoutUrl | 1 | https://sts.sydney.edu.au/adfs/ls/ | SSO Config. Always differs and part of post sandbox refresh |
| |||||
19 | N/A | Canvases\mule__dataloaderio_v2_oauth_c4s__dataloaderio_v2_oauth_c4sCanvas.Canvas-meta.xml | Canvas app | 1 | https://dataloader.io/static/canvas | Part of managed package. |
| |||||
20 | N/A | Canvases\mule__dataloader_io2_oauth_c4s__dataloader_io2_oauth_c4sCanvas.Canvas-meta.xml | Canvas app | 1 | https://dataloader.io/static/canvas | Part of managed package. |
| |||||
21 | N/A | dashboards\Data_quality_Management\kQZJiGRfUvFJJDkllMSZOpIadrLxEU1.dashboard-meta.xml | Dashboard | 1 | https://sydneyuni.atlassian.net/wiki/spaces/PHOEN/pages/2782199991/AVE-16+Contact+Types | Custom link in a dashboard component |
|