Settings¶
Workspace Settings¶
MIKE OPERATIONS uses a number of workspace settings defined on each workspace in the system manager.
The following core settings are available.
- LockedEntity
- KeepAliveFrequency
Refer to the system manager workspace settings for information the workspace settings.
Configuration Files¶
MIKE OPERATIONS uses configuration files containing various configuration options.
Selected managers of MIKE OPERATIONS uses configuration files.
The following managers uses configuration files.
- Core (DHI.Solutions.Core.config)
- Event manager (DHI.Solutions.EventManager.config)
- Gauge manager (DHI.Solutions.GaugeManager.config)
- GIS manager (DHI.Solutions.GISManager.Config)
- Job manager (DHI.Solutions.JobManager.Config)
- Spreadsheet manager (DHI.Solutions.SpreadsheetManager.Config)
- Time series manager (DHI.Solutions.TimeseriesManager.Config)
- Workflow manager (DHI.Solutions.WorkflowManager.config)
Refer to the manager configuration section for information about settings available.
DHI.Solutions.Core.config¶
The DHI.Solutions.Core.config
contains core settings used by MIKE OPERATIONS.
A subset of the settings in this file are also used in application settings files of MIKE OPERATIONS extensions.
- Database Manager Utility (DHI.Solutions.DatabaseUtility.config)
- MIKE OPERATIONS Desktop (OperatorUI.config)
- Run Editor (DHI.Solutions.RunEditor.config)
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<appSettings>
<add key="DebugTracePath" value="%temp%\dhidss\%appname%-%pid%.svclog" />
<add key="PerfomanceTracePath" value="%temp%\dhidss\performance-%pid%.svclog" />
<add key="DebugTraceLevel" value="Error" />
<add key="PerformanceTraceLevel" value="Off" />
<add key="KeepDebugLogFilePeriod" value="6" />
<add key="TraceConfig" value="x" />
<add key="DebugTraceMaxLogFileSize" value="10" />
<!-- in Mb -->
<add key="XThreadSafe" value="false" />
<add key="InformationFormStayTime" value="5000" />
<add key="ApplicationName" value="MIKE Workbench" />
<add key="StartPageURL" value="https://www.dhigroup.com/news/mike-operations" />
<add key="EnableStartPage" value="True" />
<add key="IconURL" value="" />
<add key="ForceCulture" value="" />
<add key="UserInitiatedSave" value="True" />
<add key="RunMode" value="1" />
<add key="SplashBackgroundImagePath" value="" />
<add key="DefaultText1" value="MIKE Workbench" />
<add key="DefaultText2" value="Version: 2024.3" />
<add key="DefaultText1Font" value="Tahoma, 8pt, style=Bold" />
<add key="DefaultText1Color" value="ControlText" />
<add key="DefaultText2Font" value="Tahoma, 8pt, style=Regular" />
<add key="DefaultText2Color" value="ControlText" />
<add key="DssCacheRetainPeriod" value="20" />
<add key="DssCacheFlushFrequency" value="30" />
<add key="DssCacheMinimumAvailableMemory" value="200" />
<!-- in MB -->
<add key="DssMaximum32BitProcessSize" value="1200" />
<!-- in MB -->
<add key="DssCacheLocation" value="" />
<!-- leave empty for %TEMP%\DHIDSS -->
<add key="DssDefaultExplorers" value="TimeseriesExplorer;GISExplorer;SpreadsheetExplorer;ToolsExplorer" />
<add key="DisableMainMenu" value="False" />
<add key="DisableHelp" value="False" />
<add key="OnlineHelpUrl" value="https://userdoc.mikeoperations.mikepoweredbydhi.com/" />
<add key="EnablePropertyWindows" value="True" />
<add key="ShowSplash" value="True" />
<add key="DisableStatusBar" value="False" />
<add key="UIFont" value="Segoe UI, 8pt, style=Regular" />
<add key="DBReconnectInterval" value="2000" />
<!-- in milliseconds -->
<add key="DBReconnect" value="False" />
<add key="ShowToolLoadErrorsAsInformation" value="True" />
<add key="ShowViewTab" value="True" />
</appSettings>
</configuration>
ApplicationName¶
The application name to be shown in splash the screen, login dialog, the title bar and more.
DebugTraceLevel¶
Specifies the levels of trace messages for the debug trace..
- All
Allows all events through. - Off
Does not allow any events through. - Critical
Allows only System.Diagnostics.TraceEventType.Critical events through. - Error
Allows System.Diagnostics.TraceEventType.Critical and System.Diagnostics.TraceEventType.Error events through. - Warning
Allows System.Diagnostics.TraceEventType.Critical, System.Diagnostics.TraceEventType.Error, and System.Diagnostics.TraceEventType.Warning events through. - Information
Allows System.Diagnostics.TraceEventType.Critical, System.Diagnostics.TraceEventType.Error, System.Diagnostics.TraceEventType.Warning, and System.Diagnostics.TraceEventType.Information events through. - Verbose
Allows System.Diagnostics.TraceEventType.Critical, System.Diagnostics.TraceEventType.Error, System.Diagnostics.TraceEventType.Warning, System.Diagnostics.TraceEventType.Information, and System.Diagnostics.TraceEventType.Verbose events through. - ActivityTracing
Allows the System.Diagnostics.TraceEventType.Stop, System.Diagnostics.TraceEventType.Start, System.Diagnostics.TraceEventType.Suspend, System.Diagnostics.TraceEventType.Transfer, and System.Diagnostics.TraceEventType.Resume events through.
DebugTraceMaxLogFileSize¶
Maximum size of the debug trace file. Once the file size is exceeded, a new trace file is created.
DebugTracePath¶
Full file Path to the debug trace written based on the DebugTraceLevel
.
%temp%
is the user temp directory.%appname%
is the application name.%pid%
is the process id.
DBReconnectInterval¶
Interval in miliseconds that the connection to the database is verified.
DBReconnect¶
Enable database reconnect check, to ensure the the database server is alive.
DefaultText1¶
Text shown on the splash screen.
DefaultText1Color¶
Color of DefaultText1.
DefaultText1Font¶
Font used by DefaultText1.
DefaultText2¶
Text shown on the splash screen.
DefaultText2Color¶
Color of DefaultText1.
DefaultText2Font¶
Font used by DefaultText2.
DisableHelp¶
Disable the F1 help.
DisableMainMenu¶
Disable the main menu.
DisableStatusBar¶
Disable the status bar.
DssCacheFlushFrequency¶
Cache flush interval in seconds.
DssCacheLocation¶
Specifies the cache location. Default (empty) = %temp%\DHIDSS
.
DssCacheMinimumAvailableMemory¶
Flush to cache if memory becomes less than the specified value.
DssCacheRetainPeriod¶
Retain cached entities in memory for specified seconds.
DssDefaultExplorers¶
Explorers shown when starting MIKE OPERATIONS for the first time or when resetting the layout.
Available Explorers
- AnalysisExplorer
- DocumentExplorer
- FavoriteExplorer
- GISExplorer
- IndicatorExplorer
- JobExplorer
- OperationsExplorer
- PlacesExplorer
- ReportExplorer
- ScenarioExplorer
- ScriptExplorer
- SpreadsheetExplorer
- TimeseriesExplorer
- ToolsExplorer
- WorkflowExplorer
DssMaximum32BitProcessSize (obsolete)¶
Maximum memory size of a 32-bit process in MB.
EnableStartPage¶
Enable the start page.
ForceCulture¶
Specify the culture (text language) to use when running MIKE OPERATIONS.
MIKE Workbench currently only supports English.
MIKE OPERATIONS Desktop is supporting the following languages.
- de (German)
- en (English) default
- fr (French)
- pl (Polish)
IconURL¶
URL to an icon to be used in dialogs.
InformationFormStayTime¶
Number of miliseconds that the information window in the lower right corner is shown when information massages are shown, e.g. when load errors or warnings are shown.
KeepDebugLogFilePeriod¶
OnlineHelpUrl¶
The base online help URL used by the MIKE OPERATIONS context sensitive help (F1).
PerformanceTraceLevel¶
Specifies the levels of trace messages for the performance tracing.
- All
Allows all events through. - Off
Does not allow any events through. - Critical
Allows only System.Diagnostics.TraceEventType.Critical events through. - Error
Allows System.Diagnostics.TraceEventType.Critical and System.Diagnostics.TraceEventType.Error events through. - Warning
Allows System.Diagnostics.TraceEventType.Critical, System.Diagnostics.TraceEventType.Error, and System.Diagnostics.TraceEventType.Warning events through. - Information
Allows System.Diagnostics.TraceEventType.Critical, System.Diagnostics.TraceEventType.Error, System.Diagnostics.TraceEventType.Warning, and System.Diagnostics.TraceEventType.Information events through. - Verbose
Allows System.Diagnostics.TraceEventType.Critical, System.Diagnostics.TraceEventType.Error, System.Diagnostics.TraceEventType.Warning, System.Diagnostics.TraceEventType.Information, and System.Diagnostics.TraceEventType.Verbose events through. - ActivityTracing
Allows the System.Diagnostics.TraceEventType.Stop, System.Diagnostics.TraceEventType.Start, System.Diagnostics.TraceEventType.Suspend, System.Diagnostics.TraceEventType.Transfer, and System.Diagnostics.TraceEventType.Resume events through.
PerfomanceTracePath¶
Full file Path to the performance trace written based on the PerformanceTraceLevel
.
%temp%
is the user temp directory.%appname%
is the application name.%pid%
is the process id.
RunMode¶
- HasNoDatabase (0)
No database access. - HasStandardDatabase (1)
Allow access to databases.
ShowSplash¶
Value indicating whether the splash screen should be shown.
ShowToolLoadErrorsAsInformation¶
Show information popup in the lower left corner of the user interface if tools fail loading.
ShowViewTab¶
Show tabs of the data views in the user interface.
SplashBackgroundImagePath¶
Path to image to show as splash image when starting MIKE OPERATIONS.
StartPageURL¶
The default start page URL. The URL can be overwritten by individual user workspace settings.
TraceConfig¶
Default x
(or any value other than app.config
) means that debug and performance tracing is configured using settings in 'DHI.Solutions.Core.config'.
If app.config
is specified, settings are read from the app.config file of the application.
UIFont¶
Font used in the user interface in e.g. explorers and the shell.
UserInitiatedSave¶
Value indicating whether users should actively save changes when editing data tables in data views.
XThreadSafe¶
Default false
.
true
, will enable threading syncronization by using object locking, to prevent other users from updating objects when another user is updating it.
Note
It is recommended to use the default XThreadSafe setting false
.