Menu

Add Fieldsets / Headers for Lifecycle State transition GUI

2024-04-09
2024-04-09
  • Lucas Poirier

    Lucas Poirier - 2024-04-09

    Hi!

    My team is using iTop and we are updating fields using the Lifecycle states. During transitions, we have the GUI showing which fields to have updated with the "mandatory" and "must-prompt " tags.

    ...
    <flags>
      <attribute id="name">
        <mandatory />
      </attribute>
      <attribute id="description">
        <must-prompt />
      </attribute>
    ...
    

    I was wondering how could I separate different sections of the GUI with headers, like when we view the object details and the fields are separated with columns and fieldsets.

    ...
    <presentation>
      <details>
        <items>
          <item id="col:col1">
            <rank>10</rank>
            <items>
              <item id="fieldset:Information">
                <rank>10</rank>
                <items>
                  <item id="name">
                    <rank>10</rank>
                  </item>
                  <item id="description">
                    <rank>20</rank>
                  </item>
     ...
    

    I know we could have multiple lifecycle states do separate each section, but if there is a way to add Fieldsets or Headers of some kind in the GUI, it would be appreciated!

    Thanks
    Lucas

     
  • Vincent @ Combodo

    Hi Lucas,
    No currently there is no way in the iTop console to group fields into fieldsets in the transitions forms. This can only be done in Portals such as the User Portal, but this is not in the presentation, it's done in module-design[@id='itop-portal'] / forms / form
    Regards
    Vincent

     
  • Lucas Poirier

    Lucas Poirier - 2024-04-09

    Thanks for the quick reply!
    Lucas

     

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.