PUT_METADATA  Examples

Used in:  REQUEST  
Servers:  Metadata (Publish)  
Parent elements:  PUBLISH_METADATA  

<PUT_METADATA Attribute Description Table

     docid ="string"
     name ="string"
     content ="liveData | downloadableData | offlineData | staticMapImage | document | application | geographicService | clearinghouse | mapFiles | geographicActivities | unknown"
     folder ="true | false"  [false]
     onlink ="string"
     parentdocid ="string"
     private ="true | false"  [false]
     server ="string"
     service ="string"
     servicetype ="metadata | image | feature | wms"
>

     <ENVELOPE... />
     <THUMBNAIL... />

</PUT_METADATA >
Bold: Attribute or child element is required.


Description:


Restrictions:


Notes:


Attribute Descriptions for PUT_METADATA:

Attribute Usage Back to Top
content The values for this attribute correspond to the content types listed in the drop-down comb box of the Metadata Explorer.

ArcXML Attribute Value Combo Box Content
liveData Live Data and Maps
downloadableData Downloadable Data
offlineData Offline Data
staticMapImage Static Map Images
documents Other Documents
application Applications
geographicService Geographic Services
clearinghouse Clearinghouses


docid String used to uniquely identify a document. The client used to publish the metadata is responsible for creating the document ID. This ID is automatically assigned when using ArcCatalog. If another client is used, GET_UUID can be used to request a valid ID. The format for an ID is the following:
{HHHHHHHH-HHHH-HHHH-HHHH-HHHHHHHHHHHH}
where H is a hexadecimal digit (0-9,a-f,A-F). The ID is limited to 38 characters.
folder Determines whether document represents a folder. Use "false" if the document does not contain other documents. Use "true" if the document represents a folder.
name Name that identifies the dataset corresponding to the document.
onlink A string identifying the location of the dataset corresponding to the document.
parentdocid Unique string for identifying a document belonging to the parent name and parent owner.
private Determines whether document is viewable for all users. Use "false" if the document is viewable by all users. Use "true" when the document is viewable only by the document owner.
server The URL of the Web server containing data or metadata associated with the document, for example, http://mymachine.domain.com.
service The name of the service containing data or metadata associated with the document.
servicetype Type of ArcIMS service.
 

Examples for PUT_METADATA:

Example 1: Back to Top
<?xml version="1.0" encoding="UTF-8" ?>
<ARCXML version="1.1">
  <REQUEST>
    <PUBLISH_METADATA>
      <PUT_METADATA name="World" docid="{C64D8F38-82B4-11D5-99C2-000086460FA0}" private="false" folder="true" parentdocid="root" >
        <ENVELOPE minx="-180" miny="-90" maxx="180" maxy="90" />
        <THUMBNAIL>...</THUMBNAIL>
        <!--<?xml version="1.0"?>
            <metadata>...</metadata>-->
      </PUT_METADATA>
    </PUBLISH_METADATA>
  </REQUEST>
</ARCXML>