OpenFin Workspace API
    Preparing search index...

    Function register

    • Registers a StorefrontProvider.

      Parameters

      Returns Promise<StoreRegistration>

      Error if a provider with the same id already exists.

      Error if Workspace Platform is not initialized.

      import { Storefront, type StorefrontProvider } from "@openfin/workspace";

      const myStorefrontProvider: StorefrontProvider = {
      id: "my-storefront-id"
      title: "My StorefrontProvider"
      icon: "https://cdn.openfin.co/demos/notifications/generator/images/icon-blue.png",
      getApps: () => {...},
      getNavigation: () => {...},
      getLandingPage: () => {...},
      getFooter: () => {...},
      launchApp: () => {...}
      };

      await Storefront.register(myStorefrontProvider);