Customer Portal

Get Involved. Join the Conversation.

Posts

  • 1-1 of 1
  • Daniel Rocha
    Corrupted FileAttachmentsAnswered1
    Topic posted August 30, 2019 by Daniel RochaBronze Medal: 1,250+ Points 
    Title:
    Corrupted FileAttachments
    Summary:
    Can't download FileAttachments on Custom Object
    Content:

    I have created a Custom Object with a FileAttachments field associated with it. I am filling this property from the Portal by encoding the file with the btoa() function and sending it through the Rest API. Everything is working fine in the Customer Portal and I can get it back with the atob() function.

    The problem is with the Agent Desktop and the AgentWeb (BUI). They both display the attachments correctly in the report but when I try to download them, through their respective environments, the files are corrupted.

    Does anybody have any idea why this is happening? Am I missing something when I post them through the Rest API?

    Version:
    19A

Filter by Date

< < August 2019 > >
S M T W T F S
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Filter by Type