Skip to Content
author's profile photo Former Member
Former Member

hMC Customization for special fields

Hi experts,

I want change in hmc.xml . For example, my explorer tree has 2 element. (Stadium and Team)

I want to show Stadium Name from in Team type.

Thanks, Emre

         <group name="Test" mode="append">
             <typeref type="Stadium" position="1"/>
             <typeref type="Team" position="2"/>
         </group>
  <type name="Stadium" mode="append">
   <organizer>
        <search mode="replace">
            <condition attribute="code" operator="contains"/>
            <condition attribute="name" operator="contains"/>
        </search>
        <result>
            <listview>
            <itemlayout mode="replace">
                 <attribute name="code" />
                  <attribute name="name" />
                  <attribute name="Capacity"/>
            </itemlayout>
            </listview>
        </result>
      <editor>
         <tab name="properties" mode="append">
            <section name="properties">
               <listlayout>
                  <attribute name="code" />
                  <attribute name="name" />
                  <attribute name="Capacity"/>
               </listlayout>
            </section>
         </tab>
      </editor>
   </organizer>
    <defaultreference searchattribute="code"
                      mode="replace" sortattribute="code">
        <itemlayout>
            <attribute name="code"/>
        </itemlayout>
    </defaultreference>
  </type>
   
 <type name="Team" mode="append">
   <organizer>
        <search mode="append">
            <condition attribute="code"/>
            <condition attribute="team"/>
        </search>
        <result mode="replace">
            <listview>
                <itemlayout>
               <attribute name="code" width="300"/>
               <attribute name="team" width="300"/>
                </itemlayout>
            </listview>
        </result>
      <editor mode="append">
         <essentials mode="append">
               <columnlayout>
                  <row>
                  <attribute name="code"/>
                  </row>
                  <row>
                  <attribute name="team"/> 
                  </row>
                  <row>
                  <attribute name="name" /> **How can I show this field.(from Stadium tree.)
                  </row>
               </columnlayout>
     </essentials>
      </editor>
   </organizer>
    <defaultreference searchattribute="code"
                      mode="replace" sortattribute="code">
        <itemlayout>
            <attribute name="code"/>
            <attribute name="name"/>
        </itemlayout>
    </defaultreference>
   </type>

Add a comment
10|10000 characters needed characters exceeded

Related questions

0 Answers

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.