The configuration can be done by environment variables or by a yaml configuration file. For more complex scenario the yaml is recommended.
Global Environment Variables
...
Configuration
...
Required
...
Default
...
Description
...
tia.destinations.saphttp.host
...
...
Hostname of the server with the ContentServer
...
tia.destinations.saphttp.port
...
...
Port of the ContentServer usually 80 or 443
...
tia.destinations.saphttp.protocol
...
https
...
Protocol of the contentserver http or https
...
tia.destinations.saphttp.path
...
/contentserver
...
Context Path of the server usually /contentserver
Global OPENID Configuration
...
Configuration
...
Required
...
Description
...
spring.security.oauth2.client.provider.azure.issuer-uri
...
...
Usually https://login.microsoftonline.com/<tenant>/v2.0
...
spring.security.oauth2.client.provider.azure.user-name-attribute
...
...
Defines where in the token the username can be found, usually name
...
spring.security.oauth2.client.registration.azure-login.provider
...
...
The provider that should be used. Should be azure
...
spring.security.oauth2.client.registration.azure-login.client-id
...
...
The public identification of the application, the ClientId
...
spring.security.oauth2.client.registration.azure-login.client-secret
...
...
The client secret for the application
...
spring.security.oauth2.client.registration.azure-login.scope[0]
...
...
fixed value openid
...
spring.security.oauth2.client.registration.azure-login.scope[1]
...
...
fixed value email
...
spring.security.oauth2.client.registration.azure-login.scope[2]
...
...
fixed value profile
Instance Variables
All instance variables are optional and there is no configuration required. Use the default profile in this case. You can also override the default profile with your own configuration or create new instances. Only changed parameter should be in the configuration.
configurations are overritten in there levels:
global default
default instance configuration
specific instance configuration
Example:
Global inbuild default: documentNote
is true. (notes can be created in documents.
default configuration override: tia.instances.default.documentNote
is false. Inbuild default is overritten and notes are global disabled
Finance configuration allows notes: tia.instances.finance.documentNote
is true. When the instance finance is used the notes can be applied and displayed.
...
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>.disableFullscreen
...
true
...
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
...
tia.instances.<instance>.docNoteModalPrefHistHeight
...
300
...
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
...
tia.instances.<instance>.drawLine
...
true
...
tia.instances.<instance>.docNoteModalMinEditHeight
...
50
...
tia.instances.<instance>.downloadDocumentNoteDefault
...
true
...
tia.instances.<instance>.docNoteModalMinHistHeight
...
150
...
tia.instances.<instance>.docNoteModalMinWidth
...
300
...
tia.instances.<instance>.drawSticky
...
true
...
tia.instances.<instance>.sap.username
...
tia.instances.<instance>.sap.url
...
tia.instances.<instance>.sap.passwort
...
tia.instances.<instance>.watermark.text
...
tia.instances.<instance>.stamps.locations
...
file:///tmp/stamps/
...
tia.instances.<instance>.secKey
...
ABC123
...
This default is not intended for production use, please change this value
...
tia.instances.<instance>.viewerEnabled
...
true
...
tia.instances.<instance>.mimetypes
...
Code Block |
---|
"application/pdf",
"image/tiff",
"image/tif",
"image/jpeg",
"image/jp2",
"image/png" |
Configuration by environment variables
...
tia® Viewer Core is configured using configuration parameters. There are different ways to specify them, described here: https://kgs-software.atlassian.net/wiki/x/FAALxw .
There are two categories of configuration parameters:
Global settings apply to the tia® Viewer Core instance, and
Instance settings apply to named instances, so configurations can be mapped to repositories, respectively to business objects and document types (SAP Customizing only, see Customize by repository respective business object and document type).