Used in
CONFIG Parent elements
ADMIN_TABLE Syntax
<RESPONSE_COLUMN | Attribute Description Table |
(r)columnname="string" >
No Child Elements </RESPONSE_COLUMN >
|
(r): Attribute or child element is required.
|
Description
Specifies columns in the administration table. The column values are returned as attributes of each
METADATA_DATASET element in a response.
Restrictions
- Fields cannot contain null values.
- Fields must contain text.
Notes
- Care should be taken in using RESPONSE_COLUMN. One of the purposes of an administration table is to have columns that are hidden from the clients. Using RESPONSE_COLUMN makes both the column name and the column values visible to clients.
- Column names added through RESPONSE_COLUMN become "custom attributes" in METADATA_DATASET. For example, if you include RESPONSE_COLUMN columnname="service_running", then in addition to the extisting attributes in METADATA_DATASET, a new attribute named service_running will always be returned as part of METADATA_DATASET. Please note the following:
- If you are using a DTD, you must update METADATA_DATASET to account for these "custom attributes".
- You cannot use a column name that replicates any existing attribute in METADATA_DATASET.
- Only one column name can be included in columnname. For adding multiple columns, use one REPONSE_COLUMN for each column.
- This element is not available from the ArcIMS Author interface.
Attribute Descriptions for RESPONSE_COLUMN
Attribute | Usage |
---|
columnname | Name of column in the administration table. References can be made only to character columns. |
Back to top Examples for RESPONSE_COLUMN
<?xml version="1.0" encoding="UTF-8"?> <ARCXML version="1.1"> <CONFIG>
<ENVIRONMENT>
<LOCALE country="US" language="en" variant="" />
<UIFONT color="0,0,0" name="Arial" size="12" style="regular" />
</ENVIRONMENT>
<METADATA_CONFIG>
<WORKSPACES>
<SDEWORKSPACE name="unique_name" server="server_name" instance="port:5151" database="optional_database_name" user="user_name" password="user_password" />
</WORKSPACES>
<ADMIN_TABLE tablename="AdminTable" idcolumn="DocUUID" filter="Approved='Y'" insert="INSERT INTO AdminTable (DocUUID, Approved) VALUES ('%s', 'N')">
<RESPONSE_COLUMN columnname="Approved" />
</ADMIN_TABLE>
<METADATA_CONTENT validate="true" />
<TABLE_NAME prefix="imsmetadata" />
</METADATA_CONFIG>
</CONFIG>
</ARCXML>
|
Back to top