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 one or more files 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. Any value that was set on any of the fields in the MIC - Attach Request Document modal will apply to all of the request documents that are created.
Permissions
Users who require the ability to upload documents to Requests need to have these custom permissions added to their profile:
Upload Request Documents (
MED_Upload_Request_Documents) - grants users the ability to use the Upload button on the component to add new documents to a Request.Customize Response on 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