You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

BUI: View Attachments

Received Response
edited Jun 13, 2022 4:11AM in General Technical Discussions 6 comments


Hello all,

Can we view file attachments of contact, incident or any custom objects.

In the document we can get the data only, but i want to view the file. Is this possible?

 export interface IAttachment {
        getName(): string;
        getFileId(): string;
        getType(): string;
        getSize(): string;

    export interface IAttachmentContext {
        getAttachments(): IExtensionPromise<IAttachment[]>;
        getAttachmentsFrom(entityType: string, entityId: string): IExtensionPromise<IAttachment[]>;
        displayAttachmentDialog(): IExtensionPromise<IWorkspaceRecord>;
        uploadAttachment(attachment: IAttachment): IExtensionPromise<IWorkspaceRecord>;
        attachFromUrl(fileName: string, url: string): IExtensionPromise<IWorkspaceRecord>;

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!