Difference between revisions of "Integration/Content source"

From TempusServa wiki
Jump to navigation Jump to search
old>Admin
old>Admin
Line 2: Line 2:


== Setting up a content source ==
== Setting up a content source ==
* Related solution
* Is active


=== Unique NAME ===
=== Unique NAME ===
Line 8: Line 11:


=== Query command  ===
=== Query command  ===
Relevant commands include
* list
* show
* HTML formatted views
** heat: Heatmaps
** gant: Gant charts
** xtab: Pivot tables
** calm: Calendar


=== Query parameters  ===
=== Query parameters  ===

Revision as of 10:19, 30 December 2017

THIS ARTICLE IS UNDER DEVELOPMENT

Setting up a content source

  • Related solution
  • Is active

Unique NAME

Related solution

Query command

Relevant commands include

  • list
  • show
  • HTML formatted views
    • heat: Heatmaps
    • gant: Gant charts
    • xtab: Pivot tables
    • calm: Calendar

Query parameters

Dynamic parameter

Max cache age

Using a content source

Calling the cmsinterface servlet will provide you with an overview on how to use it.

Example:

  https://www.acme.com/TempusServa/cmsinterface

The interface requires just the name of the source, but additional parameters can be provided.

Parameters

  • q: Name of the interface (required)
    • This name must match "Unique NAME"
  • f: Format of the result (optional)
    • Valid values: html json xml
  • v: Parameter for dynamic values (optional)
    • The value will be substituted to the parameter in "Dynamic parameter"

Example:

  https://www.acme.com/TempusServa/cmsinterface?q=mysource&f=json