--- title: "Export field security policy to file" slug: "export-field-security-policy-to-file" description: "Learn how to export a field security policy to an XML file in D365 F&SCM, including steps for background export and version selection." tags: ["Task topic"] updated: 2026-03-20T12:22:02Z published: 2026-03-20T17:44:34Z canonical: "docs.staedean.com/export-field-security-policy-to-file" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.staedean.com/llms.txt > Use this file to discover all available pages before exploring further. # Export field security policy to file You can export a field security policy to an XML file. With this file, you can import the field security policy in another D365 F&SCM environment. This topic explains how to export a field security policy to a file. This setup is included in the export: - The selected field security policy with the table setup, field setup, and condition setup. - All versions or a specifically selected version of the field security policy. - The linked company groups. The companies as defined in the company groups are not exported***.*** ### Steps 1. Go to **Dynamic field security management** > **Policies** > **All field security policies**. 2. In the list, find and select the desired field security policy. 3. On the **Action Pane**, click **Deploy**. 4. Click **Export policy to file**. 5. In the **Download file** field, you can change the default file name as desired. 6. You can run the export of a field security policy in the background. Usually, you do so if you export a field security policy with many elements. While the field security policy is exported, you can continue with other activities in the environment. Select **Yes** in the **Run in background** field. > [!NOTE] > **Note** > > If you run the export: > > - Not in the background, the created XML file is downloaded automatically to your local download folder. > - In the background, the created XM file is not downloaded, but it is stored in the **Download transactions**. 7. You can export a specific version of the field security policy. If you do not export a specific version of the field security policy, all versions are exported. Select **Yes** in the **Export specific version only** field. 8. If you set the **Export specific version** field to **Yes**, define the version to be exported. In the **Version number** field, enter or select a value. 9. Click **OK**. ## Related - [Exchange field security policies](/exchange-field-security-policies.md)