<?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 send face message to user interface  from operation created on IDE? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-send-face-message-to-user-interface-from-operation/m-p/313191#M192</link>
    <description>&lt;P&gt;I had to do this recently as well -- what I did was to use (in Nuxeo Studio) the "User Interface -&amp;gt; Add Message" instruction in the automation chain, checking the response of my custom operation in the expression language to set the severity/message text. E.g.&lt;/P&gt;
&lt;P&gt;message:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Packaging request @{Context.input != "" ? "succeeded" : "failed"}. 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;severity:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;@{Context.input != "" ? "INFO" : "ERROR"}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;My operation returns a nonempty string on success, but the above worked for simple booleans too with the correct expression.&lt;/P&gt;
&lt;P&gt;If you're not using Nuxeo Studio there's surely a way to do this involving editing XML.&lt;/P&gt;</description>
    <pubDate>Thu, 24 Oct 2013 14:34:31 GMT</pubDate>
    <dc:creator>Steven_Huwig1</dc:creator>
    <dc:date>2013-10-24T14:34:31Z</dc:date>
    <item>
      <title>How can i send face message to user interface  from operation created on IDE?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-send-face-message-to-user-interface-from-operation/m-p/313190#M191</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;
&lt;P&gt;I have create an operation on IDE and in some case it should  send to user interface warning,
message as in case of validation forms, i didn't find any way to do that?&lt;/P&gt;
&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2013 22:08:53 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-send-face-message-to-user-interface-from-operation/m-p/313190#M191</guid>
      <dc:creator>00000001_</dc:creator>
      <dc:date>2013-10-22T22:08:53Z</dc:date>
    </item>
    <item>
      <title>Re: How can i send face message to user interface  from operation created on IDE?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-send-face-message-to-user-interface-from-operation/m-p/313191#M192</link>
      <description>&lt;P&gt;I had to do this recently as well -- what I did was to use (in Nuxeo Studio) the "User Interface -&amp;gt; Add Message" instruction in the automation chain, checking the response of my custom operation in the expression language to set the severity/message text. E.g.&lt;/P&gt;
&lt;P&gt;message:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;Packaging request @{Context.input != "" ? "succeeded" : "failed"}. 
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;severity:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;@{Context.input != "" ? "INFO" : "ERROR"}
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;My operation returns a nonempty string on success, but the above worked for simple booleans too with the correct expression.&lt;/P&gt;
&lt;P&gt;If you're not using Nuxeo Studio there's surely a way to do this involving editing XML.&lt;/P&gt;</description>
      <pubDate>Thu, 24 Oct 2013 14:34:31 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-can-i-send-face-message-to-user-interface-from-operation/m-p/313191#M192</guid>
      <dc:creator>Steven_Huwig1</dc:creator>
      <dc:date>2013-10-24T14:34:31Z</dc:date>
    </item>
  </channel>
</rss>

