The chat responses are generated using Generative AI technology for intuitive search and may not be entirely accurate. They are not intended as professional advice. For full details, including our use rights, privacy practices and potential export control restrictions, please refer to our Generative AI Service Privacy Information. As this is a test version, please let us know if something irritating comes up. Like you get recommended a chocolate fudge ice cream instead of an energy managing application. If that occurs, please use the feedback button in our contact form!
Skip to content

View configuration XML

2612

Form extensions and navigation topics are placed with the applicationView element in Polarion's configuration XML. Sidebars need no XML.

Form layout (formLayout)

Location: Project Administration → Work Items → Form Configuration → Form Layouts → Edit (per work item type and Polarion View). Repository-level defaults: Global Administration → Work Items → Form Configuration.

<applicationView id="com.example.workitemcard.card" label="Work item card" height="640px"/>
AttributeRequiredDescription
idyes<application identifier>.<view identifier> of a formExtensions view
labelnoHeading of the panel. Default Polarion Application.
heightnoCSS height of the iframe (320px, 50vh).

Placement: a direct child of <formLayout>, in document order with <field>, <horizontal>, <vertical> and <extension> elements. Not allowed inside <section> or <panel>.

Full example:

<?xml version="1.0" encoding="UTF-8"?>
<formLayout xmlns="http://polarion.com/schema/WorkItems/FormLayout"
            xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
            xsi:schemaLocation="http://polarion.com/schema/WorkItems/FormLayout">
  <horizontal>
    <vertical>
      <section>
        <field id="type"/>
        <field id="severity"/>
        <field id="author"/>
      </section>
    </vertical>
    <vertical>
      <section>
        <field id="assignee"/>
        <field id="priority"/>
        <field id="status"/>
      </section>
    </vertical>
  </horizontal>
  <applicationView id="com.example.workitemcard.card" label="Work item card" height="640px"/>
  <field id="description"/>
  <applicationView id="com.example.traceability.tree" label="Traceability" height="480px"/>
  <field id="comments"/>
  <field id="linkedWorkItems"/>
  <field id="attachments"/>
</formLayout>

Topics configuration (topics)

Location: Project Administration → Portal → Topics → (View). Repository-level defaults: Global Administration → Portal → Topics.

<applicationView id="com.example.dashboard.dashboard"/>
AttributeRequiredDescription
idyes<application identifier>.<view identifier> of a navigationTopics view

Placement: a direct child of <topics>, among <topic> elements. Order determines the position in the navigation panel.

<?xml version="1.0" encoding="UTF-8"?>
<topics xmlns="http://polarion.com/schema/Portal/Topics"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="http://polarion.com/schema/Portal/Topics">
  <topic id="workitems"/>
  <topic id="wiki"/>
  <topic id="plans"/>
  <topic id="testruns"/>
  <topic id="collections"/>
  <topic id="baselines"/>
  <topic id="builds"/>
  <topic id="reports"/>
  <topic id="monitor"/>
  <applicationView id="com.example.dashboard.dashboard"/>
  <topic id="global_shortcuts"/>
  <topic id="project_shortcuts"/>
  <topic id="user_shortcuts"/>
</topics>

No XML. The sidebar is opened from the Show Sidebar menu and remembered in the page URL:

?sidebar=polarion-application.<application identifier>.<view identifier>

Example: /polarion/#/project/test/workitems?sidebar=polarion-application.com.example.selectionsidebar.selection

Validation

Polarion does not appear to validate the referenced application or view when saving the XML; a wrong id results in an empty or failing panel. Check Global Administration → Applications → Properties for the installed identifier and the manifest for the view identifier when a panel does not appear.