---
schema_version: "1"
id: e42fc2d638d8d1431b8b07435e805ff7169f4ac16bc91a94ddcd4870333b982e
title: Configure Advanced Maps for Enhanced Model
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_concept_admin_retail_sf_advanced_maps.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_concept_admin_retail_sf_advanced_maps.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: e91f61e7d8967c1e736826a6ad733dd334fefe89e9d1d2e18bcdac19e2b2b5b4
description: Set up and configure advanced maps in the Consumer Goods Cloud enhanced data model for visit planning and route optimization.
products:
  - Consumer Goods
release: "264"
---
# Configure Advanced Maps for Enhanced Model

Set up and configure advanced maps in the Consumer Goods Cloud enhanced data model for visit planning and route optimization.

### 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 in <strong>Professional</strong>, <strong>Enterprise</strong>, and <strong>Unlimited</strong> Editions that have Consumer Goods Cloud enabled.</td></tr></tbody></table>

## Prerequisites

The Consumer Goods Cloud Enhanced data model requires the Place ID and Visit Template fields in the visit object to function correctly. You can't map a source for the Place ID field from the account object when you configure a custom output object for maps, because the Place ID field is a special lookup to a retail store, location, or address.

To create visits in the Consumer Goods Cloud offline app by using the enhanced model, either from core maps schedule or maps advanced visit plans, configure a custom output object for the schedule, set up custom settings, and then create a record-triggered flow.

As part of the CG Cloud Managed Package installation process, a [Default Location record](https://help.salesforce.com/s/articleView?id=ind.cg_reference_admin_install_managed_packages.htm&release=264.0.0&type=5 "Steps to install the latest Consumer Goods Cloud Mobile Sync and Consumer Goods Cloud Managed packages.") is automatically created.

- **[Create a Lookup Relationship for Visit Waypoints](https://help.salesforce.com/s/articleView?id=ind.cg_admin_create_lookup_relationship.htm&release=264.0.0&type=5)**  
    To relate the Maps Advanced Waypoint object to Visits via a lookup field, create a lookup relationship.
- **[Configure a Custom Event Object for Visits in Salesforce Maps](https://help.salesforce.com/s/articleView?id=ind.cg_admin_configure_output_object.htm&release=264.0.0&type=5)**  
    By default, maps are pre-configured only with events and a new calendar object must be added for visits.
- **[Configure a Custom Setting for Advanced Maps](https://help.salesforce.com/s/articleView?id=ind.cg_admin_configure_custom_setting.htm&release=264.0.0&type=5)**  
    Create a custom setting to store the defaults.
- **[Configure a Record-Triggered Flow for Visits](https://help.salesforce.com/s/articleView?id=ind.cg_admin_configure_record_triggered_flow.htm&release=264.0.0&type=5)**  
    Create a fast record-triggered flow to assign the default visit template and place ID before the visit creation. This approach assumes that you can stamp default values to the Record Id and Visit Template. You can change the custom settings and update this flow accordingly.