<?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 Nuxeo Studio, LTS 2021 Button &amp;gt; Document Actions Slot &amp;gt; Activation Filter &amp;gt; Custom Expression in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-lts-2021-button-gt-document-actions-slot-gt/m-p/485517#M15712</link>
    <description>&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;I have a custom schema ("Validation") that has a Yes/No field called "Validated".&amp;nbsp; The schema is attached to a document type called "MedicalRecords".&amp;nbsp; I want to be able to toggle a button in Document Actions Slot if the value Validation.Validated is Yes.&amp;nbsp; What is the correct syntax for custom expression to enable / disable this button?&amp;nbsp; I have tried&amp;nbsp;document.properties.validation.validated === null and various other combination.&amp;nbsp; Any guidance would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SG&lt;/P&gt;</description>
    <pubDate>Tue, 17 Dec 2024 04:38:39 GMT</pubDate>
    <dc:creator>Sudarshan_Ghate</dc:creator>
    <dc:date>2024-12-17T04:38:39Z</dc:date>
    <item>
      <title>Nuxeo Studio, LTS 2021 Button &gt; Document Actions Slot &gt; Activation Filter &gt; Custom Expression</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-lts-2021-button-gt-document-actions-slot-gt/m-p/485517#M15712</link>
      <description>&lt;P&gt;Dear Experts,&lt;/P&gt;&lt;P&gt;I have a custom schema ("Validation") that has a Yes/No field called "Validated".&amp;nbsp; The schema is attached to a document type called "MedicalRecords".&amp;nbsp; I want to be able to toggle a button in Document Actions Slot if the value Validation.Validated is Yes.&amp;nbsp; What is the correct syntax for custom expression to enable / disable this button?&amp;nbsp; I have tried&amp;nbsp;document.properties.validation.validated === null and various other combination.&amp;nbsp; Any guidance would be appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SG&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 04:38:39 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-lts-2021-button-gt-document-actions-slot-gt/m-p/485517#M15712</guid>
      <dc:creator>Sudarshan_Ghate</dc:creator>
      <dc:date>2024-12-17T04:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Studio, LTS 2021 Button &gt; Document Actions Slot &gt; Activation Filter &gt; Custom Expr</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-lts-2021-button-gt-document-actions-slot-gt/m-p/485535#M15714</link>
      <description>&lt;P&gt;The custom expression syntax must be valid JavaScript, not Polymer flavored e.g.:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;document.properties['validation:validated'] === 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.nuxeo.com/studio/javascript-expression-examples/" target="_blank" rel="noopener"&gt;https://doc.nuxeo.com/studio/javascript-expression-examples/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 16:24:19 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-lts-2021-button-gt-document-actions-slot-gt/m-p/485535#M15714</guid>
      <dc:creator>Josh-F-Hyland</dc:creator>
      <dc:date>2024-12-17T16:24:19Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Studio, LTS 2021 Button &gt; Document Actions Slot &gt; Activation Filter &gt; Custom Expr</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-lts-2021-button-gt-document-actions-slot-gt/m-p/485605#M15715</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://connect.hyland.com/t5/user/viewprofilepage/user-id/143968"&gt;@Josh-F-Hyland&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I look at the JSON, I see the following:&lt;/P&gt;&lt;P&gt;"properties": {&lt;BR /&gt;"Validation:Validated": "No",&lt;BR /&gt;"google_ml:imageTextDetection_content": null,&lt;BR /&gt;},&lt;BR /&gt;"google_ml:speechRecognition_language": null,&lt;BR /&gt;"google_ml:speechRecognition_confidence": null,&lt;/P&gt;&lt;P&gt;I am curious as to why Validation schema shows up under "properties" but other schemas do not?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I appreciate the help!&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 19:37:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-lts-2021-button-gt-document-actions-slot-gt/m-p/485605#M15715</guid>
      <dc:creator>Sudarshan_Ghate</dc:creator>
      <dc:date>2024-12-18T19:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Studio, LTS 2021 Button &gt; Document Actions Slot &gt; Activation Filter &gt; Custom Expr</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-lts-2021-button-gt-document-actions-slot-gt/m-p/485607#M15716</link>
      <description>&lt;P&gt;The REST API allows you to control which schema values are returned via the "properties" header:&lt;/P&gt;&lt;P&gt;&lt;A href="https://doc.nuxeo.com/n/o5e" target="_blank"&gt;https://doc.nuxeo.com/n/o5e&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 19:42:25 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-studio-lts-2021-button-gt-document-actions-slot-gt/m-p/485607#M15716</guid>
      <dc:creator>Josh-F-Hyland</dc:creator>
      <dc:date>2024-12-18T19:42:25Z</dc:date>
    </item>
  </channel>
</rss>

