Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Physical Item xml OI tag

Status
Not open for further replies.

katoc

Programmer
Feb 15, 2005
52
US
I have created a new Physical item, called 'Video' which is not a container. The nickname (media type) is 12345

What is the correct syntax for this type of object?

<node type="physicalitem" action="create">
...
<mediatype>12345</mediatype>
</node>

does not work.
 
From one of my files
<!-- node 14-->
<node type="physicalitem_container" action="create">
<location>blah blah</location>
<title>01003000030000 Small-Scale Log 01029761_Container</title>
<description>&lt;INDXORCAT&gt;CAT &cr;</description>
<mediatype>4778658</mediatype>
<physicallocation>GEOMAP</physicallocation>
<uniqueID>01029761</uniqueID>
<category name="blah:Single Well">
<attribute name="Data Domain">Wellfile</attribute>
</category>
<category name="blah:General">
<attribute name="Barcode">01029761</attribute>
</category>
</node>

<!-- node 15-->
<node type="physicalitem" action="create">
<location>blah</location>
<title>01003000030000 Small-Scale Log 01029761_1</title>
<description>&lt;HeaderName&gt;EL &cr;</description>
<mediatype>4778547</mediatype>
<physicallocation>GEOMAP</physicallocation>
<category name="blah:Logs">
<attribute name="Effective Date">19500718</attribute>
<attribute name="Bottom Depth UOM">FEET</attribute>
<attribute name="Top Depth UOM">FEET</attribute>
</category>
<category name="blah:Single Well">
<attribute name="Data Domain">Logs</attribute>
<attribute name="Member Name">Resistivity</attribute>
</category>
<category name="blah:General">
<attribute name="Barcode">01029761</attribute>
<attribute name="Z-Type">Depth MD</attribute>
</category>
</node>
I belive a phyiscl item goes inside a phys item container

Well, if I called the wrong number, why did you answer the phone?
James Thurber, New Yorker cartoon caption, June 5, 1937
Certified OT Developer,Livelink ECM Champion 2008
 
Thanks! it turns out that I was using the wrong MediaType code.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top