Skip to Content

TheBlogReaders.com

Salesforce.com, PHP, MySQL, Javascript, Ajax, Htacces

How to add the new line in Salesforce Custom Label

Be First!

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

(3478)

Previous
Next

Leave a Reply