Menu

Error occurred after checking the consistency in data model toolkit.

2023-05-22
2023-07-20
  • Rohit Kushwaha

    Rohit Kushwaha - 2023-05-22

    "Hi Team,

    i am following the url : https://www.itophub.io/wiki/page?id=3_0_0:customization:add-attribute-sample for adding an extra filed in the form . i am following all steps as mentions in the documentation but while checking the consistency of the extention it is showing the following error attaching the snap;

    <itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
    <classes>
    <class id="Server">
    <fields>
    <field id="notes" xsi:type="AttributeText" _delta="define">
    <sql>notes</sql>
    <default_value>
    <is_null_allowed>true</is_null_allowed>
    </default_value></field>
    </fields>
    </class>
    </classes>
    </itop_design>

    any solution why it is showing error on line no 4 . in the documentation there is no error.

    please answer.
    waiting for you reply
    Thanks

     
  • Rohit Kushwaha

    Rohit Kushwaha - 2023-05-23

    Hi Guys,
    Good Morning!

    I want to add a new additional field in the event ticket form below the title tag. So what do I have to mention in the ID so that this new detail structure appears in the incident ticket form.
    I have mentioned id = ""Incident" in the given code but the problem is same as I have given in first question, now event is coming instead of all.

    <itop_design xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.0">
    <classes>
    <class id="Incident">
    <fields>
    <field id="notes" xsi:type="attribute text" _delta="define">
    <sql>notes</sql>
    <default_value>
    <is_null_allowed>true</is_null_allowed>
    </default_value></field>

    </fields></class>
    </classes>
    </itop_design>

    I appreciate in advance for your help and suggestions. Waiting for your reply guys.

    thanks

     
  • Pierre Goiffon

    Pierre Goiffon - 2023-07-20

    Hello,
    Read carefully the tutorial : you certainly missed the dependency in the module.php file !

     

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.