CSUI Widget and OTDS Authentication
Hello Folks,
I have a CSUI (10.5) Browse widget html hosted on IIS. We need to enter Username & Password to see the contents of the folder in CS. Since I have the latest OTDS (16.2), I can directly get the OTDSSSO ticket by making OTDS REST call to otdsws/v1/authentication/headers.
Wondering if anyone had any luck to use this mechanism to authenticate automatically when the widget html is accessed and load the page? I really don't want the users to prompt for username/pwd. This would help integrate these widgets easily into other apps outside Content Server. For example: We can replace webparts in Sharepoint with this widget html.
Here is the sample code:
<script> csui.onReady( function() { // Create the server connector for the widgets. var connector = new csui.util.Connector( { connection: { url: "http://servername/otcs/livelink.exe/api/v1", supportPath: "/img" } } ), // Create the container browsing widget. browser = new csui.widget.FolderBrowserWidget( { connector: connector, placeholder: "#folderBrowser" } ); // Display the container browsing widget. browser.show(); }); </script>
Thanks,
Mahesh
Comments
-
Could you post questions about CS UI Widgets (CS Smart UI) to the right forum, please? See also the announcement about it in this forum. Thank you!
0 -
glad to hear that. Sorry I was not aware of it. I will post in KC.
0
Categories
- All Categories
- 123 Developer Announcements
- 54 Articles
- 150 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