3.3.6WebUI service

The WebUI service is a webservice providing the login for the editors desktop.

Property file and property key paths are:

Service properties file

<cmsWorks-installdir>/run/properties/cms.properties

Service property key paths

/app/cmsworks/service/webui/CMSWebUI/

 

Entry

Value

Description

Port

8082

The editors desktop is accessable over this port of the IP or Hostname of the server the cmsWorks instance is running on.

Htdocs

../htdocs/webui

This is the path in the filesystem where the static files and the jsp-files are located.

CMSServiceName

CMSCore

This is the name of the service that provides access to all CMS resources like documents, folders, users, groups, privileges and others

CMSIdentification

mywebsite

This is the name that is shown as the root path of all folders and documents in the editors desktop explorer.

RemoteHosts

search=localhost:8091; scriptserver=localhost:8093

The editors desktop uses other services for some features. They are called via HTTP-Request so this is the place to address the other services.

  • search the location of the Search service, Its called to search for documents
  • scriptserver is the location of the ScriptServer service where contentscripts are running

PicDim

1200x694, 940x347, 600x347, 298x171

This is the list of dimensions of pictures that are proposed if using the pictures editor in the blob input field of a document.

Here is a full example of the CMSWebUI configuration:

# ###################################################################################
# 
# Properties for editors web user interface service
#
# ###################################################################################
# hook service   /app/cmsworks/service/webui,WebUIService
# service create /app/cmsworks/service/webui,WebUIService,CMSWebUI

/app/cmsworks/service/webui/CMSWebUI/StartTimeout=10000
/app/cmsworks/service/webui/CMSWebUI/StopTimeout=10000
/app/cmsworks/service/webui/CMSWebUI/AccessTimeout=1000
/app/cmsworks/service/webui/CMSWebUI/StopInformExtern=1
/app/cmsworks/service/webui/CMSWebUI/LogLevel=fatal error info debug

/app/cmsworks/service/webui/CMSWebUI/Port=8082
/app/cmsworks/service/webui/CMSWebUI/Htdocs=../htdocs/webui

/app/cmsworks/service/webui/CMSWebUI/CMSServiceName=CMSCore
/app/cmsworks/service/webui/CMSWebUI/CMSIdentification=My Website
/app/cmsworks/service/webui/CMSWebUI/RemoteHosts=search=localhost:8091;scriptserver=localhost:8093
/app/cmsworks/service/webui/CMSWebUI/PicDim=1200x694,940x347,600x347,298x171

Configuration example of the WebUI service enabling the editors desktop