---
schema_version: "1"
id: 2a0140fbc853fef17d3b337a9ef52a94e86d2c48988bc4e56366d81d9ce05531
title: Configure Custom Image Fields for Server-Side Omnistudio Document Generation
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/doc_gen_serverside_dynamic_images_three.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.doc_gen_serverside_dynamic_images_three.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 73344dac7dbf3c6d1b3ae2de0445ee9a0a3d25dba4e133516faa9830b7dbe623
description: Create a custom text field for any object that you want to fetch your image from. To render the image in the generated document, you must map the image API name from your object by using Omnistudio Data Mapper.
products:
  - Omnistudio Doc Gen
release: "264"
---
# Configure Custom Image Fields for Server-Side Omnistudio Document Generation

Create a custom text field for any object that you want to fetch your image from. To render the image in the generated document, you must map the image API name from your object by using Omnistudio Data Mapper.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small edition"><colgroup><col></colgroup><tbody><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: Lightning Experience</td></tr><tr class=""><td class="slds-cell-wrap" style="vertical-align:top;">Available in: <strong>Professional</strong>, <strong>Enterprise</strong>, <strong>Unlimited</strong>, and <strong>Developer</strong> Editions</td></tr></tbody></table>

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col>
          <col>
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d8419e77">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d8419e77 ">To configure custom image fields:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d8419e77 ">DocGen Designer</td>

          </tr>
        </tbody>
      </table>

1. From Setup, click **Object Manager**.
2. In the Quick Find box, search for the object that you want to add the custom text field to.
3. Click the object name, and then click **Field & Relationships**.
4. Click **New**.
5. Select **Text** as the data type, and click **Next**.
6. Enter the field label, length, and field name, and then click **Next**
    
    For example, enter IMG Document Generation as the field label.
7. In the Field-Level Security for Profile, select the **Visible** checkbox for the profiles that must see the custom field. Click **Next**.
    
    The custom field is hidden from all profiles if you don’t add it to field-level security.
8. Select the Dynamic Forms-enabled Lightning record pages that must include the field, and then click **Next**.
    
    If you don’t have any Dynamic Forms-enabled Lightning record pages for the object, you won't get the option to select Dynamic Forms-enabled Lightning record pages.
9. Select the page layouts that must include the field.
10. Save your changes.
11. On the Field & Relationships tab, search for the custom field, such as IMG Document Generation. Note the field name (API name) for referencing it later in your Data Mapper Extract.
    
    For example, ins\_238\_\_IMG\_Document\_Generation\_\_c. Here ins\_238\_\_ is the namespace.

For more information, see [Create Custom Fields](https://help.salesforce.com/s/articleview?id=platform.adding_fields.htm)