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

getAdminURL() : opens new files only

Accepted answer
edited Jun 4, 2017 12:46PM in Integrations and APIs 3 comments


Hi all,

I am putting file attachment url returned by getAdminURL() function as a link in a page. When I click on the link, the file is downloaded but the windows cannot open the file it says 'We can't open this file' for pictures and 'Failed to load document' for pdfs. The files open alright if I download them from agent console under 'Attachments' tab in Incident. 

The above issue applies to only old file attachments. If I attach new file to a new or existing incidents, they download and open alright. 

Does anyone have an idea what's going on here?

Howdy, Stranger!

Log In

To view full details, sign in.


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