O'Reilly logo

Alfresco One 5.x Developer's Guide - second edition by Jeff Potts, Benjamin Chevallereau

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating your first JavaScript application

In this section, we'll cover how to create a very basic screen using the new JavaScript API. The marketing chief wants us to develop a simple HTML page that displays all webable documents available in the Alfresco repository. For each of them, we need to display the name of the document, and the link to the Document Details page.

The Alfresco JavaScript API allows you to connect to the Alfresco API, and the Activiti REST API. In this chapter, we'll use only the Alfresco API. It's the only required to display webable documents. Let's quickly discover the available methods in this Alfresco JavaScript API:

  • Authentication:
    • Login:

      Can be done against Alfresco (referenced as ECM in the documentation) and/or Activiti ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required