Skip to main content

KI-67

Add Related AE/PQC modal prepopulates narrative with raw HTML

Key/Summary

KI-67 Add Related AE/PQC modal prepopulates narrative with raw HTML

Status

Done

Created

12/02/2021

Updated

08/31/2022

Description

The Add Related Adverse Event and Add Related Product Quality Complaint modals copy the Question (MED_Question_Rich__c) field value from the Request record and display the rich text value as raw HTML (plain text narrative).

Impacted Capabilities

Inquiry Management

Affected Apps

Medical Information Cloud - Lightning

Affects Versions

MIC V10, MIC V11

Fix Version

MIC V12

Steps to Reproduce

  1. From the Object Manager, search for and select the `Request` custom object.

  2. Click the `Page Layouts` tab.

  3. Click `Request Lightning Admin Feed Layout`. The enhanced page layout editor opens.

  4. Verify the page layout uses the MED_Question_Rich__c field. If it does not, replace the MED_Question__c field with the MED_Question_Rich__c field.

  5. Navigate to `Interactions` tab in the MIC console, and click `New Interaction`.

  6. Create a related `Adverse Event` record.

  7. On the Request record, enter text in the `Question` field, and then bold the text you entered.

  8. From the quick actions drop-down menu on the Request record, click `Add Related Adverse Event`. The Create Adverse Event modal opens and displays the rich text html value from the Question field as raw HTML (plain text narrative).

Workaround

Users can manually remove the HTML syntax from the narrative in the modal.