Skip to main content

KI-73

Key/SummaryKI-73 [Lightning Web Security] Error occurs when loading records that use the Enhanced Record edit w/Save Check or the HELPER: Workspace API Helper componentStatusDone/Canceled
Created02/04/2022Updated09/01/2022
DescriptionWhen opening a record that uses either the MIC - Enhanced Record edit w/Save Check (MED_EnhancedRecordEdit) or the MIC - HELPER: Workspace API Helper (MED_WorkspaceAPIProxy) component, an error occurs and the record does not load. For this error to occur, Lightning Web Security must be enabled in your environment.
Impacted CapabilitiesInquiry ManagementAffected AppsMedical Information Cloud - Lightning
Affects VersionsV9, MIC V10, MIC V11Fix Version
Steps to Reproduce1. Open the Interaction record page in the Lighting App Builder. 2. Verify that the MIC - HELPER: Workspace API Helper (MED_WorkspaceAPIProxy) is on the page. If it is not, add the component to the page, and save the change. For more information, visit https://help.salesforce.com/s/articleView?id=sf.lightning_app_builder_customize_lex_pages.htm&type=5. 3. In the Quick Find box in Setup, search for and select [Session Settings]. 4. In the Lightning Web Security section, check the [Use Lightning Web Security for Lightning web components] checkbox field, and then click [Save]. 5. Navigate to an Interaction record. An error occurs and the record does not load.
WorkaroundWorkaround options include: - Remove the MIC - Enhanced Record edit w/Save Check (MED_EnhancedRecordEdit) and MIC - HELPER: Workspace API Helper (MED_WorkspaceAPIProxy) components from ALL record pages. For more information, visit https://help.salesforce.com/s/articleView?id=sf.lightning_app_builder_customize_lex_pages.htm. - Disable 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].