Skip to main content

KI-77

Key/SummaryKI-77 [Lightning Web Security] Enhanced document previewer does not render files correctlyStatusDone/Canceled
Created02/08/2022Updated09/01/2022
DescriptionThe enhanced document viewer does not render files correctly when Lightning Web Security is enabled in your environment.
Impacted CapabilitiesContent ManagementAffected AppsMedical Information Cloud - Lightning
Affects VersionsMIC V10, MIC V11, PUBS V1Fix Version
Steps to Reproduce1. In the Quick Find box in Setup, search for and select [Session Settings]. 2. In the Lightning Web Security section, check the [Use Lightning Web Security for Lightning web components] checkbox field, and then click [Save]. 3. Navigate to an existing Document (mvn__CM_Document__c) record with a PDF file. The enhanced document previewer does not render the PDF correctly.
WorkaroundDisable Lightning Web Security. To disable it: 1. In the Quick Find box in Setup, search for and select [Session Settings]. 2. In the Lightning Web Security section, uncheck the [Use Lightning Web Security for Lightning web components] checkbox field. 3. Click [Save].