In special cases, a widget may have to be manually tested directly on the production environment https://bosch-iot-insights.com before it is officially released.
In such cases, you can restrict the widget's availability by making the following adjustment in the widget's insights-manifest.json:
- Modify the widget
name. For example, if it was my-widget, you could rename it to my-widget-snapshot. - Reset
allowedProjectsto an empty list or restrict it only to specific projects that are allowed to use the widget while it it still under development. - All subsequent deployments will now deploy the widget with a new name. The existing widget will be untouched.
- Continue to build, deploy, and test it until the widget is ready.
- Once ready, revert the widget's
nameandallowedProjectsto their original values.