Currently, there is no way to preview or thumbnail the content validation for look-alike or similar content in the XF authoring page.Therefore, we need to implement a feature that allows authors to preview or thumbnail the content validation for look-alike or similar content.
When editing a XF in site admin view, there should be a preview or thumbnail option available for content validation.
The preview/thumbnail should dynamically update when changes are made to the content, ensuring real-time feedback during the authoring process.
My Approach : I think we can use coral UI for this on hover on XF but how do we get the preview of the XF and render it using coral or there's some other approach we should take any suggestion , ideas i am open for a discussion on this
Solved! Go to Solution.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
Use a Coral UI component, such as a Coral Tooltip, to show a thumbnail or preview. You could trigger this tooltip to load the preview URL of the XF when the author hovers over the item in the site admin view. And you can either use a polling mechanism for real time changes or event based triggers, or a mix of both. Use Coral UI's <coral-popover> component, which can be attached to your XF item and you can populate it with Javascript. Never did this myself but this would be my approach. Let me know of your findings.
Use a Coral UI component, such as a Coral Tooltip, to show a thumbnail or preview. You could trigger this tooltip to load the preview URL of the XF when the author hovers over the item in the site admin view. And you can either use a polling mechanism for real time changes or event based triggers, or a mix of both. Use Coral UI's <coral-popover> component, which can be attached to your XF item and you can populate it with Javascript. Never did this myself but this would be my approach. Let me know of your findings.
Hi @abhishekanand_
You can generate thumbnail on demand using JS mentioned below
Steps to Generate a Page Thumbnail in AEM with Java(EventListner)
1. Get the Page Content: You’ll first need to retrieve the page content for the URL you want to capture as an image.
2. Use a Renderer to Create a BufferedImage: Using Java's BufferedImage, render the page content and then convert it to an image file.
3. Save or Store the Thumbnail: Save the BufferedImage as a PNG or JPEG thumbnail, which can then be stored in the AEM DAM or displayed on the page.
Views
Likes
Replies
Views
Likes
Replies