Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To use a CMIS connection follow these steps:

...

Table of Contents

...

minLevel

...

2

...

Prepare required elements

The following CMIS components are needed in Blueriq Studio:

...

  • CMIS plugin
  • WebFileUpload plugin

...

Model

Download the CMIS Example package and extract the files to Blueriq\Studio\Configuration\Libraries (make sure you have the latest update of Blueriq).

...

The studio model will automatically start and you can see how you can set up the CMIS connection. 

...

Make your domain model suitable to handle documents 

At first the user should make it possible that your domain can handle documents. Therefore you need to create a document entity where you can store the meta data of the document data that you will get back from the DMS. It's also recommended to have a entity to store the file name and file path that you need for the AQ_WebFileUpload container.

...

You can also define some custom properties, for example case information. Please remind that you will need to define the document property with the document type as configured in Alfresco (in this example br: ).

...

Uploading file to the profile session

Uploading a document with the CMIS connection consist out of 2 steps, the first step is storing the document to the profile session and the second step is actually storing (sending) the document into the DMS. 

...

Keep in mind that document store function only supports one document on the session at a time.

...

Document manager

For the second step of storing the document into the DMS, you need to model the document manager service .

...

  • DocumentManager_Update service for updating the DMS
    Using parameter action Save
  • DocumentManager_Delete service for deleting the document from the DMS
    Using the parameter action Delete, when selecting the option Delete all, all versions of the document will be removed from the DMS.

...

Get Document (Meta) Data

After uploading a document, you can use the GetDocumentMetaData service, to receive the data of the uploaded documents from the DMS.

...

After downloading the Document (meta) data, you can show the downloaded document on your screen with the AQ_CMIS_DownloadDocument container, this will create a download link on your screen. This download link is a text item which the user can define.

...

Generating a Blueriq Document and store it to session

Instead of selecting a document from a directory on you hard drive, it is also possible to generate a Blueriq Document with the AQ_DocumentRenderer service and place this document as PDF on your profile session.

...

The generated PDF document can be saved to the DMS with the DocumentManager_Save service. Please make sure that the required document file name and the document path name is derived!

...

View runtime 

3.1

Compatibilty

For using the CMIS connection we recommend the user to use Google Chrome or Firefox to Runtime. If you insist to use Internet Explorer please read the following compatibility:

BrowserBrowser settingsRuntime dashboard settings
IE 10+Compatibility view off, document mode standards (when you use the toolbar as developer, the browser setting will be default IE9).only MVC
<= IE 9  -only XSLT
3.2

Start application

Start the application by selecting the CMIS project with the following settings:

Follow the instructions on the screen to upload, update or delete a document. You can also generate a PDF and upload this to the DMS.

...