---
title: "How can I display Git-based repository Item IDs in my release documents?"
description: "You can include Git-based repository Item IDs in your release documents by adding the {item.repositoryItemId} tag to your document templates (see document templating documentation here). This allows you to display the user-defined item ID from the source code in your generated documents."
category: "Frequently Asked Questions"
section: "Git Based Configuration Items"
keywords: ["git based", "ids", "document templates", "display", "git-based", "release documents", "based repository", "refresh"]
source_url: "https://support.ketryx.com/hc/en-us/articles/36120729247885-How-can-I-display-Git-based-repository-Item-IDs-in-my-release-documents"
last_reviewed: 2026-06-11
---

# How can I display Git-based repository Item IDs in my release documents?

> **In short:** You can include Git-based repository Item IDs in your release documents by adding the {item.repositoryItemId} tag to your document templates (see document templating documentation here). This allows you to display the user-defined item ID from the source code in your generated documents.

You can include Git-based repository Item IDs in your release documents by adding the `{item.repositoryItemId}` tag to your document templates (see document templating documentation [here](https://docs.ketryx.com/reference/document-templating#item)). This allows you to display the user-defined item ID from the source code in your generated documents.

#### How do I edit my document templates to include the repositoryItemId?

1. Navigate to the document page > Templates > Release

2. Open your document template

3. Add the `{item.repositoryItemId}` tag where you want the Git-based item ID to appear
4. Save your template and regenerate your documents

#### Do I need to refresh my Git-based items before generating documents?

Yes, before generating your documents, click the "Refresh from Git" button in the SBOM module to ensure they reflect the most current state of your Git-based configuration items.

#### Will this work for all types of Git-based items?

Yes, this will work for all Git-based configuration items with a defined repository item ID, regardless of the file format or parser used.

## Related articles

- [How do we get documentation to reflect git-based configuration items?](how-do-we-get-documentation-to-reflect-git-based-configuration-items.md)
- [How does Ketryx ensure that unique IDs are created for git-based configuration items?](how-does-ketryx-ensure-that-unique-ids-are-created-for-git-based-configuration.md)
- [How frequently does Ketryx scan the repository?](how-frequently-does-ketryx-scan-the-repository.md)
- [How can I make document templates require approval?](how-can-i-make-document-templates-require-approval.md)
- [Can I archive document templates or store drafts somewhere in Ketryx?](can-i-archive-document-templates-or-store-drafts-somewhere-in-ketryx.md)
