Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The DevGateway is a small helper you run during development to register your local workload instance with Fabric. It tells the Fabric service where your frontend is hosted (your DevServer on localhost) and which items are available, based on your manifests. With the DevGateway running, Fabric can load your UI in an iFrame and call your local DevServer to read product and item metadata—without publishing a package to your tenant.
What the DevGateway does
- Registers a local workload instance in a specific workspace for the current signed-in developer.
- Informs Fabric about your workload identity and entry point using your manifests.
- Routes Fabric host calls to your local environment so the platform can load your frontend and discover items while you iterate.
- Works hand-in-hand with the DevServer, which actually hosts your frontend and exposes manifest endpoints.
Note
The DevGateway doesn’t serve your web app or manifests itself. Instead, it registers your local instance and points Fabric to your DevServer and manifests.
How it uses manifests in development
Your workload is manifest-driven in both development and production. During development:
- The DevGateway uses your local configuration to advertise the workload’s identity and entry points (as defined in the Workload manifest).
- Fabric then calls your DevServer to fetch the Product manifest and Item manifests via local endpoints (for example, the template’s
/manifestsroute), so the service can render navigation, tiles, and creation experiences.
This mirrors what happens at publish time, but everything stays local for fast iteration.
Typical development flow
- Start your DevServer to host the frontend on localhost.
- Start the DevGateway and sign in with a user who is an admin of the target workspace.
- Open your Fabric workspace and use the workload entry point; Fabric loads your UI in an iFrame and discovers items via your manifests.
- Edit UI and manifest files, refresh to see changes immediately.
See the Quick start for step-by-step setup and start instructions.
Configuration inputs
Depending on your template, the DevGateway reads a local config that includes:
- Target workspace for registration
- Local frontend endpoint (your DevServer URL)
- Paths or references to your manifest files/assets used during development
Your repository’s setup/build scripts generate or update this config automatically so the DevGateway and DevServer stay in sync.
Troubleshooting tips
- If the UI doesn’t open in Fabric, ensure you started both the DevGateway and the DevServer, and that you’re signed in to a workspace where you have the required permissions.
- If Fabric can’t discover items, confirm your DevServer’s manifests endpoint returns valid JSON and your DevGateway is pointing the service to the correct localhost URL.
- If icons or strings are missing, verify the assets paths in your manifests and that your DevServer serves them.