---
schema_version: "1"
id: 1b7eb763a02cdbd6a7dd946e79204e5661aff16551e810fb4d550047e04dc97d
title: Create Custom Image Fields for Your Object
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/doc_gen_create_custom_image_fields_in_your_object.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.doc_gen_create_custom_image_fields_in_your_object.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 1c27a2948610e1bbf6b3f5935efc2276d88c82511433dff07f3a0b117560cc85
description: Create a custom text field for any object from where you want to fetch your image. You must map the image API name from your object using Omnistudio Data Mapper to render the image in the generated document.
products:
  - Omnistudio Document Generation
release: "264"
---
# Create Custom Image Fields for Your Object

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

1. Go to Setup, and then click **Object Manager**.
2. In the Quick Find box, search for the object to which you want to add a custom text field.
3. Click the object name and then **Field & Relationships**.
4. Click **New**.
5. Select **Text** for the Data Type, and click **Next**.
6. Enter the Field Label, Length, and Field Name details, and then click **Next**.
    
    For example, IMG Document Generation is 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 should include the field, then click **Next**.
    
    If you don’t have any Dynamic Forms-enabled Lightning record pages for the object, this step doesn’t appear.
9. Select the page layouts that should include the field.
10. Click **Save**.
11. In the Field & Relationships tab, search for the custom field, such as IMG Document Generation.
12. Make a note of the Field Name (API name) to use later in your Data Mapper Extract.
    
    For example, ins\_238\_\_IMG\_Document\_Generation\_\_c. Here **ins\_238\_\_** is the namespace.

[Create Custom Fields](https://help.salesforce.com/s/articleview?id=platform.adding_fields.htm&type=5)