Skip to main content
Solved

URL field

  • April 23, 2024
  • 2 replies
  • 92 views

Hello world, 

I created a custom URL type field, and it is pre-populated with two fields: one to enter the URL and another field to enter a Title. Is it possible to add a default name in the Title field?

 

Thank you :)

Jess

Best answer by Manuel

You can yes, you can set a default value “based on a formula”, and specify it this way:

 

HyperLink('https://xxxxxxxx.lightning.force.com/lightning/r/Opportunity/'+ Right($C_SFExternalID,18) +'/view','Salesforce Link')

 

This is an example where I create a link to a Salesforce opportunity, and add the default label “Salesforce Link” for all).

This topic has been closed for replies.

2 replies

Forum|alt.badge.img
  • Bronze Active Participant
  • Answer
  • April 29, 2024

You can yes, you can set a default value “based on a formula”, and specify it this way:

 

HyperLink('https://xxxxxxxx.lightning.force.com/lightning/r/Opportunity/'+ Right($C_SFExternalID,18) +'/view','Salesforce Link')

 

This is an example where I create a link to a Salesforce opportunity, and add the default label “Salesforce Link” for all).


  • Author
  • May 9, 2024

Thanks Manuel