Home SALESFORCEConfiguration How to add the new line in Salesforce Custom Label

How to add the new line in Salesforce Custom Label

Create a new Custom Label using below path:

Under Setup-> Build -> Create -> Custom Labels -> Click New and create a new custom Label called ‘With Line Break’

custom-label

Add the Value like:

Thanks & Regards, <br/>
TheBlogReaders.com Team <br/>
Testing by TheBlogReaders.com <br/>

and Save it.

How to Use the Custom Label in Visualforce Page:

<apex:outputText value=”{!$Label.With_Line_Break}” escape=”false” /> make sure escape=”false”

Results should be like below:

custom-label-result

You may also like

Leave a Comment