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
rohit.mehtarohit.mehta 

Content Link not working from Visual force page

Hello,

 

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

/sfc/#version?selectedDocumentId=069Q00000004Elt

 

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

https://cs3.visual.force.com/sfc/#version?selectedDocumentId=069Q00000004Elt

 

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

IE forwards it to

https://cs3.salesforce.com/sfc/#search

 

Any suggestions?

 

Thanks

 

dpletterdpletter

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

 

-Dani

aj_coderaj_coder

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.