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"
     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 1 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 2 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 3 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 4 Name that identifies the dataset corresponding to the document.
onlink 5 A string identifying the location of the dataset corresponding to the document.
parentdocid 6 Unique string for identifying a document belonging to the parent name and parent owner.
private 7 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 8 The URL of the Web server containing data or metadata associated with the document, for example, http://mymachine.domain.com.
service 9 The name of the service containing data or metadata associated with the document.
servicetype 10 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 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>