+ Start a Discussion
Mitchell McLaughlin 10Mitchell McLaughlin 10 

Apex:OutputLink Tag - Hyperlink outside of Salesforce

Hi - here is my current VF tag:

<apex:outputLink value="/{!record.Id}" target="_blank" styleclass="text-dark" style="text-decoration: none;"> 

value="/{!record.Id}" - This part is only directing within salesforce - so it's really directing to www.cs25.salesforce.com/recordId

How do I use this tag to create a custom url to redirect to,like  a community URL instead of www.cs25.salesforce.com
Mitchell McLaughlin 10Mitchell McLaughlin 10
Nevermind - got it. You have to put https:// before the URL to get outside of salesforce org url.