Workflows and API rest content server to share documents using Core Share
Hello everyone
I need to share Content Server documents with users outside my organization, for this we use Core Share as a tool, and as long as I use it through the Content Server UI there is no problem, everything works correctly. However..., I need this sharing to be done unattended.
I have seen that there is a workflow step in Content Server but despite following all the instructions for its implementation we cannot get it to work (open case with OpenText).
We have also seen that there is a method in the Content Server 24.1 API (api/v2/shares) that should allow this, but in this case we cannot authenticate despite using the correct OTCSTicket and we always get an authentication failure.
Has anyone had experience with this type of problem? I suspect that there is something wrong but we cannot find the solution.
Thanks in advance
Answers
-
Do you have AnswerModules installed? I recently integrated it, and it took less than 10 minutes to do a script. Another way I contemplated and was very challenging was to trace the browser api calls and try to do it as the CS browser does but I abandoned that as the customer had AM.
Instead of OTCSTicket might I suggest getting an OTDSTicket? Instead of using CS authentication, you are using the server that issues the ticket and it will work just as fine in any CS REST api calls. One of the reasons why you are getting authentication failure is because you have not set security parameters properly screencap of getting OTDSTicket and using it in CS Rest
using that to call a CS REST api
In cases of multiple front ends in a LB CS is very demanding to accept tickets from a cluster of servers. There are ways to counter this but OTDSTicket ensures OTCS will accept your token
1
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 151 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories