JavaScript Settings of TIS Board - TISBoardSettings.js
You can parametrize TIS Board by setting advanced variables in TISBoardSettings.js.
- TISBoard.ControllerLabelWidth
- TISBoard.MaxOpenedTabs
- TISBoard.OMTPStyle
- TISBoard.defaultClient
- TISBoard.LoginShowClient
- TISBoard.MinHeight
- TISBoard.MaxHeight
- TISBoard.MinTileHeight
- TISBoard.MinRefreshTime
- TISBoard.MaxShortInfoTextLength
- TISBoard.MaxWestTreeWidth
- TISBoard.MinWestTreeWidth
- TISBoard.DashboardLogoImagePath
- TISBoard.ShowStartupTips
- TISBoard.LogonRequestTimeout
- TISBoard.UploadSplitSize
- TISBoard.DatePickerStartDay
- TISBoard.SynchronizePageChange
- TISBoard.EditorPath
- TISBoard.ViewSettings
TISBoard.MAINCONNECTURL
TISBoard.MAINCONNECTURL = '/XIMES/TISBoard/DispatcherService.svc';
Determines which service is connected. Important: only services on the same domain (e.g. www.ximeshosted.com) are reachable.
TISBoard.lang
TISBoard.lang = "de";
Base language setting of the overview + login pages. Once the user is logged in, the language is changed to the language of the user/client.
TISBoard.AddPortletTreeHeight
TISBoard.AddPortletTreeHeight = 350;
Height of the portlet tree combo element.
TISBoard.ControllerLabelWidth
TISBoard.ControllerLabelWidth = 150;
Width of the controller labels (left hand side).
TISBoard.MaxOpenedTabs
TISBoard.MaxOpenedTabs = 6;
Limit of concurrent open tabs in TISBoard. If more tabs are opened, the oldest is closed automatically.
TISBoard.OMTPStyle
TISBoard.OMTPStyle = "background: #FF0000;";
Background color of dashboard pages.
TISBoard.defaultClient
TISBoard.defaultClient = "01";
Default client which is used on the login screen.
TISBoard.LoginShowClient
TISBoard.LoginShowClient = false;
Show or hide the client field on the login screen.
TISBoard.MinHeight
TISBoard.MinHeight = 150;
Minimal height of a portlet.
TISBoard.MaxHeight
TISBoard.MaxHeight = 2000;
Maximum height of a portlet.
TISBoard.MinTileHeight
TISBoard.MaxHeight = 45;
Minimal height of tile portlets, must be greater or equals than 45 .
TISBoard.MinRefreshTime
TISBoard.MinRefreshTime = 0;
Minimal auto-refresh time of a portlet in seconds. Can be set to e.g. 30 to disallow lower settings by users.
TISBoard.MaxShortInfoTextLength
TISBoard.MaxShortInfoTextLength = 80;
Maximal length for collapsed multiselect portlet summary text.
TISBoard.MaxWestTreeWidth
TISBoard.MaxWestTreeWidth = 355;
Maximum width of navigation tree.
TISBoard.MinWestTreeWidth
TISBoard.MinWestTreeWidth = 200;
TISBoard.DashboardLogoImagePath
TISBoard.DashboardLogoImagePath = "logos";
Path for dashpage logo images (relative to portal/portal/ )
TISBoard.ShowStartupTips
TISBoard.ShowStartupTips = true;
Show tips after login in the lower right corner.
TISBoard.LogonRequestTimeout
TISBoard.LogonRequestTimeout = 60; // seconds
Timeout for the initial LogOn request.
TISBoard.UploadSplitSize
TISBoard.UploadSplitSize = 10 * 1024 * 1024; // in bytes
Large files are split up during upload in smaller chunks - default is 10MB.
TISBoard.DatePickerStartDay
TISBoard.DatePickerStartDay = 1; // 0 is sunday, 1 is monday
Start day (first column) of date picker (Monday or Sunday),
TISBoard.SynchronizePageChange
Setting it to "true" blocks page changes if a portlet is still working.
Default is false, so no changed behaviours for other sites.
TISBoard.EditorPath
Link zum Editor neu angeben
TISBoard.EditorPath = "../../../TISEditor/";
TISBoard.ViewSettings
Under the hood view settings for TISBoard. Best use is via TISBoard.setAppMode("Default|TabsOnly|TreeOnly|Overview|Page")
in TISBoardSettings.js
.
Default
- TopBar: true, // show top bar
- WestTree: true, // show west tree
- DashboardTabs: true, // show tabs for dashpages
- HideNavigationFromDashpage: false, // hide navigation area from dashpages
- HideLogoutFromDashpage: false, // hide logout button from dashpage navigation area
- DashpageHeader: true, // show header area in dashpage (title, navigation, logo)
- WestTreeStatusPanel: false, // show status panel in west tree (bottom)
- DashpageCustomerLogo: true, // add customer logo to dashpage
- NavigationCustomerLogo: true, // customer logo in flying navigation window
- DashboardTabsClosable: true, // show "X" in Tab header
- EnableCustomerLogoChange: true, // show change logo button in dashpage properties
- HideStatusBar: true, // hide status bar of portlets
- DashpagePrintable: true,
- PortletHeader: true,
- PortletBorder: false,
- MinimumDashpageColumnWidth: 200
Overview
- TISBoard.ViewSettings.WestTree = false;
- TISBoard.ViewSettings.DashpageHeader = true;
- TISBoard.ViewSettings.WestTreeStatusPanel = false;
- TISBoard.ViewSettings.DashboardTabs = false;
- TISBoard.ViewSettings.HideStatusBar = true;
- TISBoard.ViewSettings.TopBar = false;
TabsOnly
- TISBoard.ViewSettings.WestTree = false;
- TISBoard.ViewSettings.DashpageHeader = true;
- TISBoard.ViewSettings.WestTreeStatusPanel = false;
- TISBoard.ViewSettings.DashboardTabsClosable = false;
- TISBoard.ViewSettings.HideStatusBar = true;
- TISBoard.ViewSettings.TopBar = false;
TreeOnly
- TISBoard.ViewSettings.WestTree = true;
- TISBoard.ViewSettings.DashboardTabs = false;
- TISBoard.ViewSettings.WestTreeStatusPanel = false;
- TISBoard.ViewSettings.DashpageHeader = true;
- TISBoard.ViewSettings.HideStatusBar = true;
- TISBoard.ViewSettings.TopBar = false;
Page
- TISBoard.ViewSettings.WestTree = false;
- TISBoard.ViewSettings.HideNavigationFromDashpage = true;
- TISBoard.ViewSettings.HideLogoutFromDashpage = true;