+ Start a Discussion

Relative links - replacing https://c.na1.content.force.com

HI Guys,



You can avoid using the server name by using relative link : https://na1.salesforce.com/00Oz0000000xxxx


should not include https://na1.salesforce.com. Instead we should use:


Any idea on how this works for content files??

So How do I replace this to avoid the NA1 Server?




Thank you

Jeff OnsrudJeff Onsrud
Does anyone have any updated links to this question -most of the links are dead? I have the same question as how to make a relative link to content.

Use case I want to display some content that is being generated via Apex in both my Sandbox for testing (which has a different name space) and my Partner Community.