Loading

Combine Text Fields and External Links From a Salesforce URL Field

Date de publication: Apr 9, 2025
Description

You can create a Salesforce formula field with a return type of 'Text' that will combine any text fields and any links from a URL field.

Résolution

For example, you have a URL field called 'URLfield__c' that has a value of 'www.salesforce.com' and a text field that has a field name of 'Textfield__c' with a value of 'Test'.

This is the sample formula that you can create:

         HYPERLINK("https://"+ URLfield__c, Textfield__c,'_blank')


The expected results on the formula field:

Test (with a clickable link that opens up a new tab from your current browser to take you to the link that you have specified in the URL field)

Numéro d’article de la base de connaissances

000381087

 
Chargement
Salesforce Help | Article