Skip to main content
Advanced Search
Search Terms
Content Type

Exact Matches
Tag Searches
Date Options
Updated after
Updated before
Created after
Created before

Search Results

669 total results found

4 Frontend

Explanations of all the features in the standard front-end of a TS application.

6 Technical reference

Technical documentation for developers

8 Application Support

Support regarding specific standard solutions

3 Training and certification

1 Platform Overview

Learn about the platform and its features

2 Guides

Step-by-step guides to help you achieve specific things using the platform

5 Designer (Backend)

Explanations of all the features in the TS designer (back-end)

7 Hosting

Notes about how to host a TS application

Field type reference

Documentation for all data model building blocks (content types)

Policy reference

Documentation for shared server configuration options

Needs Work

Command reference

Overview of commands and main functionality

Java API

Backend API for building new codeunits

JavaScript functions

Frontend API for tweaking interface behavior

REST interface

Using built-in solution webservices The rest interface has two versions. v1, XML-version (default) v2, JSON-version

Codeunit reference

Reference for common funtionality extensions

Scheduled services

Scheduled services tools

Standard Integrations

System integration options including REST services

List queries

How to filter data THIS ARTICLE IS UNDER DEVELOPMENT

Dashboards

Command line tools

Tools for maintaining your UNIX platform

Server maintenence

Tips for hosting TS servers.For internal setup instructions please refer to TS hosting instructions

TS hosting instructions

Internal setup instructionsAn installation includes: Server installation Domain name SSL certificate Server monitoring Remote backup

Integration services

The recommended way to communicate with Tempus Serva is through the webservice interface (REST). Regardless of you are using the scheduled import services or the webservice interface, all restrictions from the solution models apply.

Coding standards

Glossary (nomenclature)

Useful SQL

A collection of SQL queries that might be useful in different situations.

CRM

SMB Suite

Builtin functions

JavaScript functions

The following functions are only available for single item views (edit or show).

Dashboard widget configuration

Dashboards

Basic

Field type reference

Basic fields that just store some information or do not require much, if any, configuration. Package name: basic

Lookup

Field type reference

Package name: lookup

Needs Work

Lookup AJAX

Field type reference

Package name: ajax

Needs Work

Files

Field type reference

Package name: files

Needs Work

Tabular data

Field type reference

Package name: table

Needs Work

Parent/child

Field type reference

Package name: relation

Needs Work

Complex

Field type reference

Package name: special

Needs Work

System

Field type reference

Package name: system

Needs Work

Medico

Field type reference

Package name: medico

Needs Work

Action button

Field type reference

Package name: button

Needs Work

Visual extra

Field type reference

Package name: visual

Needs Work

Extension

Field type reference

Package name: extension

Needs Work

Formevents

Codeunit reference

Needs Work

Pagecontent

Codeunit reference

Needs Work

PagecontentPublic

Codeunit reference

Needs Work

Statusaction

Codeunit reference

Needs Work

Translator

Codeunit reference

Needs Work

Set up SSL/TLS/HTTPS

TS hosting instructions

SSH into the new server Ensure that the server has been fully installed, and an instance has been installed as well To install run: ts install Solution 1, SSL offload using nginx Install nginx, run: ts install-proxy Setup a proxy, run: ts setup-...

Server monitor page

Server maintenence

Each application contains a public page that can be queried for server status. The page is: https://SERVER/APPLICATION/service?PASSWORD Password can be set in the policy: healthMonitorPassword Response will look something like: <serverstatus> <flag name...

Backing up and restoring

Server maintenence

TS has inbuilt manual functions on the solution level, but measures have to taken to back the data IN the solutions. Backups should optimally be done either by dumping the database. Alternatively the database can be stopped (important) and data folders can be...

URL redirects and rewrites

Server maintenence

Tempus Serva (version 2090+) contains server filters for URL rewrite, redirects and forwards. The filter is deactivated by default, but can be enabled by Rename /WEB-INF/web.xml.urlrewrite to web.xml Change /WEB-INF/urlrewrite.xml as needed Restart the s...

Moving files to S3 storage

Server maintenence

Create a bucket at AWS Select same region as server is hosted in Go to https://eu-north-1.console.aws.amazon.com/s3/buckets Add bucket Select Directory if files are mainly media (pictures/video) Name the bucket: s3fs.CUSTOMER Add IAM role to se...

Current CLI

Command line tools

A new version of the CLI was released on 21. december 2023.If you are looking for the old CLI you can find the documentation here. Compatibility The tools are compatible with the following distributions. Amazon Linux, version 1, 2 and 2023 Debian, versio...

Legacy CLI

Command line tools

Compatibility The scripts require the use of Tomcat application server, primarily for EC2 instances. The shell tools are compatible with the following distributions Amazon linux 2 Ubuntu Server RedHat/CentOS linux (experimental) Other versions are li...

Backup and restore, tools and known problems

Server maintenence

Everything in a TempusServa installation is stored in the underlying database. A full backup plan will only require frequent snapshots of the database. The only exception to the all-in-the-database policy is Connection string for the database Container r...

AWS Server setup

TS hosting instructions

Installing the server Log into the AWS account Choose an appropriate zone, eg. eu-north-a (Stockholm) Navigate to the EC2-dashboard Launch a new instance Give it a useful name  Change the Instance type Select a keypair that you have access to Selec...

Scaleway server setup

TS hosting instructions

Installing the server Log into the Scaleway account Navigate to Instances Click the "+ Create Instance" button Choose an appropriate zone Choose an appropriate server size Choose a supported OS (CentOS Stream 9) Give the server a useful name Add tags...

Set up domain name

TS hosting instructions

Sign in to the Cloudflare Dashboard Select the domain, usually tsnocode.com Select DNS in the side menu Click Add Record Type: A Name: the subdomain part, eg. alpha, if the full domain is alpha.tsnocode.com IPv4 address: IP of the server Disable Pro...

Old implementation

TS hosting instructions Set up SSL/TLS/HTTPS

The following is the old, manual, way of installing SSL certs. Tomcat 7 automatic installation Using the TS commandline tools, you specify the domain and your email tsinstallssl.sh server.acme.com [email protected] After a couple of minutes you...

Set up monitoring

TS hosting instructions

Log in to UptimeKuma Clone an existing monitor group in the Customers group Clone an existing not "- Healthy" monitor Change Friendly Name Change URL Change Monitor Group Clone an existing "- Healthy" monitor, if hosting is not shared Change F...

Set up remote backup

TS hosting instructions

Client server setup Log into server via SSH Ensure that the backup ssh-certificate is installed On old servers running Legacy CLI Run: tsrefreshscripts.sh Run: tsbackupcertificates.sh Check if cronjobs are missing: sudo crontab -l Run: tsinstall...

Sessions

Java API

For interacting with Tempus Serva records you need a session.You can create one like this: Session session = SessionFactory.getSession(this); // or, in a codeunit Session session = getSession(); All sessions need to be terminated after use (releasing DB co...

Constructing queries

Java API

First of create a query object SolutionQuery myQuery = session.getSolutionQuery( "mynewsolution" ); A query is built much like an SQL query by appending different fields to be SELECT'ed myQuery.addSelectField("MYNUMBER"); myQuery.addSelectField("MYOTHERNUM...

Retrieve data

Java API

Data are extracted from the query resultset using a relative reference to the record number for (int i = 0; i < rs.size(); i++) { String text = "Value nr " + i " = " + rs.getRecordValue(i, "MYVALUE"); System.out.println(text); } // or for (int i = 0;...

Change / create data

Java API

Needs Work

Code example

Java API

The following example shows how data is retrieved from af collection of templates and used to create a collection of records (with values copied from the template). String thisKeyToParentTemplate = "VALGTSKABELON"; // Entity String templateSolutionName = "ta...

Code placement

JavaScript functions

The following places can contain JS code Entity header Entity status JavaScript field Additionally HTML with inline script can be placed in Wrapper Template Finally expressions can be evaluated using Entity field dependency

Get and set values

JavaScript functions Builtin functions

Display values are handled using standard getter and setters getValue(fieldName) setValue(fieldName,value) Example let a = getValue("NUMBER1"); let b = getValue("NUMBER2"); setValue( "RESULT", (a-b) ); For explicitly getting a value (or ID) use g...