Deploy and version interfaces¶
Move a tested interface from the i-Con Client to an i-Con Server, keep its version history and prepare it for production load.
Before you upload¶
- Test the interface locally (F5) until it runs cleanly.
- Set the project's
InitialComponentto the component that starts the interface. This is the setting most often forgotten; without it the server reports that no initial component is selected. - Replace workstation paths with server paths, ideally by changing Common Store values.
- Make sure the i-Con service is running on the target server.
- Apply the production settings below.
Upload an interface¶
- Select Build → Upload to Server.
- Enter the Server Name and select Test. The dialog shows the project name and the version already on the server, or Project does not yet exist on this server.
- If asked, enter your domain user name and password.
- Select Upload. When it finishes you'll see Interface uploaded to server.
- If the interface is running, stop and start it in the Interface Manager. A new version takes effect only after a restart.
Each upload gets the next version number. The previous version's status changes from Current to Archive.
Download or roll back a version¶
- Select Build → Download from Server, enter the server name and select Refresh.
- Choose the project. The dialog shows the current version's description, version, uploader and upload date, and its history.
- Select Download for the current version, or choose a row in Project History and select Download History Project.
- Choose a folder to save to, then open the project with File → Open.
To roll back, download the older version and upload it again. It becomes the newest version.
Production settings checklist¶
| Setting | Production value | Why |
|---|---|---|
EnableLogging on each component |
None, or only what you need |
Every logged message is written to IConDb, which then grows quickly |
ContinueAfterError |
A deliberate choice | True carries on after an unhandled error; False stops that thread |
| Credentials | Encrypted, in the Common Store | No plain-text secrets in the interface. See Security. |
| Sleep components | Removed | Sleep blocks a thread; it is for debugging only |
Back up before restructuring
Deleting components or links can't be undone. Upload or back up the current version before you refactor.