Skip to main content

Attach Request Document

The MIC - Attach Request Document (medAttachRequestDocuments) Lightning component lists the documents associated with the Request (MED_Request__c) record in a compact, table-grid view. With this component, you can upload a file up to 2GB in size to the Request, delete documents associated with the Request, and open an associated document in the document viewer in a subtab. For each document that is uploaded through this component, a Request Document (MED_Request_Document__c) record is created and related to the Request record.

Permissions

Users that require the ability to upload documents to Requests need to have these custom permissions added to their profile:

  • MED_Upload_Request_Documents - grants users the ability to use the Upload button on the component to add new documents to a Request.

  • MED_Customize_Response_on_Request - grants users the ability to replace existing files attached to a Request.

Custom labels

The Attach Request Document component uses the following labels that can be configured within the Salesforce.com translation workbench to change display text values.

  • MED_Attach_Article

  • MED_Attached_X_Documents

  • MED_Cancel_Button

  • MED_Document_Search_Textbox_Label

  • MED_Generic_Save_Button

  • MED_Generic_Search_Button

  • MED_No_Search_Results

  • MED_Question

  • MED_Response

  • MED_Search_Documents

  • MED_Search_Results

  • MED_Vault_to_many_records_being_returned