onAttachmentCreated( )


Notes:
Permissions
Manage Contact Attachments
Manage Events
Learn more about app permissions.
Method Declaration
Copy
function onAttachmentCreated(handler: function): void;
Method Parameters
handlerfunction

handler(event: AttachmentCreatedEnvelope): void | Promise<void>

JavaScript
import { attachments } from "@wix/crm"; attachments.onAttachmentCreated((event) => { // handle your event here });
Did this help?