<?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 get a coreSession in a groovy script in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-get-a-coresession-in-a-groovy-script/m-p/328576#M15577</link>
    <description>&lt;P&gt;hello !&lt;/P&gt;
&lt;P&gt;You just have to use the variable &lt;STRONG&gt;Session&lt;/STRONG&gt; which is available in the context of a groovy script
&lt;CODE&gt;Session.createDocumentModel("/Documents",id,"DocumentWorkspace");&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;TM&lt;/P&gt;</description>
    <pubDate>Fri, 16 Sep 2011 10:13:31 GMT</pubDate>
    <dc:creator>Thierry_Martins</dc:creator>
    <dc:date>2011-09-16T10:13:31Z</dc:date>
    <item>
      <title>How can I get a coreSession in a groovy script</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-get-a-coresession-in-a-groovy-script/m-p/328575#M15576</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;
&lt;P&gt;I want to create documents in a script like this:
coreSession.createDocumentModel("/Documents",id,"DocumentWorkspace");&lt;/P&gt;
&lt;P&gt;How can I instantiate the coreSession?&lt;/P&gt;</description>
      <pubDate>Thu, 15 Sep 2011 12:13:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-get-a-coresession-in-a-groovy-script/m-p/328575#M15576</guid>
      <dc:creator>iry_</dc:creator>
      <dc:date>2011-09-15T12:13:09Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get a coreSession in a groovy script</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-get-a-coresession-in-a-groovy-script/m-p/328576#M15577</link>
      <description>&lt;P&gt;hello !&lt;/P&gt;
&lt;P&gt;You just have to use the variable &lt;STRONG&gt;Session&lt;/STRONG&gt; which is available in the context of a groovy script
&lt;CODE&gt;Session.createDocumentModel("/Documents",id,"DocumentWorkspace");&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;TM&lt;/P&gt;</description>
      <pubDate>Fri, 16 Sep 2011 10:13:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-get-a-coresession-in-a-groovy-script/m-p/328576#M15577</guid>
      <dc:creator>Thierry_Martins</dc:creator>
      <dc:date>2011-09-16T10:13:31Z</dc:date>
    </item>
  </channel>
</rss>

