Content Server REST API - Download File
I want to download a version of a document from Livelink/Content Server using REST API. It is working via postman. However using HTML/JavaScript there is an error. Kindly help.
GET method for a node details is working but get version is not.
GET node details - http://localhost/otcs/cs.exe/api/v1/nodes/30815 - Works!
GET version of a node - http://localhost/otcs/cs.exe/api/v1/nodes/30815/versions/1/content - Doesn't work (Please find attached screenshot.)
Comments
-
Hi @MangeshThorat,
I am facing the same issue? Is it resolve for you?
Where this file will be download by default? can we customize the file download location?
please advise.
0 -
The problem is your browser is disallowing cross origin scripting, I.e. CORS. you would need to call the API from a JS library hosted on the same web server somewhat the URL is local, I,e, same origin. There may be a way to disable the check but I would recommend reading up on CORS first to make sure you aren't introducing a security hole.
Hugh0 -
Hii can you tell me how to download opentext content server. if possible then give me link.
0 -
@cssmitvaghani this is possible through support.opentext.com
0 -
i cannot find link for download. can you give me?
0 -
I believe this is the correct link for you:
0
Categories
- All Categories
- 117 Developer Announcements
- 52 Articles
- 147 General Questions
- 136 Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 912 Cloud Fax and Notifications
- 82 Digital Asset Management
- 9.3K Documentum
- 30 eDOCS
- 175 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 6 XM Fax