Configures the Web settings for the current project. The settings configured in the function are updated on the HTML files of the project.
Function | Group | Execution | Windows | Embedded | Thin Client |
---|---|---|---|---|---|
SetWebConfig | System Info | Synchronous | Supported | Supported | Executed on Server |
SetWebConfig( strServerIP, optStrBackupURL, optStrPathFile, optNumHostPort, optStrSecondaryServerIP, optNumProtocolFlag, optNumGtwPort, optStrGtwIP, optStrSecondaryGtwIP, optStrISSymbolURL )
Error | Description |
---|---|
0 | No error |
1 | Invalid number of parameters |
2 | Invalid Server IP address 1 |
3 | Invalid URL |
4 | Invalid optional path |
5 | No Web pages found |
Tag Name | Expression |
---|---|
Tag | SetWebConfig( "192.168.1.28" ) |
Tag | SetWebConfig( "192.168.1.28", "http://192.168.1.28/" ) |
Tag | SetWebConfig( GetComputerIP(), "http://" + GetComputerIP() + "/" ) |
Tag | SetWebConfig( "192.168.1.28", "http://192.168.1.28/", "C:\MyWebPages\" ) |
Tag | SetWebConfig( "192.168.1.28", "http://192.168.1.28/", "C:\MyWebPages\", 1234 ) |
Tag | SetWebConfig( "192.168.1.28", "http://200.0.0.10/", "C:\MyWebPages\", 1234, "192.168.1.29", 0, 80, "200.0.0.1", "200.0.0.10", "http://200.0.0.10/MyISSymbol/" ) |