<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>question Re: template upload issue in Archives of Support Questions (Read Only)</title>
    <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/template-upload-issue/m-p/217836#M60350</link>
    <description>&lt;P&gt;Thanks for your reply. &lt;/P&gt;&lt;P&gt;1. nifi-1.1.2, 2. Nifi Standalone 3. No &lt;/P&gt;</description>
    <pubDate>Wed, 03 May 2017 13:13:31 GMT</pubDate>
    <dc:creator>uttam_mca2021</dc:creator>
    <dc:date>2017-05-03T13:13:31Z</dc:date>
    <item>
      <title>template upload issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/template-upload-issue/m-p/217834#M60348</link>
      <description>&lt;P&gt;I have upload the template in root processor group then when i click on the template is listed there. but when i delete from Nifi UI then tried to upload the same file getting 200 OK response but not listed in the template option , please help &lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 16:52:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/template-upload-issue/m-p/217834#M60348</guid>
      <dc:creator>uttam_mca2021</dc:creator>
      <dc:date>2017-05-02T16:52:40Z</dc:date>
    </item>
    <item>
      <title>Re: template upload issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/template-upload-issue/m-p/217835#M60349</link>
      <description>&lt;P&gt;&lt;A href="https://community.hortonworks.com/users/17852/uttammca.html"&gt;@uttam kumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;What version of NiFi are you running?&lt;/P&gt;&lt;P&gt;Is this a standalone NiFi or a NiFi cluster?&lt;/P&gt;&lt;P&gt;Is you NiFi secured?&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Tue, 02 May 2017 21:28:06 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/template-upload-issue/m-p/217835#M60349</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-05-02T21:28:06Z</dc:date>
    </item>
    <item>
      <title>Re: template upload issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/template-upload-issue/m-p/217836#M60350</link>
      <description>&lt;P&gt;Thanks for your reply. &lt;/P&gt;&lt;P&gt;1. nifi-1.1.2, 2. Nifi Standalone 3. No &lt;/P&gt;</description>
      <pubDate>Wed, 03 May 2017 13:13:31 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/template-upload-issue/m-p/217836#M60350</guid>
      <dc:creator>uttam_mca2021</dc:creator>
      <dc:date>2017-05-03T13:13:31Z</dc:date>
    </item>
    <item>
      <title>Re: template upload issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/template-upload-issue/m-p/217837#M60351</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17852/uttammca.html" nodeid="17852" target="_blank"&gt;@uttam kumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I have been unable to reproduce what you are seeing.  Just to make sure I am doing the same steps, I have detailed what i have done below:
- I setup a Apache NiFi 1.1.2 standalone unsecure instance.&lt;/P&gt;&lt;P&gt;- With root process group selected, I uploaded a template:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="15021-screen-shot-2017-05-03-at-21535-pm.png" style="width: 582px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16106i11CEA50DB5468798/image-size/medium?v=v2&amp;amp;px=400" role="button" title="15021-screen-shot-2017-05-03-at-21535-pm.png" alt="15021-screen-shot-2017-05-03-at-21535-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- I then performed the following actions to upload my template.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="15022-screen-shot-2017-05-03-at-23222-pm.png" style="width: 1718px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16107iD48A3869C58EDF63/image-size/medium?v=v2&amp;amp;px=400" role="button" title="15022-screen-shot-2017-05-03-at-23222-pm.png" alt="15022-screen-shot-2017-05-03-at-23222-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- Then i deleted the template I uploaded from my NiFi&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="15023-screen-shot-2017-05-03-at-23406-pm.png" style="width: 1700px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/16108i69AA35FB4A85EECE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="15023-screen-shot-2017-05-03-at-23406-pm.png" alt="15023-screen-shot-2017-05-03-at-23406-pm.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- After I deleted the template, I followed the same procedure above to upload the exact same template again.&lt;/P&gt;&lt;P&gt;This process worked for me every time. I uploaded and deleted the same template repeatedly without issue.&lt;/P&gt;&lt;P&gt;Am I doing the same thing you have been doing?&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Sun, 18 Aug 2019 02:54:07 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/template-upload-issue/m-p/217837#M60351</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2019-08-18T02:54:07Z</dc:date>
    </item>
    <item>
      <title>Re: template upload issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/template-upload-issue/m-p/217838#M60352</link>
      <description>&lt;P&gt;Thanks for your reply. I am using the Nifi-API for the same. &lt;/P&gt;&lt;P&gt;Content-Type: multipart/form-data
METHOD : POST
&lt;A href="http://84.39.32.32:8080/process-groups/36e4ed20-015a-1000-0882-9092542ffd03/templates/upload" target="_blank"&gt;http://84.39.32.32:8080/process-groups/36e4ed20-015a-1000-0882-9092542ffd03/templates/upload&lt;/A&gt;
choose file. &lt;/P&gt;</description>
      <pubDate>Fri, 05 May 2017 13:25:43 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/template-upload-issue/m-p/217838#M60352</guid>
      <dc:creator>uttam_mca2021</dc:creator>
      <dc:date>2017-05-05T13:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: template upload issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/template-upload-issue/m-p/217839#M60353</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17852/uttammca.html" nodeid="17852"&gt;@uttam kumar&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Using the NiFi REST-API, i was able to upload, delete, and upload again the same template using the following commands&lt;/P&gt;&lt;P&gt;To upload:&lt;/P&gt;&lt;PRE&gt;curl -X POST -v -F template=@"/&amp;lt;path to template&amp;gt;/template.xml" &lt;A href="http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/nifi-api/process-groups/&amp;lt;UUID" target="_blank"&gt;http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/nifi-api/process-groups/&amp;lt;UUID&lt;/A&gt; of process group&amp;gt;/templates/upload&lt;/PRE&gt;&lt;P&gt;The UUID of my template was in the response to the above command.&lt;/P&gt;&lt;P&gt;To delete:&lt;/P&gt;&lt;PRE&gt;curl -X DELETE -v &lt;A href="http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/nifi-api/templates/&amp;lt;UUID" target="_blank"&gt;http://&amp;lt;host&amp;gt;:&amp;lt;port&amp;gt;/nifi-api/templates/&amp;lt;UUID&lt;/A&gt; of template&amp;gt;&lt;/PRE&gt;&lt;P&gt;I then repeated the above to commands successfully several times.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Sat, 06 May 2017 02:48:14 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/template-upload-issue/m-p/217839#M60353</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-05-06T02:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: template upload issue</title>
      <link>https://community.cloudera.com/t5/Archives-of-Support-Questions/template-upload-issue/m-p/217840#M60354</link>
      <description>&lt;P&gt;&lt;A rel="user" href="https://community.cloudera.com/users/17852/uttammca.html" nodeid="17852"&gt;@uttam kumar&lt;/A&gt; &lt;/P&gt;&lt;P&gt;Where either of the above answers able to resolve your template issue?  If you found either helpful, please accept the answer.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;</description>
      <pubDate>Mon, 08 May 2017 22:15:30 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Archives-of-Support-Questions/template-upload-issue/m-p/217840#M60354</guid>
      <dc:creator>MattWho</dc:creator>
      <dc:date>2017-05-08T22:15:30Z</dc:date>
    </item>
  </channel>
</rss>

