Skip to content

Jalios Connector

Connector Configuration

Thanks to the integration between Wikit Semantics and Jalios, your Wikit Semantics app allows your users to leverage your collaborative spaces and document repositories. The connector synchronizes documents and content from your Jalios spaces (Publications) with a Wikit Semantics data source.

Field nameFormat / TypeRequiredComment
Base URL of your Jalios platformURL
URL path prefixFree textBy default, this is jcms
REST API connection informationFree text / PasswordAuthentication key or username/password
ID(s) of the workspace(s)List of textsTo retrieve the list of workspaces: https://<domain>/work/workspace/workspaceList.jsp
Content typesList of textse.g. generated.BlogPost, generated.DBWikiPage, generated.FaqEntry, generated.JEvent, generated.JNewsArticle...

💡 Fields marked ✅ are required for the connector to work.

Setup

Web Services Activation (Open API)

The connector requires access to the REST API of the Jalios instance.

  1. Log in with a Jalios administrator account
  2. Go to the administration area via the address https://<domain>/admin/
  3. In the "Technical Administration" section, go to property editing, via the "Properties" link: https://<domain>/admin/adminProperties.jsp
  4. Activate the Open API interface by authorizing read and operations.

Checking the descriptive URL prefix

The descriptive prefix is used for readable URLs of documents and pages in Jalios. By default, the value jcms is used in Jalios; it can be modified in the instance properties.

To check the prefix:

  1. Log in with a Jalios administrator account
  2. Go to the administration area via the address https://<domain>/admin/
  3. In the "Technical Administration" section, go to property editing, via the "Properties" link then the "Advanced Editing" button: https://<domain>/admin/properties/editor/propEditor.jsp
  4. Filter on the descriptive-urls.prefix property:

Retrieving workspace information

The list of workspaces lets you obtain the names and IDs of workspaces for connector configuration. It is available at the URL https://<domain>/work/workspace/workspaceList.jsp.

In addition, to help identify the most relevant workspaces to feed the RAG, the Jalios administration area offers a "Usage Analysis" section, showing in particular the most visited spaces (Top 10 spaces ordered by number of requests). This section is available in the administration area at the URL https://<domain>/admin/analytics/report/index.jsp.

How the Connector Works

Jalios is a content management platform implemented with Java technologies (JDK, Tomcat, Hibernate, ...) which in particular incorporates the notion of Content Types, useful for data source synchronization connectors. Types are organized hierarchically, linked to the Java classes that implement their properties and methods.

The available connectors let you process different content types to synchronize into Wikit Semantics:

  • Jalios-Publication: any content that inherits from the generic type Publication, using the content's properties to prepare fragments

For synchronizing publications, it involves defining the publication type and how to use the data from the objects in question.

Types can be (non-exhaustive list):

  • generated.BlogPost
  • generated.DBWikiPage
  • generated.FaqEntry
  • generated.JEvent
  • generated.JNewsArticle
  • or any other type available in the Jalios instance.

Publications retrieved to be transmitted to Wikit Semantics are transformed by the connector into an intermediate format (HTML or Markdown). A Mustache or Handlebars expression allows configuring this transformation, for example:

<h1>{{{title}}}</h1>

{{intro}}

{{content}}
  • Jalios-Document: any content with an attached file, which inherits from the type DBFileDocument, using the file in question via the absDownloadUrl property.

A Content Type editor is available in the administration area at the URL https://<domain>/admin/typeListEditor.jsp.

Content Type editor, showing in particular the Java name of the type (BlogPost)

The editor lets you manage the types defined for the Jalios instance, as well as retrieve the technical names useful for configuring publication connectors:

  • Java name of the type (i.e. the Java class name);
  • Java names of the fields.

Note that custom types are generally prefixed with the package name generated., for example generated.MySuperCustomType.

These Java names are therefore useful for specifying the type to retrieve, and the fields to use in the transformed version of the content before ingestion into Wikit Semantics (see the Mustache/Handlebars expression above).