Find the Id of a Community (Managed Package)

For the managed package runtime, to find the Id of a community, you must run a query in the Developer Console.

Managed Package app icon This information is for Omnistudio for Managed Packages. For Omnistudio on standard runtime, see Omnistudio Help.

  1. In Lightning Experience, click the gear icon. In Salesforce Classic, click the user menu. In either case, select Developer Console from the menu.
  2. Click the Query Editor tab near the bottom of the Developer Console window.
  3. Enter the following query in the Query Editor pane:
    SELECT Id,Name FROM Network

    The Ids and Names of all the Communities in the org are listed.

  4. Find the Name of the Community, then copy its Id.