Menu

Customfields Class PC

Tobias
2013-12-18
2013-12-18
  • Tobias

    Tobias - 2013-12-18

    Hi,

    I try to customize the CI View for the Class PC.
    But in the datamodel.itop-config-mgmt.xml I can't find a class with ne name PC. So i Added the new attributs to the parent class (PhysicalDevice). I updated the Database via Data Model Toolkit.
    Now I see the attribute on the iTop Webinterface (Admin Tools, DataModel .....) but not in the Form for adding a new CI.

    My extennsion xml file:
    <?xml version="1.0" encoding="UTF-8"?>
    <itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
    <constants>
    </constants>
    <classes>
    <class id="PhysicalDevice">
    <fields>
    <field id="LocalAdmin" xsi:type="AttributeText" _delta="define">
    <sql>LocalAdmin</sql>
    <default_value/>
    <is_null_allowed>true</is_null_allowed>
    </field>
    </fields>
    <presentation>


    <items>
    <item id="name">
    <rank>10</rank>
    </item>
    <item id="org_id">
    <rank>20</rank>
    </item>
    <item id="business_criticity">
    <rank>30</rank>
    </item>
    <item id="move2production">
    <rank>40</rank>
    </item>
    <item id="description">
    <rank>50</rank>
    </item>
    <item id="contacts_list">
    <rank>60</rank>
    </item>
    <item id="documents_list">
    <rank>70</rank>
    </item>
    <item id="tickets_list">
    <rank>80</rank>
    </item>
    <item id="applicationsolution_list">
    <rank>90</rank>
    </item>
    <item id="providercontracts_list">
    <rank>100</rank>a
    </item>
    <item id="services_list">
    <rank>110</rank>
    </item>
    <item id="LocalAdmin">
    <rank>120</rank>
    </item>
    </items>

    </presentation>
    </class>
    </classes>
    <user_rights>
    <groups>
    </groups>
    <profiles>
    </profiles>
    </user_rights>
    </itop_design>

     
  • Denis

    Denis - 2013-12-18

    FYI: The class "PC" is defined in the "End User Devices" module.

     
    • Tobias

      Tobias - 2013-12-18

      thank you :) now it works !

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.