• Get original Documents/Notes pdf saved as files without extensions

    Hi. When I create notes for users and add documents to the note, this documents (pdf, xls...) are saved in upload folder as files without extension. If I download this documents from web I can download it as the original pdf. But I need to extract the…
  • PDF won't download with app.api.fileDownload

    I have a custom API that generates a PDF file, the file is stored in the cache correctly and I can see it in my browser when go to the URL if I reload after I get there, which is puzzling. ( https:// <mysugarcrm>/cache/Sugarpdf/Contract_1463529577.pdf…