> For the complete documentation index, see [llms.txt](https://cortex-docs.paloaltonetworks.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cortex-docs.paloaltonetworks.com/cortex-agentix/configure-cortex-agentix/cases-and-issues-configuration/customize-issue-fields-and-layouts/issue-layouts/create-custom-issue-layouts.md).

# Create custom issue layouts

Custom issue layouts let you choose the specific fields and buttons that are displayed for different types of issues. You can create custom issue layouts that include both custom and out-of-the-box issue fields, and add buttons with tasks that can assist and guide analysts in their investigation.

You can import a custom issue layout by clicking **Import** and uploading the JSON file. You can also modify or task actions on an existing layout existing layout by right-clicking the layout in the layout table.

<details>

<summary>Create a custom issue layout</summary>

1. Go to **Settings** → **Configurations** → **Object Setup** → **Issues** → **Layouts** → **New Layout**.
2. Enter a name for the layout.
3. (Optional) Add new tabs to the layout, and drag them to change the order in which they appear.

   The **Issue Info** tab and any new tabs you create can be renamed, hidden, duplicated, or deleted. Hover over the tab name and click the settings button to see the available options. You cannot edit or delete the **War Room** and **Work Plan** tabs in the issue layout, but you can hide them by clicking the settings button, and selecting **Hide tab**.

   By default, empty fields within the tab are hidden in the issue layout. To show empty fields, hover over the tab name, click the settings button, and select **Show empty fields**.
4. Add new sections to the **Issue Info** tab, or click **+New tab**.

   To add a new section, from the **Sections** tab of the **Library** drag a **New Section** into a tab. You can also add the predefined sections, such as **Malicious or Suspicious Indicators** and **War Room Entries**.

   ![library-section-xsiam.png](/files/V08auZApoM9kAsv7HY1H)
5. Customize the section

   Clicking the pencil icon for a section, to configure how a section appears. You can hide or show the section header, and configure the section fields to appear in rows or as cards.

   Some sections have additional configuration options. If you add a **Malicious or Suspicious Indicators** section, you can configure an indicator search query. If you add a **War Room Entries** section, you can filter by type of entry, such as chats, notes, or files.

   The **General Purpose Dynamic Section** enables you to configure a section that displays the results of a script. Only scripts to which you have added the **`dynamic-section`** tag appear in the dropdown list. You can use the **General Purpose Dynamic Section** to display widgets, text, markdown, or HTML. For an example of how to add a widget with this section, see [Add a custom widget to an issue layout](/cortex-agentix/configure-cortex-agentix/cases-and-issues-configuration/customize-issue-fields-and-layouts/issue-layouts/add-a-custom-widget-to-an-issue-layout.md).
6. Add custom or out-of-the-box issue fields to the layout.

   From the **Fields and Buttons** tab of the **Library**, drag fields into sections of the layout.

   <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><h3>Tip</h3><p>Limit the number of issue fields to 50 in each section. You can create additional sections as needed.</p></div>
7. Add buttons to the layout.

   Buttons allow you to add tasks to your layout, which can assist an analyst. For example, you can add a button to scan a host or kill a process.

   1. From the **Fields and Buttons** tab of the **Library**, drag a buttons into a section of the layout.
   2. **Click to configure**.
   3. Enter a descriptive name for the button, select a color, and select the script that you want to run when the button is clicked.

      For fields (script arguments) that are optional, you can define whether to show them to analysts when they click on buttons. To expose an optional field, select the **Ask User** checkbox next to the script argument(s) in the button settings page.

      <div data-gb-custom-block data-tag="hint" data-style="info" class="hint hint-info"><h3>Note</h3><p>The script that runs when an action button is clicked accepts only mandatory arguments through the pop up window and does not provide an option for any non-mandatory arguments to be filled in when the button is clicked. We recommend using a wrapper script to collect and validate arguments in scenarios where there can be a combination of mandatory and non-mandatory arguments for a button.</p></div>
8. Save the layout.

</details>

<details>

<summary>Export issue layouts</summary>

You can export custom issue layouts and duplicates of system issue layouts

To export a single issue layout, right-click on the layout in the layouts table, and select **Export**. To export all custom issue layouts and duplicates of system issue layouts in a single JSON file, click the **Export All** button above the layouts table.

</details>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://cortex-docs.paloaltonetworks.com/cortex-agentix/configure-cortex-agentix/cases-and-issues-configuration/customize-issue-fields-and-layouts/issue-layouts/create-custom-issue-layouts.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
