Play Games

Search This Blog

Wednesday, June 1, 2022

Use Custom Label in Custom link shown on the record detail page in salesforce - Salesforce Globe For You

Problem: Assume a report is created to show All accounts and the report id is 00O0o00000CGniXEAT as shown in the image below.


Now we need to show this report using custom link in Account object.

In order to make sure custom link should work while moving from one org to other org, we cannot hard code report id directly in custom link.

So we create custom label and store report it in it as shown below.


Solution: Use {!$Label.Account_Report_Id} as shown in the image below.

/{!$Label.Account_Report_Id}



No comments:

Post a Comment