Studio Developer Manual / Version 2301
Table Of ContentsThe Studio URI template preview provider offers the possibility to define a URI template, which points to any desired preview endpoint. The template uses predefined template variables (as described below) to calculate most any desired preview URL, for example, a URL to a restful preview endpoint for a progressive web application (pwa) or a single page application. In order to enable the URI template preview provider, add a struct to the 'previews' array with these keys:
- id
Freely choosable, unique preview ID, 'myPWAPreview', for example
- providerId
genericStudioPreviewProvider
- displayName
Non localized display name for the preview selection, 'PWA Preview', for example
- enabled
true