---
schema_version: "1"
id: 1fc901b2e840a2e9b86342e62228d52da3dbbb92eda0a2330217bcd4acd4e4f7
title: Create a Workplace Command Center Compatible Lightning Component
collection: developer
version: current
locale: en-us
portal_url: https://docs.salesforce.com/developer/current/en-us/service-cloud/workdotcom_dev/guides/wdc-cc-create-lightning-component.md
canonical_url: https://developer.salesforce.com/docs/service/workdotcom-dev/guide/wdc-cc-create-lightning-component.html
source_site: developer.salesforce.com
content_type: documentation
content_hash: 5d9abc970d7d84ff247cc3dd1183d1230440e41316d01b352be1a5c96e1d979f
products:
  - Work.com Developer Guide
  - Service Cloud Developer Content
---

# Create a Workplace Command Center Compatible Lightning Component

Use Workplace Command Center compatible components in your custom solution.

Since the Command Center is developed as a Lightning Home page, it supports dragging and dropping in standard components such as reports and list views. However, because standard components don’t subscribe to the message channel used to communicate when the Location global filter changes, they won’t change when the user filters by Location. This can create a confusing user experience. For this reason, to display Location-aware data, we recommend developing custom Lightning components.

A custom component that can be added to Command Center must support Lightning app pages. This means that custom Lightning Web Components must allow the `lightning__AppPage` target in its config file, and custom Aura components must implement `flexipage:availableForAllPageTypes`.

**See Also**  


-   [*Lightning Web Components Dev Guide*: Introducing Lightning Web Components](https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.get_started_introduction)
