Expand my Community achievements bar.

Preview Panes in Assets

Avatar

Level 6

In the Assets > Properties view, DITA content doesn't preview like it does for images. Should something be displaying here? And if not, it would be nice to get that preview working for DITA content.
In the Assets view, when you click on a DITA file to preview it, the content doesn't scroll down even though a scrollbar is present. Only the top section of the content displays. Is that scrollbar supposed to be working?

9 Replies

Avatar

Level 6

Both of these preview issues have been present for the last several versions of AEM Guides, not just v4.4. 

Avatar

Employee

@sschnelbach The properties view (added a screenshot below highlighting the screen I am referring to) in Assets doesn't provide preview for non multimedia files, as that preview window just caters to a thumbnail which is not available for dita files (or any other document). 

Screenshot 2024-07-15 at 11.39.21 AM.png

 

To answer your second query, I tried to replicate the issue on v4.4, v4.3 and on cloud. I was able to scroll the DITA files. Adding a screenshot below to showcase the same. Could you please share which version of AEM Guides and which version of AEM are you trying it on?

Scroll working properlyScroll working properly

Avatar

Level 6

Versions on Production (Prod)

AEM Guides (UUID) 4.4 On-Prem Installation (24 Jun 2024)

AEM 6.5.19 (Service Pack 19) On-Prem Installation (15 Jan 2024)

 

I forwarded Divraj's suggestions below to Weston to see if he can implement the suggested configuration change.

Avatar

Employee

@sschnelbach :

For second question: does your AEM instance have dynamic media installed as well?

Avatar

Employee

@sschnelbach : So in that case, for now, the implementation team(Weston) can add a clientlib in the codebase as explained below:

  1. Create a client lib with category: "dam.gui.assetdetails.coral", to overlay the dynamic media library
  2. create a css, with following code:

    #preview-container{
    right:auto !important;
    bottom:auto !important;
    }

  3. And once above is done then the scrollbars should work in Assets UI for DITA content 

Weston can refer attached package that has above steps implemented 

 

Hope this resolves the reported issue

Avatar

Administrator

@sschnelbach Did you find the suggestion helpful? Please let us know if you require more information. Otherwise, please mark the answer as correct for posterity. If you've discovered a solution yourself, we would appreciate it if you could share it with the community. Thank you!



Kautuk Sahni

Avatar

Level 6

I don't know if Divraj's suggestion for getting the scroll bars works. Our IT team has not implemented it yet.

Avatar

Level 1

Currently going through this myself.