Configuration
To configure the application you would specify your configuration in the networkBroker.setup() call, like this:
webui.networkBroker.setup({
currencyCode: 'EUR',
});
Setup options
Possible configuration options are:
| Option | Description |
|---|---|
The maximum file size allowed for new CAD files in bytes |
|
The currency label displayed on price values |
|
A map with Edit Data Configuration Entries for all input fields.
Available fields are:
|
|
If set to true, a input field is shown which allows the user to specify an exact rotation on the machine for the part |
|
Enables selection of engraving layers on DXF data |
|
An array with spacer elements for the input field table, consisting of
|
|
A Javascript function to set ajax request headers
|
|
Enables display of 3D data in webui |
|
The locale used in webui, currently supported:
|
|
A map configuring which parts should be available to be created within webui, without uploading a CAD file. Option
|
|
A map that specifies how prices should be displayed:
|
|
Starts webui either in read only mode or in full mode. Read only mode does not show price information, only shows if an imported file can be processed or if errors occured |
|
A map with the key Enables users to force a part that is not detected as sheet metal part to be calculated |
|
Allows to customize error messages. To use original messages set to false, else set string to display as error message.
|
|
Starts a wizard dialog for setting up materials, thickness, etc. after adding new CAD files if true |
|
Allows to overwrite any text in webui. Documenting any available text in webui would be out of scope of this documentation. Please contact us if you need to overwrite text parts of the application. |
|
A Javascript function to periodically call an update to keep any web sessions active
|
Edit Data Configuration Entries
Defines how and where input fields are shown
{
// ...
articleName: {
showInfoIcon: false,
visible: true,
rowPriority: 2,
columnPriority: 0,
},
// ...
}
| Option | Description |
|---|---|
Displays a help icon besides the input field |
|
If false, the input field is hidden |
|
The form row number the input field should be shown |
|
The form column number the input field should be shown |