Uploading and displaying XHTML with iXBRL files

This article explains the capabilities and limitations of uploading XHTML files with Inline XBRL (iXBRL) tagging to AEM Assets as a Cloud Service and how these files can be managed and displayed on a website.

Description description

Environment

Adobe Experience Manager (AEM) Assets as a Cloud Service (all versions)

Issue/Symptoms

There is a requirement to upload XHTML files with Inline XBRL (iXBRL) tagging into AEM Assets DAM and display the content on a website, including the asset title. The following questions arise:

  • Are XHTML/iXBRL files supported for upload and management in AEM Assets as a Cloud Service?
  • Are these files supported for native preview or rendering in AEM DAM?
  • How are the asset title and content retrieved and displayed on a website?

No error messages or failures are present; this is an inquiry about platform capabilities and best practices.

Cause

AEM Assets DAM supports storing unsupported file types like XHTML/iXBRL as binary assets, but doesn’t provide native preview, rendering, or iXBRL-specific processing. The consuming application or website handles rendering and interpretation.

Resolution resolution

To fix the issue, follow these steps:

  1. Upload XHTML files with iXBRL tagging to AEM Assets DAM as binary assets. These files are stored and managed like other unsupported formats.
  2. Note that AEM Assets as a Cloud Service doesn’t provide native preview, inline rendering, or iXBRL processing for XHTML/iXBRL files. Files such as .html are served with Content-Disposition: attachment (download) for security reasons and aren’t previewed inline.
  3. Use the Assets HTTP API or Direct Binary Access to programmatically retrieve the asset and its metadata (such as the title) for use in your website or application.
  4. Ensure the consuming website or application is responsible for rendering the XHTML content and handling any iXBRL interpretation or validation.
  5. For a supported web experience, consider creating an AEM Sites page or Content Fragment to host and render the content, or use a dedicated web-serving or application layer to process and display the XHTML/iXBRL content, rather than serving it directly from DAM.
  6. Maintain asset titles as AEM metadata and retrieve them via the API or UI for display purposes.
recommendation-more-help
experience-cloud-kcs-help-kbarticles