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

Content Link not working from Visual force page



I have a VF page which has a link to a content within salesforce.  A content url is normally like



When I put a relative url on the Visualforce Page, the link renders as


This works fine in Mozilla and Chrome but IE is not able to render this url.

IE forwards it to


Any suggestions?





try changing the format of the link to just be /069Q00000004Elt




For Content, there are a couple of different views:


To show the full Content Details page with options such as Deliver Content, Download, Subscribe, Edit, Versions, etc... the format of the link should be /sfc/#version/069Q00000004Elt.


To show the cleaner and limited File Sharing page with options such as File Sharing Settings, Follow and Followers, etc... the format of the link should be /069Q00000004Elt.