When developing your app, you might need to find the unique identifier of a particular extension. Depending on the extension's type and how it was added to your site, this identifier might be called "component ID", "extension ID", or "page ID."
The way to find an extension's ID depends on how it was created. In other words, finding the ID of an extension built with the Wix CLI is different from finding the ID of a self-hosted extension.
The following table summarizes how to find a dashboard extension ID based on its type and the way it was added to your app:
Extension Type | Deployment Method | Location |
---|---|---|
Dashboard Page | Self-hosted | In your app's dashboard, the Extension ID field in the Dashboard Page configuration page. The extension ID also appears in the configuration page's URL as the component-id query parameter. |
Dashboard Modal | Self-hosted | In your app's dashboard, the component-id query parameter.. |
Dashboard Page | Wix CLI | In the local extension directory, the id property of the page.json file. |
Dashboard Modal | Wix CLI | In the local extension directory, the id property of the modal.json file. |
When adding a self-hosted extension in your app's dashboard, the extension ID appears in the URL of the extension's configuration page as the component-id
query parameter.