1. Navigate to a Template
2. Enter Edit Mode for the Template
3. Shut down NiFi
4. Choose Export...
Result: We are directed away from the Kylo UI to a white page with raw JSON error message:
Found code in Feed Export that can be used. but it too needs to be fixed. see
The template export code uses an href on dynamic model export link. The trouble with it is that it doesn't allow for HTTP error handling by the UI, but defers that to the new tab. The Angular2 Feed Export code handles this well, now that it has been fixed (see ). The remaining issue is that the template service is Angular1 (see https://github.com/Teradata/kylo/blob/d343951a5b38d5a402906df8fc4751ece93086dd/ui/ui-app/src/main/resources/static/js/feed-mgr/templates/template-stepper/select-template/select-template.ts) and the feed export function is Angular2 ( see https://github.com/Teradata/kylo/blob/5ba7dc04cfc7b7a27d61963701449a5a9edcb6ad/ui/ui-app/src/main/resources/static/js/feed-mgr/feeds/define-feed-ng2/summary/feed-activity-summary/feed-operations-health-info/feed-operations-health-info.component.ts#L114 , and see https://github.com/Teradata/kylo/blob/5ba7dc04cfc7b7a27d61963701449a5a9edcb6ad/ui/ui-app/src/main/resources/static/js/feed-mgr/feeds/define-feed-ng2/summary/feed-activity-summary/feed-operations-health-info/feed-operations-health-info.component.ts#L141). Therefore, once is completed it should be an easy effort to use this feed export code in the new Angular 2 template service.