<?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: Custom action rule paremeters in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-rule-paremeters/m-p/66046#M41893</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tengo ambos parametros añadidos en el metodo&amp;nbsp;&lt;SPAN style="color: #795da3; background-color: #ffffff;"&gt;addParameterDefinitions&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Apr 2017 07:46:05 GMT</pubDate>
    <dc:creator>kaecius</dc:creator>
    <dc:date>2017-04-20T07:46:05Z</dc:date>
    <item>
      <title>Custom action rule paremeters</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-rule-paremeters/m-p/66042#M41889</link>
      <description>Buenos Días,Estoy creando una acción en java que necesita de dos parametros, dichos paremetros son de tipo nodeRef (destination-folder) y un texto o una selección de diferentes valores(pattern). El problema reside en que al definir en Customizations una nueva para mi acción que muestre por share un</description>
      <pubDate>Wed, 19 Apr 2017 09:43:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-rule-paremeters/m-p/66042#M41889</guid>
      <dc:creator>kaecius</dc:creator>
      <dc:date>2017-04-19T09:43:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action rule paremeters</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-rule-paremeters/m-p/66043#M41890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Puedes basarte en este ejemplo:&amp;nbsp;&lt;A href="https://github.com/jpotts/alfresco-developer-series/blob/master/actions/actions-tutorial-share/src/main/amp/web/components/someco/rules/config/rule-config-action-custom.js" rel="nofollow noopener noreferrer"&gt;https://github.com/jpotts/alfresco-developer-series/blob/master/actions/actions-tutorial-share/src/main/amp/web/components/someco/rules/config/rule-config-action-custom.js&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lo cierto es que es algo que nunca he hecho.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Apr 2017 20:41:51 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-rule-paremeters/m-p/66043#M41890</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2017-04-19T20:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action rule paremeters</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-rule-paremeters/m-p/66044#M41891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Me basé en ese ejemplo para realizarlo , pero al parecer , al añadir otro parametro más no se comporta de la misma manera, se visualiza tal y como tiene que hacerlo y el seleccionador de carpetas sí que recoge el parametro que le pongo pero el textbox da igual lo que le ponga que no lo recoge&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 06:12:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-rule-paremeters/m-p/66044#M41891</guid>
      <dc:creator>kaecius</dc:creator>
      <dc:date>2017-04-20T06:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action rule paremeters</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-rule-paremeters/m-p/66045#M41892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;En ese ejemplo, los parámetros de la acción se definen aquí:&amp;nbsp;&lt;A class="link-titled" href="https://github.com/jpotts/alfresco-developer-series/blob/master/actions/actions-tutorial-repo/src/main/java/com/someco/action/executer/MoveReplacedActionExecuter.java" title="https://github.com/jpotts/alfresco-developer-series/blob/master/actions/actions-tutorial-repo/src/main/java/com/someco/action/executer/MoveReplacedActionExecuter.java" rel="nofollow noopener noreferrer"&gt;alfresco-developer-series/MoveReplacedActionExecuter.java at master · jpotts/alfresco-developer-series · GitHub&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quizá te falta añadirlo.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 07:26:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-rule-paremeters/m-p/66045#M41892</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2017-04-20T07:26:30Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action rule paremeters</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-rule-paremeters/m-p/66046#M41893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Tengo ambos parametros añadidos en el metodo&amp;nbsp;&lt;SPAN style="color: #795da3; background-color: #ffffff;"&gt;addParameterDefinitions&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 07:46:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-rule-paremeters/m-p/66046#M41893</guid>
      <dc:creator>kaecius</dc:creator>
      <dc:date>2017-04-20T07:46:05Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action rule paremeters</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-rule-paremeters/m-p/66047#M41894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;¿Y tienes el parámetro en "configDef.parameterDefinitions" en la opción de "edit"? ¿Lo muestra en pantalla?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 08:13:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-rule-paremeters/m-p/66047#M41894</guid>
      <dc:creator>angelborroy</dc:creator>
      <dc:date>2017-04-20T08:13:20Z</dc:date>
    </item>
    <item>
      <title>Re: Custom action rule paremeters</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-action-rule-paremeters/m-p/66048#M41895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Si , está definido y se muestra en pantalla.&amp;nbsp;&lt;/P&gt;&lt;P&gt;He conseguido solucionarlo eliminando del unshift lo referente al segundo parámetro:&lt;/P&gt;&lt;PRE style="color: #a9b7c6; background-color: #2b2b2b; border: 0px;"&gt;&lt;SPAN style="color: #808080; border: 0px; font-weight: inherit;"&gt;,{&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; type:"d:text",&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; displayLabel : this.msg("action.label.pattern"),&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; _destinationParam: "date-pattern"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808080; border: 0px; font-weight: inherit;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;/PRE&gt;&lt;P&gt;y añadiendo a continuación:&lt;/P&gt;&lt;PRE style="color: #a9b7c6; background-color: #2b2b2b; font-size: 11,3pt;"&gt;&lt;SPAN style="color: #cc7832;"&gt;this&lt;/SPAN&gt;._getParamDef(configDef, &lt;SPAN style="color: #6a8759;"&gt;"date-pattern"&lt;/SPAN&gt;).isMandatory = &lt;SPAN style="color: #cc7832;"&gt;true&lt;/SPAN&gt;;&lt;BR /&gt;&lt;SPAN style="color: #cc7832;"&gt;this&lt;/SPAN&gt;._getParamDef(configDef, &lt;SPAN style="color: #6a8759;"&gt;"date-pattern"&lt;/SPAN&gt;).displayLabel = &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;SPAN style="color: #cc7832;"&gt;this&lt;/SPAN&gt;.msg(&lt;SPAN style="color: #6a8759;"&gt;"zylk-folderizer-action.label.pattern"&lt;/SPAN&gt;);&lt;/PRE&gt;&lt;P&gt;el resultado gráficamente sería:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="13335" alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/alfresco/13335_Captura de pantalla de 2017-04-20 10:37:27.png" style="width: 620px; height: 52px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Apr 2017 08:40:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-action-rule-paremeters/m-p/66048#M41895</guid>
      <dc:creator>kaecius</dc:creator>
      <dc:date>2017-04-20T08:40:18Z</dc:date>
    </item>
  </channel>
</rss>

