ImportConfig
async function ImportConfig(ctx: Context, Path: string): void
The ImportConfig function can be used to import the configuration of a server or Server-Extension. Typically, the configuration is exported beforehand from an existing server (e.g. via https://127.0.0.1:1020/Export/TcHmiSrv).
Example call:

Parameter
Name | Type | Description |
---|---|---|
ctx <hidden> | Context object with feedback on the error/success of the execution. | |
Path | string | The path to the file in the project that contains the configuration to be imported. |
Return value
Type | Description |
---|---|
void | No return value. |
NuGet package: Beckhoff.TwinCAT.HMI.Plastic.Functions
Available: since version 12.18.0
Use: TC3 Plastic Application HMI Projects