-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Asset having .doc and .ppt are not rendering in details page with presentation.html and document.html #1204
Comments
I recommend using the "newer" (i guess old now :)) Content Type asset selector. This will let you make specific details pages for Word Docs and Powerpoint (word-doc.html and powerpoint.html). You can see the complete mapping list int he ContentTypeImpl.java linked below + screenshot. The default AssetType asset details selector relies on the AEM API's mimetype to type mapping which a) has changed in the past which is not good for ASC and b) doesnt always make sense for how assets need to be displayed on a details page. Once you have the desired mapping of type -> asset details page, you can add/configure a preview component (You can try using the Assets Details - Image) and configure it on the page to display the image asset rendition that you want to show on the details page (You have to make sure you are generating image renditions of course). |
Hi @davidjgonzalez |
@skumuda how embarrassing (for me :)) ... fixed it in 3.8.22 which is out now. |
@davidjgonzalez Thank you. Its working now :)
|
What rendition are you loading in the preview? The DRM blocks the original since if you can load the video in the preview, then you can technically download it |
When .doc and .ppt asset is opened in assetdetails page it not rendered properly.
Environment
To Reproduce
Steps to reproduce the behavior:
Expected behavior
For .doc URL should be navigating to
http://localhost:5502/content/asset-share-commons/en/light/details/document.html/content/dam/asset-share-commons/en/public/documents/document-sample.doc
For .ppt URL should be navigating to
http://localhost:5502/content/asset-share-commons/en/light/details/presentation.html/content/dam/asset-share-commons/en/public/documents/powerpoint-sample.ppt
Actual :
URL navigates to
http://localhost:5502/content/asset-share-commons/en/light/details.html/content/dam/asset-share-commons/en/public/documents/document-sample.doc
URL navigates to
http://localhost:5502/content/asset-share-commons/en/light/details.html/content/dam/asset-share-commons/en/public/documents/powerpoint-sample.ppt
Screenshots
The text was updated successfully, but these errors were encountered: