---
schema_version: "1"
id: d964f8ee299f82761b172e10abed16d90d53f743efd63273590fce63efbb2d91
title: Navigate To Object Home
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/lightning-base-components/lightning-design-system/guides/aura/components/force/navigateToObjectHome/force-navigate-to-object-home.md
canonical_url: https://developer.salesforce.com/docs/platform/lightning-component-reference/guide/force-navigate-to-object-home.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 175d5169945d41ebf1a3d8559ee960b8d7b6cd13d4bc1ed65dc6631f622820a2
products:
  - Lightning Component Reference
---
# Navigate To Object Home

**`force:navigateToObjectHome`**

Navigates from a custom component to the specified object home.

This event is deprecated. We recommend using the [`lightning:navigation` component](/docs/platform/lightning-component-reference/guide/aura-navigation.html) with the `standard__objectPage` page type instead.

**For Use In**

Lightning Experience, Experience Builder Sites, Salesforce Mobile App

::::::tabset{tabs='[ "Develop", "Specifications"]'}

:::::tab

This event enables you to navigate to the object home specified by the `scope` attribute.

We recommend using `lightning:navigation` component with the `standard__objectPage` page type instead.

For more information, see the [Lightning Aura Components Developer Guide](http://developer.salesforce.com/docs/atlas.en-us.lightning.meta/lightning/components_navigation.htm).

To navigate to an object home, set the object name on the `scope` attribute and fire the event. This example displays the home page for a custom object.

```javascript
navHome : function (component, event, helper) {
    var homeEvent = $A.get("e.force:navigateToObjectHome");
    homeEvent.setParams({
        "scope": "myNamespace__myObject__c"
    });
    homeEvent.fire();
}
```

This event is handled by the `one.app` container. It’s supported in Lightning Experience, the Salesforce mobile app, and Aura-based Experience Builder sites.


:::::

:::::tab
## Attributes

| Name           | Description                                                  | Type    | Default | Required                                     |
| -------------- | ------------------------------------------------------------ | ------- | ------- | -------------------------------------------- |
| `resetHistory` | Set to true to reset history.                                | boolean | false   |                                              |
| `scope`        | The name or key prefix of entity to display object home for. | string  |         | ![Yes](https://developer.salesforce.com/media/check.png) |

:::::

::::::
