Details
-
Bug
-
Status: Open
-
Normal
-
Resolution: Unresolved
-
14.7.8
-
None
-
None
-
Flagged
-
Orion
-
Ready for refinement
-
Undetermined
Description
Currently use mounts of 'hst:type = preview' type (as indicated in https://xmdocumentation.bloomreach.com/library/concepts/security/authorization-use-cases/add-a-preview-channel-and-limit-access.html) to preview channel pages outside CMS experience manager.
The internal document URLs generated by '<@hst.link />' tag generates the preview URLs correctly with the preview mount path included in the URL (e.g. http://localhost:8080/site/preview/page1, where '/preview' is the preview mount name).
But, this doesn't work for resources (like .pdf, .doc, etc) and '<@hst.link />' tag always generates the live version of the file.
Actually generated: http://localhost:8080/site/binaries/content/documents/lks/common/file-links-cards/downloads/downloads/hee%3AfileLinks/hee%3Afile?forceDownload=true
Here is the snippet the customer currently used to generate the resource URL (for reference):
<@hst.link var="fileURL" hippobean=${fileBean}>
<@hst.param name="forceDownload" value="true"/>
bean type - 'org.hippoecm.hst.content.beans.standard.HippoResourceBean'.
Attachments
Issue Links
- relates to
-
HSTTWO-2387 Show 'preview' embedded resources in channel manager
- Closed