Coder Social home page Coder Social logo

kaiserghub / documentum-rest-sample-html5 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from enterprise-content-management/documentum-rest-sample-html5

0.0 1.0 0.0 1.14 MB

A HTML5 + AngularJS sample application for Documentum REST Services

License: Apache License 2.0

CSS 10.82% HTML 17.85% JavaScript 71.33%

documentum-rest-sample-html5's Introduction

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.

EMC 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.

documentum-rest-sample-html5's People

Contributors

chenj50 avatar gentlewind avatar jonathanrobie avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.