<?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: WebUI and Accessing Parent Properties in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/webui-and-accessing-parent-properties/m-p/490054#M15829</link>
    <description>&lt;P&gt;By "in the document creation script", do you mean in the Create layout for a document?&lt;/P&gt;&lt;P&gt;You can use the &lt;STRONG&gt;nuxeo-document&lt;/STRONG&gt; element to load any document given it's UUID. The UUID of the parent is contained in the &lt;STRONG&gt;parentRef&lt;/STRONG&gt; property of the current document. So you can do something like:&lt;/P&gt;&lt;PRE&gt;&amp;lt;nuxeo-document id="parentFetcher"
                auto
                doc-id="[[document.parentRef]]"
                response="{{_theParentDoc}}"&amp;gt;
&amp;lt;/nuxeo-document&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 May 2025 16:16:23 GMT</pubDate>
    <dc:creator>Josh-F-Hyland</dc:creator>
    <dc:date>2025-05-20T16:16:23Z</dc:date>
    <item>
      <title>WebUI and Accessing Parent Properties</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/webui-and-accessing-parent-properties/m-p/490012#M15828</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using Nuxeo LTS2021.&amp;nbsp; In Web UI, I am trying to create a document in a folder.&amp;nbsp; In the document creation script, how do I access the parent folder properties?&amp;nbsp; &amp;nbsp;I do not want to access the properties in Automation script, basically in the Polymnet script.&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;SG&lt;/P&gt;</description>
      <pubDate>Mon, 19 May 2025 17:53:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/webui-and-accessing-parent-properties/m-p/490012#M15828</guid>
      <dc:creator>Sudarshan_Ghate</dc:creator>
      <dc:date>2025-05-19T17:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: WebUI and Accessing Parent Properties</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/webui-and-accessing-parent-properties/m-p/490054#M15829</link>
      <description>&lt;P&gt;By "in the document creation script", do you mean in the Create layout for a document?&lt;/P&gt;&lt;P&gt;You can use the &lt;STRONG&gt;nuxeo-document&lt;/STRONG&gt; element to load any document given it's UUID. The UUID of the parent is contained in the &lt;STRONG&gt;parentRef&lt;/STRONG&gt; property of the current document. So you can do something like:&lt;/P&gt;&lt;PRE&gt;&amp;lt;nuxeo-document id="parentFetcher"
                auto
                doc-id="[[document.parentRef]]"
                response="{{_theParentDoc}}"&amp;gt;
&amp;lt;/nuxeo-document&amp;gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 May 2025 16:16:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/webui-and-accessing-parent-properties/m-p/490054#M15829</guid>
      <dc:creator>Josh-F-Hyland</dc:creator>
      <dc:date>2025-05-20T16:16:23Z</dc:date>
    </item>
  </channel>
</rss>

