I am conducting a proof of concept for Open Text Content Server UI widgets.
Here are the steps I performed
1. Created a Vanilla Sandbox with 2015-06 cumulative patch
2. Installed CSUI 10.0.1
3. Created an html page ( attached) with the sample code provided in documentation
I am getting a 404 error. I am hoping you can help here
-------------------------HTML-----------------------
!DOCTYPE html>
<!-- 1. Include the framework code. -->
<script src="http://amrndhw3855/img/csui/csui.js"></script>
<!-- 2. Include the framework visual styling. -->
<link rel="stylesheet" href="http://amrndhw3855/img/csui/csui.css">
<style>
/* Recommended page preparation by the jQuery UI developers. */
body {
font-size: 11px;
}
</style>
<!-- 3. Perform the page initialization code. -->
<script>
// Ensure the framework initialization.
csui.onReady( function() {
// Create the server connector for the widgets.
var connector = new csui.util.Connector( {
connection: {
url: "http://amrndhw3855.amer.pfizer.com/otcs/cs/api/v1",
supportPath: "/img/",
credentials: {
username: 'Admin',
password: 'livelink'
}}
} ),
// Create the container browsing widget.
browser = new csui.widget.FolderBrowserWidget( {
connector: connector,
placeholder: "#folderBrowser"
} );
// Display the container browsing widget.
browser.show();
});
</script>
<!-- 3. Provide the widget placeholder on the page. -->
<div id="folderBrowser"></div>
------------ERROR---------------------
he module csui/lib/domReady was loaded from ./csui/lib/domReady.js.
csui.js:47 The module csui/lib/jquery was loaded from ./csui/lib/jquery.js.
csui.js:47 The module csui/lib/underscore.string was loaded from ./csui/lib/underscore.string.js.
csui.js:47 The module csui/lib/underscore was loaded from ./csui/lib/underscore.js.
csui.js:47 The module csui/lib/log4javascript was loaded from ./csui/lib/log4javascript.js.
http://amrndhw3855/img/csui/nls/en/lang.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://amrndhw3855/img/csui/nls/en-us/lang.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://amrndhw3855.amer.pfizer.com/otcs/cs/api/v1/volumes/141 Failed to load resource: the server responded with a status of 404 (Not Found)
http://amrndhw3855.amer.pfizer.com/otcs/cs/api/v1/volumes/141/nodes?limit=25&page=1&sort=asc_name&expand=node&expand=user Failed to load resource: the server responded with a status of 404 (Not Found)
2csui.js:23 WRN Not Found
(404)
Thank You
Vivek Khurana