Skip to content

Enterprise-Content-Management/documentum-rest-sample-html5

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Documentum REST HTML5 Client Samples

License: Apache 2

This project contains a reference implementation of Documentum REST Services client written in HTML5 + JavaScript code. The purpose of this project is to demonstrate one way to develop a hypermedia driven REST client to consume Documentum REST Services. It does NOT indicate that users could not develop a REST client using other technologies.

Opentext shares the source code of this project for the technology sharing. If users plan to migrate the sample code to their products, they are responsible to maintain this part of the code in their products and should agree with license polices of the referenced libraries used by this sample project.

Overview

This Documentum REST Services client is written with HTML5 + JavaScript. Underlying it leverages AngularJS and Bootstrap to communicate with Rest server and render the UI.

Environment Preparation

  1. Java 6 or 7 is installed for REST Services.
  2. Documentum REST Services 7.2 is deployed in the development environment.
  3. Tomcat or any other compliant web container for Documentum REST Services 7.2 is installed.
  4. Firefox, Chrome, IE are all supported. Firefox is recommended.

How To Use

  1. Download the project files to your local storage.
  2. Put the project directory into the web container's deployment directory. Take Tomcat example,we need to adjust Tomcat's {tomcat_home}/server.xml file , adding a inside the element.
<Context path="/restapp" docBase="{source code root}/app" />

Please note that to avoid Cross-Origin Resource Sharaing (CORS) issues, Documentum REST Services and the HTML5 application are assumed to have the same host and port.

  1. Bounce Tomcat.
  2. You now should be able to access this app by entering the following into the browser's URI field http://demo-server:8080/restapp.
  3. If all goes well, you now should be prompted by the pop up dialog to enter Home Services URI (ie. http://demo-server:8080/dctm-rest/services.json) and user credentials - and hit OK.
  4. Again - if all goes well, you'll see progress feedback and then UI should be repainted with selection of Repositories exposed to the REST services.

Known Issues

  1. The resources of search, dql, batches are by temporary not supported.

About

A HTML5 + AngularJS sample application for Documentum REST Services

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •