You are here:
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.
- Go to Setup, and then click Object Manager.
- In the Quick Find box, search for the object to which you want to add a custom text field.
- Click the object name and then Field & Relationships.
- Click New.
- Select Text for the Data Type, and click Next.
- Enter the Field Label, Length, and Field Name details, and then click Next. For example, IMG Document Generation is the field label.
- 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.
- 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.
- Select the page layouts that should include the field.
- Click Save.
- In the Field & Relationships tab, search for the custom field, such as IMG Document Generation.
- 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.

