---
schema_version: "1"
id: 917f9328c1cd478cdbc92d9a5bbd2b12317a1368762ab3c9a179a378b0988d4e
title: Create Custom Hyperlink Fields for Your Object in 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_create_custom_hyperlink_fields_in_your_object.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.doc_gen_create_custom_hyperlink_fields_in_your_object.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 000881dd6a982cbb9c000ac52c3490e8ce893b39158aa8fd45ada04779a59ebb
description: Create a custom text field for any object. Map the text field in your object by using Omnistudio Data Mappers to render the hyperlinks in the generated document.
products:
  - Omnistudio Doc Gen
release: "264"
---
# Create Custom Hyperlink Fields for Your Object in Omnistudio Document Generation

Create a custom text field for any object. Map the text field in your object by using Omnistudio Data Mappers to render the hyperlinks in the generated document.

| REQUIRED EDITIONS |
| --- |
| Available in: Lightning Experience |
| Available in: **Enterprise**, **Unlimited**, **Professional**, and **Developer** Editions |

1. Go to Setup, and then 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. In Data Type, select **Text**, and then click **Next**.
6. Enter the Field Label, Length, and Field Name details, and then click **Next**.
    
    For example, the Account URL is the field label.
7. In Field-Level Security for Profile, select **Visible** for the profiles that must see the custom field. Click **Next**.
    
    If you don't set profile visibility for the field, the custom field is hidden from all profiles by default.
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. Save your changes.
11. On the Field & Relationships tab, search for the custom field.
    
    For example, Account URL.
12. Note the Field Name (API name) to use later in your Data Mapper Extract.
    
    For example, ins\_238\_\_Account\_URL\_\_c. Here ins\_238\_\_ is the namespace.

## Add Hyperlink in Text Field for Omnistudio Document Generation

After you create a custom text field in an object, you must add the hyperlink to the custom text field. Use Omnistudio Data Mapper to render the hyperlink in the generated document.

1. Open your object where you created the custom text field, and go to the **Details** tab.
2. Add the hyperlink in the custom text field.
    
    For example, add the https://weather.com/ URL in the Account URL custom field.
    
    ![A custom Account URL field and the https://weather.com/ URL](https://sf-zdocs-cdn-prod.zoominsoftware.com/tdta-ind-document_generation-264-0-0-production-enus/f76d5573-56ce-4576-b4b2-7a4f1f2e622b/resources-product/images/doc_gen/clm238__dynamihyperlink_1.png)