You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by srini <na...@gmail.com> on 2016/11/30 18:59:04 UTC

How to clear the canvas?

Hi,

1. Where are the created templates store?
2. How to save a template after modification?

thanks
Srini



--
View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/How-to-clear-the-canvas-tp14064.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Re: How to clear the canvas?

Posted by srini <na...@gmail.com>.
Great Andy, Thanks a lot!



--
View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/Templates-flows-tp14064p14070.html
Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.

Re: How to clear the canvas?

Posted by Andy LoPresto <al...@apache.org>.
0. To clear the canvas, you can select all of the components by pressing Cmd + A or by holding down Shift and dragging a selection box around them. Then press Delete.
1. Created templates are stored in the flow definition. If you create a template, you can verify this by unzipping the conf/flow.xml.gz file and examining the XML. You will see the template definition.
1. a. You can export the template through the UI by going to the global menu at the top right and selecting Templates. Then click the “Download” button on the right for the individual template you wish to export.
2. Template definitions are static — once you create a template, modifying the components on the canvas does not modify the template. To “update” a template, you repeat the initial process and create a new template. I’ve included screenshots of creating a template, modifying the flow, and then exporting the updated flow as a new template.



Andy LoPresto
alopresto@apache.org
alopresto.apache@gmail.com
PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4  BACE 3C6E F65B 2F7D EF69

> On Nov 30, 2016, at 10:59 AM, srini <na...@gmail.com> wrote:
> 
> Hi,
> 
> 1. Where are the created templates store?
> 2. How to save a template after modification?
> 
> thanks
> Srini
> 
> 
> 
> --
> View this message in context: http://apache-nifi-developer-list.39713.n7.nabble.com/How-to-clear-the-canvas-tp14064.html
> Sent from the Apache NiFi Developer List mailing list archive at Nabble.com.