set standard field to default value - Answers - Salesforce Trailblazer Community
Trailblazer Community
Ask Search:
CRM AdminCRM Admin 

set standard field to default value

Hi,
I want to set a default value to a standard field on the custom object.

a) If i need to use a visual force page. Please let me know on page load, in the UI how we can set a default value
b) How can we search on a formula field

Thanks for your help.

Nik PanterNik Panter
You can set standard values on the field itself, right within the field's properties.  The following type of fields can have a default value:
Set up default field values for the following types of custom fields:
  • Checkbox
  • Currency
  • Date
  • Date/Time
  • Email
  • Number
  • Percent
  • Phone
  • Picklist (use the default option when setting up the picklist)
  • Text
  • Text Area
  • URL

 
Marion JourdanMarion Jourdan
I know this is an old thread but how to you set a standard value to the URL field then ? 
You mention in the field's properties ... since it is a standard field there's only "edit" with options to only edit the description and field name.

Now on the page layout, the field properties are "read only" and "required" tickboxes.
Where is the option to create a default value for it ? 
Is is possible to tell where it is ? (example in Setup > Customization > etc etc) 

Thanks