Preview Panes in Assets | Community
Skip to main content
sschnelbach
Level 5
July 12, 2024

Preview Panes in Assets

  • July 12, 2024
  • 5 replies
  • 1976 views

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?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

5 replies

sschnelbach
Level 5
July 12, 2024

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

Manik_Bhalla
Adobe Employee
Adobe Employee
July 15, 2024

@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). 

 

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?

sschnelbach
Level 5
July 18, 2024

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.

DivrajSingh
Adobe Employee
Adobe Employee
July 15, 2024

@sschnelbach :

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

sschnelbach
Level 5
July 16, 2024

Weston says yes, dynamic media is installed in hybrid mode.

DivrajSingh
Adobe Employee
Adobe Employee
July 16, 2024

@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

kautuk_sahni
Community Manager
Community Manager
July 23, 2024

@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
sschnelbach
Level 5
July 24, 2024

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

Rafartfignugen
Level 2
December 4, 2024

Currently going through this myself.