function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Heather FigurskiHeather Figurski 

Formula field to change a field populated with http: to https:

I have a url field that is populated by a third party integration.  This field uses http: to populate the url link.  I would like to convert the http: portion of the url to https: maintaining the remaining url information.  Can this be done?
Best Answer chosen by Heather Figurski
Hargobind_SinghHargobind_Singh

You can create a new formula field, and use SUBSTITUTE function to replace http with https. Here is more informtion: 


https://www.salesforce.com/us/developer/docs/pages/Content/pages_variables_functions.htm

All Answers

Hargobind_SinghHargobind_Singh

You can create a new formula field, and use SUBSTITUTE function to replace http with https. Here is more informtion: 


https://www.salesforce.com/us/developer/docs/pages/Content/pages_variables_functions.htm

This was selected as the best answer
Heather FigurskiHeather Figurski
That did it.  Thank you.
Mano sfdcMano sfdc
Hi Heather,

Can please post, how you achieve this.