---
schema_version: "1"
id: f70f10ed9d4ae56876088336503e6150dcce7b5f79c81e5207f733acef59c835
title: Verify the Default Location Record After Managed Package Installation
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/ind/264-0-0/cg_concept_managedpackages_setuplocation.md
canonical_url: https://help.salesforce.com/s/articleView?id=ind.cg_concept_managedpackages_setuplocation.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: 02586d908d5732103db454d369ea3b12a4f3e5f44e843246e2e36ab85ae3086c
description: After you install the managed packages, check that the Default Location record is created as part of the installation. The Default location record is required for Visit creation as this record is automatically assigned to the Advanced Visits Place field. The Default Location record must be shared with all internal users in the system.
products:
  - Consumer Goods
release: "264"
---
# Verify the Default Location Record After Managed Package Installation

After you install the managed packages, check that the Default Location record is created as part of the installation. The Default location record is required for Visit creation as this record is automatically assigned to the Advanced Visits Place field. The Default Location record must be shared with all internal users in the system.

### 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;">
            <p>Available in: Lightning Experience </p>
            <p style="margin-bottom:0;">Available in <strong>Unlimited</strong> and
              <strong>Enterprise</strong> Editions that have Consumer Goods Cloud enabled.
            </p>
          </td>

        </tr>
      </tbody>
    </table>

As part of the installation process, a LocationShare record is automatically created. Check that the LocationShare record exists when the Default Sharing setting for the Location object isn’t Public Read/Write for internal or external access.

To check if the LocationShare records exist, run this query from the developer console, under the Query Editor section.

`Select Id, ParentId, UserOrGroupId, AccessLevel, RowCause, LastModifiedDate, LastModifiedBy.Name, IsDeleted from LocationShare where Parent.Name = 'Default Location'`

This query must return one row. If the query doesn’t return any result, ensure that the Default Sharing setting for the Location is Public Read/Write for internal and external access.

- **[Create a Sharing Rule for the Default Location](https://help.salesforce.com/s/articleView?id=ind.cg_task_sharingrule.htm&release=264.0.0&type=5)**  
    If the default sharing setting for the Location isn’t Public Read/Write for internal or external access, create a LocationShare record.  This record creates a Default Location that you can share with all the users in the system.