Upload files through API and use them as attachments for Ideas

I am migration Ideas from a 3rd party platform into Verint (version 13.x). 

Many of the ideas have image and file (pptx, pdf etc) attachments. I am using the following REST API to upload these files into Verint. 

community-ppe.thomsonreuters.com/.../temporary.json

thereafter, I am using the downloadUrl returned by the above API to use it in href attribute within the content of the idea description. Initially, it all works well - i am able to view the uploaded file on the idea - if its an image, it appears inline where it should, if its a file, a link appears and I am able to download the file too,

However, if I check the same idea a day or two later, all the images/files have broken links - I am guessing its becuase the upload is taking place to some temporary location as indicated by the API endpoint. How do I make these uploaded files and their url persist permanently?

Has anyone tried doing this? 

Parents
  • than you      and   for all your help. 

    I looked at the suggestions from Robert and suspected I wasnt handling the users right - point 3 in the troubleshooting suggestions.

    After trying a quick couple of tests that was indeed the case - the user under which I was uploading the attachment was different from the user that I was using to create the idea - the file wasnt transferring to the right CFS location (i.e still showing as 

    __key/CommunityServer-Components-MultipleUploadFileManager/
    After ensuring the creating use was consistent across the file upload and the idea create requests, I now see the file is in the correct location i.e
    __key/telligent-ideas/
    Thank you very much to all of you for helping out. greatly appreciate it!
Reply
  • than you      and   for all your help. 

    I looked at the suggestions from Robert and suspected I wasnt handling the users right - point 3 in the troubleshooting suggestions.

    After trying a quick couple of tests that was indeed the case - the user under which I was uploading the attachment was different from the user that I was using to create the idea - the file wasnt transferring to the right CFS location (i.e still showing as 

    __key/CommunityServer-Components-MultipleUploadFileManager/
    After ensuring the creating use was consistent across the file upload and the idea create requests, I now see the file is in the correct location i.e
    __key/telligent-ideas/
    Thank you very much to all of you for helping out. greatly appreciate it!
Children
No Data