This has been solved. To display the preview of the content call components/preview/web-preview/{nodeRef}/{htmlid}) webscriptTo display the metadata of the content call components/document-details/document-metadata/{nodeRef}/{htmlid} webscript