Document viewer in trial subscription doesn't work
Best Answer
-
It should be generating them with the url https://css.na-1-dev.api.opentext.com/v2/content/asd123/download. This is a special host for large content file transfers - which of course content can be. The https://na-1-dev.api.opentext.com/css/v2/content/asd123/download route is depricated. All css urls embedded in responses from css and other services such as viewing and cms, should be pointing to css.na-1-dev.api.opentext.com so that you can always get a file no matter how large it is.
More info here: https://developer.opentext.com/imservices/products/contentstorageservice/documentation/contentstorageserviceoverview/21
Answers
-
I mean that the URL is generated like this not with my app but in the Viewer Services somewhere inside.
0 -
It should be generating them with the url https://css.na-1-dev.api.opentext.com/v2/content/asd123/download. This is a special host for large content file transfers - which of course content can be. The https://na-1-dev.api.opentext.com/css/v2/content/asd123/download route is depricated. All css urls embedded in responses from css and other services such as viewing and cms, should be pointing to css.na-1-dev.api.opentext.com so that you can always get a file no matter how large it is.
More info here: https://developer.opentext.com/imservices/products/contentstorageservice/documentation/contentstorageserviceoverview/21 -
Roger, thank you, helped!
a tip - in the example contract_approval app in the DocumentDialogView.jsx use this code:
url: baseUrl.replace ('//', '//css.') + '/v2/content/' + blobId + '/download?avs-scan=false',
0 -
@kanishchev, it is possible you are working with an outdated version of the Contract Approval app. In GitHub (https://github.com/opentext/demo-contract-approval-app) you can find the latest version, which is pointing to the proper "https://css.na-1-dev.api.opentext.com"-based URL.
0
Categories
- All Categories
- 122 Developer Announcements
- 53 Articles
- 149 General Questions
- 147 Thrust Services
- 56 OpenText Hackathon
- 35 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 917 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 181 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories