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
MadboyMadboy 

Formula in custom tab

Is it possible to create a dynamic URL in custom tab based on user profile?

SamReadySamReady

If the custom tab is a VF tab, you can grab the User's profile by using the global merge field for the user (for example {!$User.ProfileId} ). Based off the profile Id you can create a conditional URL in the page.

 

If it is a custom object tab, you could create formula fields for the custom link and create different page layouts for record types which will show different links for different profiles. This would be good for a small number of profiles, but not ideal for a larger set.