I have a formula field that displays a text and has a link to record page, like this:
HYPERLINK('/'+ Id , Name__c)
The problem is, this has to work inside Salesforce but also in the community, and the problem is that in the community we have a relative url, like this:
So the final url using the formula field will be:
And it needs to be:
But if i had the '/s/detail' to the formula field it will stop working on Salesforce side.
Anyone has a solution for this? Using different fields it's not an option because they access the records in the community using the same listviews.