Configuring application settings
Use the Internet Information Services (IIS) Manager application to edit general application settings.
Editing the application settings will automatically restart the eShare server.
Do the following:
-
Sign in to the eShare server computer with administrative privileges, and open the Internet Information Services (IIS) Manager application.
-
In the Connections pane, browse to Sites > eShare.
-
In the main view, open Application Settings. Edit the settings as appropriate. We recommend that you do not change settings that are not described in the following table.
Setting Description Cadmatic.AI.Disabled
Specifies whether Cadmatic AI is enabled or disabled. Set by default as false.
-
False/Not set – Cadmatic AI is enabled.
-
True – Cadmatic AI is disabled.
Cadmatic.Auth.Cookie.DefaultExpirationSeconds
Specifies the cookie expiration time. Typically cookie expiration is set to match the expiration of the original token (for OIDC/Entra ID). If unavailable (using Cadmatic.IntegratedSecurity), the expiration time set here is used.
By default set to 12 hours (43200) which is a sensible value.
Cadmatic.Auth.Cookie.ForceDefaultExpiration
Forces cookies to always use the default expiration period no matter how long-lasting the original token was.
Set by default as false.
Cadmatic.Auth.IsLegacyLoginEnabled
Specifies whether the legacy login endpoint used by previous versions of Cadmatic tools is enabled or disabled. For now this setting is enabled by default while migration to the new system is ongoing. The setting will be disabled by default at some point in the future.
Cadmatic.Auth.RedirectWhitelist
Used by third party integrations that want to utilize the eShare web login.
The value is formatted as a space separated list ("https://address1 https://address2").
Cadmatic.AutoCadFontsFolderName
AutoCAD fonts might be necessary for correct displaying of documents. This setting specifies the path to the AutoCAD fonts folder. Alternatively, copy the font files from AutoCAD to %ProgramData%\Cadmatic\eShare\AutoCadFonts.
Cadmatic.AutomatedClientUpdates
Specifies whether automated updates to the latest client version are allowed.
-
False – The automated updates are not allowed.
-
True – The automated updates are allowed.
Specifies the client ID for Azure AD authentication.
Cadmatic.AzureADSecurity must be first set to true to use Azure AD authentication.
Cadmatic.AzureAD.ClientSecret
Not needed for Azure AD/Entra ID authentication. Used for some internal integrations.
Specifies the domain used for Azure AD authentication.
Cadmatic.AzureADSecurity must be first set to true to use Azure AD authentication.
Specifies the tenant ID for Azure AD authentication.
Cadmatic.AzureADSecurity must be first set to true to use Azure AD authentication.
Specifies if Microsoft Azure Active Directory authentication is used.
-
False – Azure AD authentication is not used.
-
True – Azure AD authentication is used.
If set to true, note that all other authentication methods must be turned off.
After setting to true, set Cadmatic.AzureAD.Domain, Cadmatic.AzureAD.ClientId, and Cadmatic.AzureAD.TenantId settings to values necessary for your Azure AD.
Cadmatic.CacheFolderName
Specifies the location of the submodel cache.
Important: eShare may permanently delete any files and folders from this path, so it should not be used by users or applications for any other purpose. Changing the path after initial installation may break existing projects.
Cadmatic.DatabaseAdapterTrustedConnection
Specifies if a trusted connection ("Trusted_connection=True;" in the connection string) is allowed to be used in eShare's data sources and adapters that connect to an SQL database. This mainly affects eShare's database adapter.
-
Enabled – Trusted connections work as usual.
-
Disabled – Trusted connections are blocked by eeShare.
When updating eShare from an earlier version, this setting is set by default as Enabled. For fresh installations of eShare, it is set by default as Disabled.
Cadmatic.DatabaseCommandTimeoutSeconds
Specifies the default database command timeout in seconds. The default value is 900.
Cadmatic.DocumentFolderName
Specifies the location of stored documents published from Cadmatic design applications.
Important: eShare may permanently delete any files and folders from this path, so it should not be used by users or applications for any other purpose. Changing the path after initial installation may break existing projects.
Cadmatic.Documents.AreEncrypted
This setting enables encryption for documents and maps opened online. When encryption is used, documents and maps are encrypted when they are transferred to the browser and when they are stored in the browser’s cache. Encrypting documents increases security. Set by default as true.
-
False – Online document and map encryption is not used.
-
True (default) – Online document and map encryption is used.
If the setting is missing from AppSettings.Config, encryption is used. Documents and maps taken offline are always encrypted, regardless of this setting.
Note: After changing this setting, restart the website and run Clear Project Cache. This replaces documents already stored in the browser cache with versions that match the new setting.
Cadmatic.DownloadedDocumentLinksToApp
Specifies the link target of the links in downloaded documents.
- False – The link target is the eShare web site.
- True – The link target is eShare App.
Cadmatic.DziFolderName
Specifies the location of document viewer cache.
Important: eShare may permanently delete any files and folders from this path, so it should not be used by users or applications for any other purpose. Changing the path after initial installation may break existing projects.
Cadmatic.DziMaxDpi
Specifies the maximum quality of a document that is displayed in the document viewer. The value can be between 150-1 200 dpi, the default being 400 dpi. However, if the document is very large, the document viewer might lower the quality.
Cadmatic.DziMaxNumberOfPages
Specifies how many pages of a multi-page document to show in the built-in document viewer. If the user is opening a document that has more pages, the user is prompted that only the specified number of pages are shown, and to see the whole document the user should download it and open it in a separate viewer application.
Cadmatic.DziMinDpi
Specifies the minimum quality of a document that is displayed in the document viewer. The value can be between 150-1200 dpi, the default being 200 dpi.
Cadmatic.EbmFolderName
Specifies the location of internal model files.
Important: eShare may permanently delete any files and folders from this path, so it should not be used by users or applications for any other purpose. Changing the path after initial installation may break existing projects.
Cadmatic.EnableModelDownloadButton
Specifies whether normal users, admins, or anyone is able to see the link to download the project model file.
-
All / True – The download link is visible to users with the required permissions.
-
Admin – The download link is visible only for project and system admins.
-
None – The download link is not visible to anyone.
If set to All or True, project-specific permissions can be configured in eShare in Project Admin > Submodels.
Note: For upgraded installations, if Cadmatic.EnableModelDownloadButton is set to All or True, and Cadmatic.Models.AreEncrypted is set to False, all users are able to download the model.
New installations start with an empty list, i.e. only administrators are allowed to download the model.Cadmatic.ExcelLinksToApp
Specifies the link target of the Excel object IDs exported by search.
-
False – The link target is the eShare web site.
-
True – The link target is eShare App.
Cadmatic.FloatingLicenseTimeout
Specifies the time after which floating licenses can be taken from idle users if someone else needs the license.
The value is set in minutes and the minimum value is 5. If set to 0, floating licenses cannot be taken from idle users. The default value is 45.
Cadmatic.HTTP.ForwardedHeader
When using session logging, eShare reports the IP addresses of user sessions. When eShare is used behind a reverse proxy, this setting needs to be set "X-Forwarded-For" or equivalent for IP tracking to be accurate.
Set to true by the eShare server installer when Windows authentication is selected, false otherwise. Enables use of Windows Authentication provided by IIS. Cannot be enabled at the same time as Cadmatic.AzureADSecurity or Cadmatic.OIDCSecurity.
Cadmatic.IsAttributeStagingTableUsed
Determines whether eShare uses a faster method for publishing.
-
True – Publishing is faster but eShare requires execute permissions on its stored procedures.
-
False – Publishing is slower and eShare does not require any additional permissions.
Cadmatic.IsOnlyLocalHelpUsed
Determines whether eShare uses only the local help and does not try to reach http://docs.cadmatic.com.
-
True – Only local help is used.
-
False (default) – eShare attempts to first reach https://docs.cadmatic.com, but if the site is not reachable, the local help is used.
Specifies the expiration time of JSON Web Token or cookie in eShare. The value is set in seconds and it can range from 3 minutes to 365 days. Default is 180 days.
To override the expiration time set by the authentication provider, Cadmatic.JsonWebToken.ForceDefaultExpirationPeriod must be set to true.
Specifies if the expiration time of JSON Web Token or cookie set in Cadmatic.JsonWebToken.DefaultExpirationPeriod overrides the expiration time set by the authentication provider.
-
False – The value set in Cadmatic.JsonWebToken.DefaultExpirationPeriod does not override the value set by the authentication provider.
-
True – The value set in Cadmatic.JsonWebToken.DefaultExpirationPeriod overrides the value set by the authentication provider.
Specifies the server address in the format server:port, or just server if the port is the default port.
For example, if the license server is running on port 2989 on a server named ‘license’, set the value to ‘license:2989’.
Cadmatic.LogsFolderName
Specifies the location of stored server log files.
Cadmatic.MapsFolderName
Specifies the location of stored maps.
Important: eShare may permanently delete any files and folders from this path, so it should not be used by users or applications for any other purpose. Changing the path after initial installation may break existing projects.
Cadmatic.MaxExcelObjectsCount
Specifies the maximum number of objects that can be exported from eShare search results to a Microsoft Excel file. The value must be between 20 000 and 1 048 576; the default is 500 000. If the search function finds more objects, the export file will only contain the first objects, in no specific order.
Excel export can have a significant impact on computer's memory consumption. For example, exporting 1 000 000 objects might consume up to 10 GB of RAM, and several simultaneous exports of that size would require the server to have at least 64 GB – 128 GB of RAM. If the value is set too high for the amount of available RAM, the server application will run out of memory and the export crashes.
Cadmatic.MaxMultiSelectCount
Specifies how many objects the user can select at a time. The default value is 20 000. If the user attempts to select more objects than specified here, the properties pane reports the selection instead, for example: "Too many objects selected (150000): no details are shown for more than 20000 objects". In such case, eShare does not send any attribute request for that selection, in other words, a very large selection no longer loads data sources or external adapters needlessly.
The upper bound value is 10 000 000. The actual value used in deployment may depend on server capacity, complexity of the project configuration, number of statuses and so on.
Cadmatic.MaxNumberOfCollisions
Specifies the maximum number of reported collisions. The value must be between 1 000 and 100 000; the default is 10 000.
Cadmatic.MaxNumberOfDocumentIndexingThreads
Specifies the maximum number of threads that the eShare server can use when indexing. This affects the combined load generated by all the data sources doing indexing in all of the projects on the eShare server. If left empty, a default value is used, which uses most of the cores available on the server computer.
The value can be a whole number OR a decimal number, and the default value is the logical processor count – 1.
-
If using a whole number, it directly defines the maximum number of threads to use. The value can be between 1 and n where n is the logical processor count of the server * 2.
-
If using a decimal number, the maximum number of threads is obtained with the following formula:
logical processor count * the decimal number, rounded down
Cadmatic.MaxNumberOfInitializationThreads
Specifies the maximum number of threads that the eShare server can use when starting up. This affects the loading time of enabled adapters and data sources.
The value can be a whole number OR a decimal number, and the default value is the logical processor count – 1.
-
If using a whole number, it directly defines the maximum number of threads to use. The value can be between 1 and n where n is the logical processor count of the server * 2.
-
If using a decimal number, the maximum number of threads is obtained with the following formula:
logical processor count * the decimal number, rounded down
Cadmatic.MaxNumberOfModelImportingThreads
Specifies the maximum number of threads that the eShare server can use when importing models. This affects the combined load generated by all model importers and models.
The value can be a whole number OR a decimal number, and the default value is the logical processor count – 1.
-
If using a whole number, it directly defines the maximum number of threads to use. The value can be between 1 and n where n is the logical processor count of the server * 2.
-
If using a decimal number, the maximum number of threads is obtained with the following formula:
logical processor count * the decimal number, rounded down
Cadmatic.MaxNumberOfModelPublishingThreads
Specifies the maximum number of threads that the eShare server can use when publishing models. This affects the combined load generated by all models published on the eShare server.
The value can be a whole number OR a decimal number, and the default value is the logical processor count – 1.
-
If using a whole number, it directly defines the maximum number of threads to use. The value can be between 1 and n where n is the logical processor count of the server * 2.
-
If using a decimal number, the maximum number of threads is obtained with the following formula:
logical processor count * the decimal number, rounded down
Specifies the maximum number of user licenses that eShare server is allowed to allocate. This can be used to specify how many users can sign in to a single eShare server when multiple eShare servers use the same license server. Or, it can be used to temporarily reduce the number of simultaneous users on a single eShare server, for example if needing to troubleshoot performance issues.
Supported value range: 1-999.
If the parameter is missing or its value is outside the valid range, the maximum number of users that can sign in is the same as the total number of available user licenses. In a multi-server scenario this can result in one eShare server being allowed to allocate all available licenses.
This setting enables client cache encryption that prevents the use of eShare client cache unless there is an active online connection to eShare server. Encrypting models increases security. Set by default as true.
-
False – Client cache encryption is not used.
-
True (default) – Client cache encryption is used.
Cadmatic.OIDC.AudienceList When eShare is called with a JWT access token issued by the OIDC provider, this is a space-separated list of accepted audiences for the token. If not set, falls back to client ID.
Cadmatic.OIDC.Authority
OIDC issuer URI, used to look up the OIDC discovery url. For example, "https://accounts.google.com" for Google logins. Set by default to false.
Cadmatic.OIDC.ClientId Sets the client ID of the OIDC application.
Cadmatic.OIDC.ClientSecret
Client secret of the OIDC application.
Note: This is usually optional for eShare installations without Wave.
Cadmatic.OIDC.LoginClaim
The claim on the ID token used to map OIDC users to eShare user "login". Depends on the identity provider, could be "sub" or "preferred_username". Set by default to "preferred_username".
Cadmatic.OIDC.ResponseType
Changes OIDC response type; should not be changed in most setups. Set by default to "code".
When set to true, enables OIDC login. If set, Cadmatic.IntegratedSecurity and Cadmatic.AzureADSecurity must be false.
Cadmatic.PdmsExchangerFolderName
This setting specifies the path to the PDMS eXchanger installation folder.
Cadmatic.PdsExchangerFolderName
This setting specifies the path to the PDS eXchanger installation folder.
Cadmatic.PointCloudFolderName
Specifies the folder eShare uses to store point clouds. Point cloud files can be manually added to the project folders under it, and once added they will be processed and shown by eShare automatically.
Important: eShare may permanently delete any files and folders from this path, so it should not be used by users or applications for any other purpose. Changing the path after initial installation may break existing projects.
Cadmatic.PdfLegendFontOrFileName
Specifies the PDF stock font name (for example, Times-Bold, or Helvetica), or the full path to a Unicode TrueType font that will be used for the document legend (for example, C:\data\code2003.ttf).
If the setting is empty, Helvetica is used by default.
Allowed stock font names are listed in the PDF Reference 1.7, pages 1109-1110, Table H.3. https://wwwimages2.adobe.com/content/dam/acom/en/devnet/pdf/pdfs/pdf_reference_1-7.pdf
Cadmatic.RemovePointCloudSourceFilesAfterSync
Specifies if eShare should automatically remove point cloud source files when point clouds are added (to save space).
-
False (default) – The point cloud source files are not automatically removed.
-
True – The point cloud source files are removed automatically.
If Cadmatic.RemovePointCloudsWithoutSourceFiles is set to true, it overrides this setting.
Cadmatic.RemovePointCloudsWithoutSourceFiles
Specifies if eShare should remove point clouds without source files.
-
False (default) – The point clouds without source files are not removed.
-
True – The point clouds without source files are removed automatically.
If set to true, this overrides RemovePointCloudSourceFilesAfterSync setting.
Cadmatic.SevenZip.CompressionLevel
eShare packs models (EBM/EBMX), submodels, and offline packages with 7-Zip.
Specifies the 7-Zip compression level, 1–9 (mirrors the 7-Zip -mx switch; 1 = fastest packing with larger files, 9 = slowest with smallest files). Default: 1.
An empty value or 0 means "not configured" and the default applies. Values outside the valid range are adjusted to the nearest valid value; a non-numeric value prevents the server from starting.
At startup,eShare exports the effective value into the EBMX_CompressionLevel process environment variable, which the compression helper processes inherit. If these variables are already set machine-wide with valid values, they take priority over the configured settings. The effective values are written to the eShare log at startup.
Cadmatic.SevenZip.PackThreadCount
eShare packs models (EBM/EBMX), submodels, and offline packages with 7-Zip.
Specifies the number of 7-Zip compression threads, 1–number of logical processors (mirrors the 7-Zip -mmt switch). Default: a third of the logical processors, clamped to the [2, 12] range.
An empty value or 0 means "not configured" and the default applies. Values outside the valid range are adjusted to the nearest valid value; a non-numeric value prevents the server from starting.
At startup, eShare exports the effective value into the EBMX_PackThreadCount process environment variables, which the compression helper processes inherit. If these variables are already set machine-wide with valid values, they take priority over the configured settings. The effective values are written to the eShare log at startup.
Cadmatic.SharedFolderRootPath
Specifies the folders on eShare server from which Excel data sources can read Excel or CSV files and enables the Browse button in Excel data source adapter. The setting includes the folder's subfolders. Changes require server restart.
The format contains one or more entries separated by semicolons, each a display name and a full folder path joined by a vertical bar.
Example: Shared Folder Display Name|\\fileserver\shared;Archive|D:\Archive
A display name is what project administrators see; the path is never shown when selecting files with Browse. A single entry can contain a semicolon in its path, but several entries cannot.
-
Behavior when set: the Excel file of a data source must be inside one of the folders. A file outside the folders, or given as a relative path, is refused with an error that names the folders, both when the file is chosen in the adapter configuration and when the data source loads. Browse lists the folders as its top level when there is more than one and only ever shows their contents. The adapter shows a chosen file as "Folder name > relative path".
-
Behavior when not set: unchanged. Any path readable by the eShare server account may be used, and there is no Browse button.
-
Invalid entries: an entry that is malformed, relative, repeats a name, or lies inside or above another entry's folder is skipped and logged as an error; the other entries stay in force. A folder that does not exist is created; one that cannot be created is kept and logged, so files outside it remain refused.
Important: For upgraded installations, a server that already had this setting with a single folder keeps it unchanged, but any Excel data sources whose files are located outside that folder stop loading until the file is moved into a shared folder or its folder is added as a second entry.
Cadmatic.TempFolderName
Specifies the generic temporary folder used by eShare.
Important: eShare may permanently delete any files and folders from this path, so it should not be used by users or applications for any other purpose. Changing the path after initial installation may break existing projects.
Specifies whether to use named licenses or floating licenses. Make sure that the license file contains licenses that match the selected licensing type.
Supported values:
- 0 – Use named licenses. License server must contain licenses of type 'eShare User'.
- 1 – Use floating licenses. License server must contain licenses of type 'eShare Client'.
If the parameter is missing or its value is outside the valid range, the system uses named licenses by default.
-
-
After making the last change, wait for the server to restart and changes to take effect.