Created
May 1, 2019 15:33
-
-
Save kishoreBandanadam/3eabb7f949d4af2d2754940a010b8388 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- AttachmentUploader--> | |
<aura:component implements="force:appHostable,flexipage:availableForAllPageTypes,flexipage:availableForRecordHome,force:hasRecordId,force:lightningQuickAction" access="global" > | |
<aura:attribute name="recordId" type="Id"/> | |
<aura:attribute name="accept" type="List" default="['.jpg', '.jpeg', '.pdf', '.zip', '.png']"/> | |
<aura:attribute name="multiple" type="Boolean" default="true"/> | |
<aura:attribute name="disabled" type="Boolean" default="false"/> | |
<aura:registerEvent name="AttachmentUploaderEvent" type="c:AttachmentUploaderEvent"/> | |
<aura:registerEvent name="updateAttachmentsAppEvent" type="c:updateAttachmentsAppEvent"/> | |
<lightning:fileUpload | |
multiple="{!v.multiple}" | |
accept="{!v.accept}" | |
recordId="{!v.recordId}" | |
onuploadfinished="{!c.handleUploadFinished}" /> | |
</aura:component> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please upload AttachmentUploader.js!