<?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>topic Re: How can I create a .pdf file in perticular folder in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-create-a-pdf-file-in-perticular-folder/m-p/249933#M203063</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;It seems like already a file exits with same name, to create a pdf file hope this snippet helps you&lt;/P&gt;&lt;PRE class="" style="color: #333333; background-color: #ffffff; font-size: 14px; padding: 5px 0px 5px 5px;"&gt;&lt;SPAN class="" style="color: #000000;"&gt;    &lt;/SPAN&gt;&lt;SPAN class="" style="color: #880000;"&gt;// Create new nodes &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;   &lt;BR /&gt;      &lt;/SPAN&gt;&lt;SPAN class="" style="color: #660066;"&gt;FileInfo&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; fileInfoPdf &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;this&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;fileFolderService&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;create&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;parentNoderef&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #008800;"&gt;"test_doc&lt;/SPAN&gt;&lt;SPAN class="" style="color: #008800;"&gt;.pdf"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #660066;"&gt;ContentModel&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;TYPE_CONTENT&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;   &lt;BR /&gt;      &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;this&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;pdfNode &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; fileInfoPdf&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="background-color: #e3ebca; padding: 1px 1px 1px 3px;"&gt;&lt;SPAN class="" style="color: #000000;"&gt;getNodeRef&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;();&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;BR /&gt;      &lt;/SPAN&gt;&lt;SPAN class="" style="color: #660066;"&gt;ContentWriter&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; contentWriter &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;this&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;contentService&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;getWriter&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;fileInfoPdf&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="background-color: #e3ebca; padding: 1px 1px 1px 3px;"&gt;&lt;SPAN class="" style="color: #000000;"&gt;getNodeRef&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(),&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #660066;"&gt;ContentModel&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;PROP_CONTENT&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;true&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;  &lt;BR /&gt;      contentWriter&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;setEncoding&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #008800;"&gt;"UTF-8"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;    &lt;BR /&gt;      contentWriter&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;setMimetype&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #660066;"&gt;MimetypeMap&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;MIMETYPE_PDF&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;   &lt;BR /&gt;      contentWriter&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;putContent&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;pdfStream&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 31 Aug 2019 10:50:27 GMT</pubDate>
    <dc:creator>srikanth94</dc:creator>
    <dc:date>2019-08-31T10:50:27Z</dc:date>
    <item>
      <title>How can I create a .pdf file in perticular folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-create-a-pdf-file-in-perticular-folder/m-p/249931#M203061</link>
      <description>Hi all,I want to create a .pdf file using the action class(JAVA) in alfresco repository folder according to the parameters passed from the parallel-review-group.bpmn20.xmlHow can i pass the node(for the particular folder) from this xml to the action class to create the .pdf file using following comm</description>
      <pubDate>Wed, 28 Mar 2012 03:57:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-create-a-pdf-file-in-perticular-folder/m-p/249931#M203061</guid>
      <dc:creator>chamithmalinda</dc:creator>
      <dc:date>2012-03-28T03:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a .pdf file in perticular folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-create-a-pdf-file-in-perticular-folder/m-p/249932#M203062</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm having the following error when proceed with my code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;org.alfresco.service.cmr.model.FileExistsException: Existing file or folder ResponseDOC.pdf already exists&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;is there any one help me to resolve this problem . . . . .&amp;nbsp; &lt;img id="smileyindifferent" class="emoticon emoticon-smileyindifferent" src="https://connect.hyland.com/i/smilies/16x16_smiley-indifferent.png" alt="Smiley Indifferent" title="Smiley Indifferent" /&gt;&amp;nbsp; :cry:&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Mar 2012 07:12:47 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-create-a-pdf-file-in-perticular-folder/m-p/249932#M203062</guid>
      <dc:creator>chamithmalinda</dc:creator>
      <dc:date>2012-03-28T07:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can I create a .pdf file in perticular folder</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-create-a-pdf-file-in-perticular-folder/m-p/249933#M203063</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;It seems like already a file exits with same name, to create a pdf file hope this snippet helps you&lt;/P&gt;&lt;PRE class="" style="color: #333333; background-color: #ffffff; font-size: 14px; padding: 5px 0px 5px 5px;"&gt;&lt;SPAN class="" style="color: #000000;"&gt;    &lt;/SPAN&gt;&lt;SPAN class="" style="color: #880000;"&gt;// Create new nodes &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;   &lt;BR /&gt;      &lt;/SPAN&gt;&lt;SPAN class="" style="color: #660066;"&gt;FileInfo&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; fileInfoPdf &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;this&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;fileFolderService&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;create&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;parentNoderef&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #008800;"&gt;"test_doc&lt;/SPAN&gt;&lt;SPAN class="" style="color: #008800;"&gt;.pdf"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #660066;"&gt;ContentModel&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;TYPE_CONTENT&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;   &lt;BR /&gt;      &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;this&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;pdfNode &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; fileInfoPdf&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="background-color: #e3ebca; padding: 1px 1px 1px 3px;"&gt;&lt;SPAN class="" style="color: #000000;"&gt;getNodeRef&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;();&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;BR /&gt;      &lt;/SPAN&gt;&lt;SPAN class="" style="color: #660066;"&gt;ContentWriter&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; contentWriter &lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;=&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;this&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;contentService&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;getWriter&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;fileInfoPdf&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="background-color: #e3ebca; padding: 1px 1px 1px 3px;"&gt;&lt;SPAN class="" style="color: #000000;"&gt;getNodeRef&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(),&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #660066;"&gt;ContentModel&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;PROP_CONTENT&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;,&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt; &lt;/SPAN&gt;&lt;SPAN class="" style="color: #000088;"&gt;true&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;  &lt;BR /&gt;      contentWriter&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;setEncoding&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #008800;"&gt;"UTF-8"&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;    &lt;BR /&gt;      contentWriter&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;setMimetype&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #660066;"&gt;MimetypeMap&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;MIMETYPE_PDF&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;   &lt;BR /&gt;      contentWriter&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;.&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;putContent&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;(&lt;/SPAN&gt;&lt;SPAN class="" style="color: #000000;"&gt;pdfStream&lt;/SPAN&gt;&lt;SPAN class="" style="color: #666600;"&gt;);&lt;/SPAN&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 31 Aug 2019 10:50:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-create-a-pdf-file-in-perticular-folder/m-p/249933#M203063</guid>
      <dc:creator>srikanth94</dc:creator>
      <dc:date>2019-08-31T10:50:27Z</dc:date>
    </item>
  </channel>
</rss>

