Versions Compared

Key

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

...

Configuration

Default

Description

tia.instances.<instance>.documentNote

true

When activated, the note button in the frontend is visible and can be used.

tia.instances.<instance>.printDocumentNoteDefault

true

Default value for the modal print dialog. When Activated the checkbox is prefilled, otherwise checkbox is not selected.

tia.instances.<instance>.documentNoteOpenMode

"closed"

This option control the note area opening behavior when opening a document:

  • closed - note area is always closed

  • open if note available - note is opened on show document when a note exists

  • always open - note area is always open

tia.instances.<instance>.docNoteModalResize

true

when active a user can reside the notes modal

tia.instances.<instance>.docNoteModalPrefWidth

400

Default width of the document notes modal dialog.

tia.instances.<instance>.docNoteModalPrefEditHeight

150

default high of the notes modal

tia.instances.<instance>.printDocumentNote

true

If this option is activated, users can print the document note.

tia.instances.<instance>.openEditAtStart

false

If this option is activated, edit mode is automatically entered when a document is opened.

tia.instances.<instance>.docNoteFontSize

12

Default font size for notes

tia.instances.<instance>.autoTurnOffEditMode

false

Automatically turns of the Edit mode in case the document has been saved.

tia.instances.<instance>.annotationLineSize

5

default size of the annotation lines

tia.instances.<instance>.checkmarkHeight

23

default high of the checkmark annotation

tia.instances.<instance>.checkmarkColor

rgb(0,0,0)

default color of the checkmark

tia.instances.<instance>.sidebarViewOnLoad

0

If this option is activated (1), the thumbnail is automatically displayed when a document is opened.

tia.instances.<instance>.drawCheckmark

true

If this option is activated, users can draw checkmarks

tia.instances.<instance>.downloadDocument

true

If this option is activated, users can download documents.

tia.instances.<instance>.drawText

true

If this option is activated, users can add text to documents.

tia.instances.<instance>.drawFreehand

true

If this option is activated, users can draw freehand lines.

tia.instances.<instance>.showDocStructure

true

If this option is activated, users can select the doc structure.

tia.instances.<instance>.editMode

true

When activated, new annotations can be edited (created).

tia.instances.<instance>.checkmarkWidth

36

The default width of a checkmark

tia.instances.<instance>.annotationMouseoverTimeout

2000

Defines the amount of time in milliseconds to display the information, who and when an annotation was created, until this notification timeouts.

tia.instances.<instance>.drawHighlight

true

If this option is activated, users can draw highlights.

tia.instances.<instance>.drawArrow

true

If this option is activated, users can draw arrows.

tia.instances.<instance>.printAnnotationsDefault

true

Default value for the modal print dialog. When Activated the checkbox is prefilled, otherwise checkbox is not selected.

tia.instances.<instance>.editOther

true

Defines whether a user may edit annotations created by others or whether he may only edit annotations created by himself

tia.instances.<instance>.drawStamp

true

If this option is activated, users can use stamps.

tia.instances.<instance>.notificationTimeout

5000

Defines the timespan in milliseconds until a notification timeouts.

tia.instances.<instance>.showAnnotationHistory

true

When activated, the annotation history is accessable.

tia.instances.<instance>.checkmarkLineSize

5

Size of a checkmark line

tia.instances.<instance>.drawRedaction

true

If this option is activated, users can draw redactions.

tia.instances.<instance>.annotationFontSize

12

Size of the font in annotations.

tia.instances.<instance>.drawRectangle

true

If this option is activated, users can draw rectangles.

tia.instances.<instance>.printAnnotations

true

If this option is activated, users can print annotations.

tia.instances.<instance>.annotationLineColor

rgb(0,0,0)

Color of the line of a annotation as RGB value.

tia.instances.<instance>.downloadAnnotationsDefault

true

Default value for the modal download dialog. When Activated the checkbox is prefilled, otherwise checkbox is not selected.

tia.instances.<instance>.showOleList

true

show ole attachments when included

tia.instances.<instance>.docNoteModalPrefHistHeight

300

default height of the history list in the note model edit view

tia.instances.<instance>.emailDocument

true

If this option is activated, sending the document via email is enabled (only if external oauth is used).

tia.instances.<instance>.annotationFontColor

rgb(0,0,0)

Default font color for annotations as RGB value.

tia.instances.<instance>.drawCircle

true

If this option is activated, users can draw circles.

tia.instances.<instance>.showWatermark

true

If this option is activated, a watermark is set.

tia.instances.<instance>.printDocument

true

If this option is activated, users can print documents.

tia.instances.<instance>.drawLine

true

If this option is activated, users can draw lines.

tia.instances.<instance>.docNoteModalMinEditHeight

50

Minimal allowed high of the edit note modal. User cannot make it smaller than this value

tia.instances.<instance>.downloadDocumentNoteDefault

true

Default value for the modal download dialog. When Activated the checkbox is prefilled, otherwise checkbox is not selected.

tia.instances.<instance>.docNoteModalMinHistHeight

150

Minimal heigh of the history list in the note model edit view.

tia.instances.<instance>.docNoteModalMinWidth

300

Minimal allowed high of the edit note modal. User cannot make it smaller than this value

tia.instances.<instance>.drawSticky

true

If this option is activated, users can draw sticky notes

tia.instances.<instance>.sap.url

For saving or creating annotations a secKey is required and can be created by sap.
<http|https>://<Host:Port>/tia/tia_viewer?sap-client=<clientId>

tia.instances.<instance>.sap.username

Username for the SAP connection

tia.instances.<instance>.sap.passwortpassword

Password for the SAP connection

tia.instances.<instance>.watermark.text

Text for the watermark in the background

tia.instances.<instance>.stamps.locations

Support Stamps in the following formats:
JPEG
PNG
BMP
GIF

Configuration allows to enter a folder e.g.:

file:///tmp/stamps/

one or more files:

"file:///tmp/stamps/accept.png, /tmp/stamps_new/declined.jpg"

tia.instances.<instance>.secKey

ABC123

This default is not intended for production use, please change this value

tia.instances.<instance>.viewerEnabled

true

If active, a ArchiveLink get request for a component will return the viewer. This configuration allows to use the viewer without SAP Customizing (see https://kgs-software.atlassian.net/wiki/spaces/WIKI/pages/3246620679/Supported+Scenarios+Vc#tia-Viewer-CSV-Scenario* )

tia.instances.<instance>.mimetypes

Code Block
"application/pdf",
"image/tiff",
"image/tif",
"image/jpeg",
"image/jp2",
"image/png"

The viewer supports these types in default an convert the images to pdf.

You reconfigure it and only use the viewer with pdfs with:
tia.instances.<instance>.mimetypes.0=application/pdf

tia.instances.<instance>.mail.view_mode

Popup

Change the behaviour of the Microsoft Graph Mail API. On Mail send following will happen:

on "Popup":

  • A new Tab will open with a DeepLink to the Microsoft Office 365 Outlook Online Page. The Page will be added as attachment. The User only see the Draft of the Mail.

on  "Embedded":

  • A new Tab will open with a Link to the Microsoft Office 365 Outook Online Page. The Page will be added as attachment. The User can see this Inbox, Outbox and Drafts.

...

Code Block
languageyaml
version: '3'
services:

  tiaviewer:
    container_name: tiaviewer
    image: images.docker.kgs-cloud.de/tia-viewer/archivelink-oidc:latest
    ports:
      - "8080:8080"
    environment:
      tia.destinations.saphttp.host: contentservevr.kgs.local
      tia.destinations.saphttp.port: 809
 : 8090
      tia.instances.default.watermark.text: copy
      tia.instances.default.sap.url: https://sapServer:8400/tia/tia_viewer?sap-client=250
      tia.instances.default.sap.username: secuser
      tia.instances.default.sap.password: s3cret
      tia.instances.default.mimetypes.0: application/pdf         

Configuration with yaml

Example for docker compose file

viewer.yaml:

Code Block
languageyaml
tia:
  destinations:
    saphttp:
      host: contentservevr.kgs.local
      port: 8090

  instances:
    default:
      watermark:
        text: "copy"
      sap:
        url: "https://sapServer:8400/tia/tia_viewer?sap-client=250"
        username: secuser
        password: s3cret
      mimetypes:
        - application/pdf
    HR:
      downloadDocument: false
    FI:
      text: "confidential"      

Code Block
languageyaml
version: '3'
services:

  tiaviewer:
    container_name: tiaviewer
    image: images.docker.kgs-cloud.de/tia-viewer/archivelink-oidc:latest
    ports:
      - "8080:8080"
    volumes:
      ./viewer.yml: /app/config/viewer.yml 
    environment:
      spring.config.additional-location: /app/config/viewer.yml