Description | Example | Return Message | Group

WebConfigServerData

Set properties for the AGI web server that hosts globe data.

Syntax

WebConfigServerData <ScenarioPath> {WebServerOption} <Parameters>

Description

The WebConfigServerData command is used to set AGI Globeserver properties.

{WebServerOption} and <Parameters> can be:

{WebServerOption} <Parameters> Description
Data Enable {On | Off} Enable or disable Web Access. Enable On allows you to use terrain or imagery from a Web server.
Add Name <Name> [Port <PortNumber>] [User <Username> Password <Password>] To add a server to the list of servers that retrieve configuration data. Specify the name of the server to add, and optionally specify the port number. The port number defaults to 80.

If the specified <Name> requires it, also include the User and Password parameters.

Modify Name <Name> Port <PortNumber> Specify the name of the server to modify. Currently, only the port number can be modified.
Delete Name <Name> Specify the name of the server to delete.

Example

To add the globeserver.agi.com server to the list of servers:

WebConfigServerData * Add Name globeserver.agi.com Port 80

To enable use of terrain or imagery from a Web server:

WebConfigServerData * Data Enable On

To add the demoglobeserver.agi.com server to the list of servers:

WebConfigServerData * Add Name demoglobeserver.agi.com User JohnDoe Password bogusPw

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Scenarios

Version

8.1

STK Programming Interface 11.0.1