---
title: "Document Custom Properties"
canonical: "https://docs.getxray.app/space/XRAYCLOUD/44566590/Document%20Custom%20Properties"
format: markdown
---
The Xray [Document Generator](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44565169) also provides a way to set **Document Custom Properties** with values from the Issue fields, which can be useful when implementing <span style="color: #474747">Visual Basic for Applications</span> scripts based on Issue field values.

Open and add advanced custom properties to your Template document, making use of the notations provided in the [Mappings](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44570571) section. The value of the custom properties is not important since it will be overridden during the export process.

**Example:**

![Figure 1 - Properties](media://14122bcf-e5c4-4a4c-8786-8a9765821e95)

Figure 1 - Properties


> ℹ️ Once documents based on this Template are exported, the advanced custom properties values will be set to the contents of the matching Issue fields.


<details>
<summary>Support/Troubleshooting</summary>

If you have questions or technical issues, please [contact the Support team via the Customer Portal (Jira service management)](https://jira.getxray.app/servicedesk/customer/portal/2/user/login?destination=portal%2F2%2Fcreate%2F28) or [send us a message using the in-app chat](https://getxraydocs.atlassian.net/wiki/spaces/XRAYCLOUD/pages/44577312).
</details>