<?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 how could i publish a document in a specific folder in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-could-i-publish-a-document-in-a-specific-folder/m-p/316274#M3275</link>
    <description>&lt;P&gt;i´d like to publish a new document when it is in the state of approve in the life cycle.&lt;/P&gt;
&lt;P&gt;i´m following this example, am i right?? i know i need to change things, but i don´t know which ones.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://doc.nuxeo.com/pages/viewpage.action?pageId=2392665"&gt;http://doc.nuxeo.com/pages/viewpage.action?pageId=2392665&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Feb 2013 01:04:22 GMT</pubDate>
    <dc:creator>german_</dc:creator>
    <dc:date>2013-02-21T01:04:22Z</dc:date>
    <item>
      <title>how could i publish a document in a specific folder</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-could-i-publish-a-document-in-a-specific-folder/m-p/316274#M3275</link>
      <description>&lt;P&gt;i´d like to publish a new document when it is in the state of approve in the life cycle.&lt;/P&gt;
&lt;P&gt;i´m following this example, am i right?? i know i need to change things, but i don´t know which ones.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://doc.nuxeo.com/pages/viewpage.action?pageId=2392665"&gt;http://doc.nuxeo.com/pages/viewpage.action?pageId=2392665&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2013 01:04:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-could-i-publish-a-document-in-a-specific-folder/m-p/316274#M3275</guid>
      <dc:creator>german_</dc:creator>
      <dc:date>2013-02-21T01:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: how could i publish a document in a specific folder</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-could-i-publish-a-document-in-a-specific-folder/m-p/316275#M3276</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;It looks like you're really asking the question :&lt;/P&gt;
&lt;P&gt;&lt;A href="http://answers.nuxeo.com/questions/5020/how-can-i-do-a-workflow-to-publish-a-document-in-some-folder-directly"&gt;http://answers.nuxeo.com/questions/5020/how-can-i-do-a-workflow-to-publish-a-document-in-some-folder-directly&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://forum.nuxeo.com/index.php?t=rview&amp;amp;goto=19320&amp;amp;th=6101#msg_19320"&gt;http://forum.nuxeo.com/index.php?t=rview&amp;amp;goto=19320&amp;amp;th=6101#msg_19320&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;We are very happy that people ask questions but please ask them only once &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Anyway, I guess you are using studio and automation chains. In that case, there is an operation call publish Document :&lt;/P&gt;
&lt;P&gt;&lt;A href="http://explorer.nuxeo.org/nuxeo/site/distribution/current/viewOperation/Document.Publish"&gt;http://explorer.nuxeo.org/nuxeo/site/distribution/current/viewOperation/Document.Publish&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;This operation is used in the example you are following, so it's be a good entry point.&lt;/P&gt;
&lt;P&gt;Basically, this operation will publish the document input to the parameter of the operation (might be a path or a doc id). You just need to determine what is the publishing target of your document and how to find it (several ways to do that, the operation fetch&amp;gt;query is one them).&lt;/P&gt;
&lt;P&gt;Please also not that your use case in not trivial and probably requires to be familiar with Nuxeo Automation concepts:&lt;/P&gt;
&lt;P&gt;&lt;A href="http://doc.nuxeo.com/x/eQE7"&gt;http://doc.nuxeo.com/x/eQE7&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Fred&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2013 08:22:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-could-i-publish-a-document-in-a-specific-folder/m-p/316275#M3276</guid>
      <dc:creator>Fred_Vadon</dc:creator>
      <dc:date>2013-02-21T08:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: how could i publish a document in a specific folder</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-could-i-publish-a-document-in-a-specific-folder/m-p/316276#M3277</link>
      <description>&lt;P&gt;thanks a lot&lt;/P&gt;</description>
      <pubDate>Thu, 21 Feb 2013 16:27:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-could-i-publish-a-document-in-a-specific-folder/m-p/316276#M3277</guid>
      <dc:creator>german_</dc:creator>
      <dc:date>2013-02-21T16:27:05Z</dc:date>
    </item>
  </channel>
</rss>

