You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This is an extension to the information provided on ‘How to setup a CMIS connection’.
The Studio model mentioned in the information below is based on the example project that has been provided in the connection setup section. References to Alfresco DMS docker environment do refer to the default Community Edition settings as starting point.

Out of the box Alfresco uses a default model with types and properties when storing a file.
Some of these properties can be found in the Blueriq CmisExample Studio model in the entity called ‘Document_CMIS’ which stores information from the DMS in the profile (e.g. Version).
So properties need to be declared in both Blueriq and Alfresco.

If you need additional properties you can create your own, custom properties to be registered with the document and used within the Blueriq model. These need to be declared in both Blueriq and Alfresco.

Step-by-step guide

  1. Configure Alfresco
  2. Configure Blueriq
     - Runtime
     - Studio model
  3. Result after configuration

Configure Alfresco

The default Alfresco model, type or its properties cannot be modified. Therefor you need to create a new ‘Content model’ in Alfresco.
Information about how to do so can be found on https://docs.alfresco.com/
Background on Models: https://docs.alfresco.com/content-services/latest/config/models/
Tutorial with example: https://docs.alfresco.com/content-services/latest/tutorial/model/

The Alfresco documentation is elaborate and not all instructions are needed for the basic purpose, adding custom properties.

From the Content Model structure only the Content Model, Custom Types and Properties are required.

Step-by-step

An example as quick reference when using the Alfresco Tutorial steps:

  1. (Navigate to Model Manager)
    Go to http://localhost:8080/alfresco/
    -    Open ‘Alfresco Share’
    -    Open ‘Admin Tools’
    -    Open tool ‘Model Manager’
    o    Here you can create or import a model.
  2. (Create a new model)
    Create Model

    Namespace:

    model/blueriq/1.0

    Prefix:

    br

    Name:

    Blueriq_model

  3. (Create a new type)
    Open the created Model
    -    Select the option ‘Create Custom Type’

    Create Custom Type

    Name:

    Blueriq_Custom_Type

    Parent Type:

    smf:smartFolderTemplate

    Display Label:

    Blueriq Custom Type

  4. (Create new custom type properties)
    Open the created Custom Type
    -    Select the option ‘Create Property’

    Create Property

    Name:

    custom_string

    Display Label:

    Custom String

    Data Type:

    d:text

  5. (Add new type properties to the Layout Designer)
    See tutorial.
    Tip: use the ‘Apply Default Layout’ option in the ‘Layout Designer’




  • No labels