Unable to get URL of gateway (Content Server Web Reports From Mobile)
I am using AppWorks to generate Content Server Web Reports on the fly from a mobile device. AS per below code, unable to get otag URL and otagtoken, hence unable to upload document to Content Server without valid token.
app.run(function ($cookies, $http, $rootScope, $window) { /** bind the url of the gateway to the $rootScope object */ $rootScope._otagUrl = ($window.otag && $window.otag.serverURL) || ''; /** configure the $http object to include the otag token in headers of all outgoing requests */ if ($window.otag && $window.otag.auth) { $http.defaults.headers.common.otagtoken = $window.otag.auth.otagtoken; } else if ($cookies.otagtoken) { $http.defaults.headers.common.otagtoken = $cookies.otagtoken; }
});
Tagged:
0
Categories
- All Categories
- 108 Developer Announcements
- 53 Articles
- 106 General Questions
- 144 IM Services
- 43 OpenText Hackathon
- 32 Developer Tools
- 20.6K Analytics
- 4.1K AppWorks
- 8.9K Extended ECM
- 899 Cloud Fax and Notifications
- 77 Digital Asset Management
- 9.3K Documentum
- 29 eDOCS
- 120 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management