---
schema_version: "1"
id: 5bbdf01df9f9ce496a82d58ef7e6aeeb4e7ed1533efe6d1ae286b127269fc7a4
title: Configure a Custom Setting for Advanced Maps
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_admin_configure_custom_setting.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_admin_configure_custom_setting.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 14560f1aa13e117feec11caa7e8a553fa40e59fdf4dd7c138f940fcc44a2169b
description: Create a custom setting to store the defaults.
products:
  - Consumer Goods
release: "264"
---
# Configure a Custom Setting for Advanced Maps

Create a custom setting to store the defaults.

1. From Setup, go to **Custom Settings**, and then click **New**.
2. Enter Visit Defaults for Maps as the label.
3. Enter VisitMapsDefaults as the object name.
4. Select **Hierarchy** as the type, and save your changes.
5. Create the custom fields.
    1. Click **New**, select **Text** as the data type, and then click **Next**.
    2. Enter these details.
        
        <table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small ">
                <thead class="slds-text-title_caps ">
                  <tr><th class="slds-cell-wrap" scope="col" id="d40788e71">
                    <p><strong>Label</strong></p>
                  </th>
                  <th class="slds-cell-wrap" scope="col" id="d40788e75">
                    <p><strong>Length</strong></p>
                  </th>
                  <th class="slds-cell-wrap" scope="col" id="d40788e79">
                    <p><strong>Name</strong></p>
                  </th>
                  <th class="slds-cell-wrap" scope="col" id="d40788e83">
                    <p><strong>Required</strong></p>
                  </th>
                  <th class="slds-cell-wrap" scope="col" id="d40788e87">
                    <p><strong>Unique</strong></p>
                  </th>
                </tr></thead>
                <tbody><tr class="">
                  <td class="slds-cell-wrap" data-label="Label" headers="d40788e71">
                    <p>Default Place ID</p>
                  </td>
                  <td class="slds-cell-wrap" data-label="Length" headers="d40788e75">
                    <p>18</p>
                  </td>
                  <td class="slds-cell-wrap" data-label="Name" headers="d40788e79">
                    <p>DefaultPlaceId__c</p>
                  </td>
                  <td class="slds-cell-wrap" data-label="Required" headers="d40788e83">
                    <p>Yes</p>
                  </td>
                  <td class="slds-cell-wrap" data-label="Unique" headers="d40788e87">
                    <p>Case-insensitive</p>
                  </td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Label" headers="d40788e71">
                    <p>Default Record Type ID</p>
                  </td>
                  <td class="slds-cell-wrap" data-label="Length" headers="d40788e75">
                    <p>18</p>
                  </td>
                  <td class="slds-cell-wrap" data-label="Name" headers="d40788e79">
                    <p>DefaultRecordTypeId__c</p>
                  </td>
                  <td class="slds-cell-wrap" data-label="Required" headers="d40788e83">
                    <p>Yes</p>
                  </td>
                  <td class="slds-cell-wrap" data-label="Unique" headers="d40788e87">
                    <p>Case-insensitive</p>
                  </td>
                </tr>
                <tr class="">
                  <td class="slds-cell-wrap" data-label="Label" headers="d40788e71">
                    <p>Default Visit Template ID</p>
                  </td>
                  <td class="slds-cell-wrap" data-label="Length" headers="d40788e75">
                    <p>18</p>
                  </td>
                  <td class="slds-cell-wrap" data-label="Name" headers="d40788e79">
                    <p>DefaultVisitTemplateId__c</p>
                  </td>
                  <td class="slds-cell-wrap" data-label="Required" headers="d40788e83">
                    <p>Yes</p>
                  </td>
                  <td class="slds-cell-wrap" data-label="Unique" headers="d40788e87">
                    <p>Case-insensitive</p>
                  </td>
                </tr>
              </tbody></table>
    3. Click **Next**, and save your changes.
6. Set these default values.
    1. The Default Place ID, which is the ID of the default location record from the custom fields.
    2. The Visit Record Type ID according to your implementation.
    3. The Visit Template ID according to your implementation.