<?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: Setting a default value for a single document suggestion widget in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/setting-a-default-value-for-a-single-document-suggestion-widget/m-p/320754#M7755</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You have to use an automation chain with the operation Document.SetProperty linked to the event handler "Empty Document Created". Take care not to set save=true on the Document.SetProperty as the document is not committed to the database at that moment.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
    <pubDate>Thu, 31 Oct 2019 20:54:12 GMT</pubDate>
    <dc:creator>Gregory_Carlin</dc:creator>
    <dc:date>2019-10-31T20:54:12Z</dc:date>
    <item>
      <title>Setting a default value for a single document suggestion widget</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-a-default-value-for-a-single-document-suggestion-widget/m-p/320753#M7754</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;I am trying set a default value within a form create layout for a single document suggestion widget.&lt;/P&gt;
&lt;P&gt;I have tried the following within the custom properties to no avail:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;defaultValue     #{currentDocument.customSchema.customDocProperty}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;...where customDocProperty is of type Document.&lt;/P&gt;
&lt;P&gt;Any suggestions on how to set a default value for a single document suggestion widget?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 22:41:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-a-default-value-for-a-single-document-suggestion-widget/m-p/320753#M7754</guid>
      <dc:creator>Matthew_Roy</dc:creator>
      <dc:date>2019-10-30T22:41:42Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a default value for a single document suggestion widget</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-a-default-value-for-a-single-document-suggestion-widget/m-p/320754#M7755</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;You have to use an automation chain with the operation Document.SetProperty linked to the event handler "Empty Document Created". Take care not to set save=true on the Document.SetProperty as the document is not committed to the database at that moment.&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 20:54:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-a-default-value-for-a-single-document-suggestion-widget/m-p/320754#M7755</guid>
      <dc:creator>Gregory_Carlin</dc:creator>
      <dc:date>2019-10-31T20:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a default value for a single document suggestion widget</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-a-default-value-for-a-single-document-suggestion-widget/m-p/320755#M7756</link>
      <description>&lt;P&gt;Hi Gregory, Thank you for your reply. Is there any way to get the parent document from the empty document created?&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 20:44:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-a-default-value-for-a-single-document-suggestion-widget/m-p/320755#M7756</guid>
      <dc:creator>Matthew_Roy</dc:creator>
      <dc:date>2019-11-04T20:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a default value for a single document suggestion widget</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-a-default-value-for-a-single-document-suggestion-widget/m-p/320756#M7757</link>
      <description>&lt;P&gt;You can do it using the code provided in the &lt;STRONG&gt;Nuxeo Studio Community Cookbook&lt;/STRONG&gt;: &lt;A href="https://github.com/nuxeo/nuxeo-studio-community-cookbook/tree/master/modules/nuxeo/modeler-tips-tricks#get-value-from-the-parent-document-before-creation"&gt;https://github.com/nuxeo/nuxeo-studio-community-cookbook/tree/master/modules/nuxeo/modeler-tips-tricks#get-value-from-the-parent-document-before-creation&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 20:53:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-a-default-value-for-a-single-document-suggestion-widget/m-p/320756#M7757</guid>
      <dc:creator>Gregory_Carlin</dc:creator>
      <dc:date>2019-11-04T20:53:01Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a default value for a single document suggestion widget</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/setting-a-default-value-for-a-single-document-suggestion-widget/m-p/320757#M7758</link>
      <description>&lt;P&gt;Awesome, thanks a ton Gregory! Appreciate the support &amp;amp; quick response!&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 21:08:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/setting-a-default-value-for-a-single-document-suggestion-widget/m-p/320757#M7758</guid>
      <dc:creator>Matthew_Roy</dc:creator>
      <dc:date>2019-11-04T21:08:07Z</dc:date>
    </item>
  </channel>
</rss>

