Pinned topic Calling Workplace Viewer from external web app
The first document the user attempts to display results in a Workplace sign-in challenge. We tried to modify our request to use the UserToken from the FileNet.Api.Util.UserContext.GetToken.ID. The resulting URL looks something like:
Workplace is not happy with this token and throws a credentials exception (at com.filenet.wcm.toolkit.server.base.WcmSignInPolicy.encodeTokenException (WcmSignInPolicy.java:297).
Any help is greatly appreciated.
SystemAdmin 110000D4XK693 Posts
Re: Calling Workplace Viewer from external web app2009-01-03T18:54:01ZThis is the accepted answer. This is the accepted answer.Workplace user tokens are based on the 3.x Java API Session.getToken() call. They are completely unrelated to the SecurityToken used by the 4.x .NET API.
bount 270006G5WT3 Posts
Re: Calling Workplace Viewer from external web app2013-07-08T19:16:12ZThis is the accepted answer. This is the accepted answer.
- SystemAdmin 110000D4XK
Do have any idea how we can use gettoken api or similar api with FileNet p8 4.5x. Actually we are forming a url from our custom application in order to open a document in workplace.
Bascially just want to know how ti achive gettoken api with FileNet 4.5.x