<?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: Dynamic Table and Templates in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228338#M181468</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much! I'm looking forward to your response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Jan 2016 21:11:01 GMT</pubDate>
    <dc:creator>messmeister</dc:creator>
    <dc:date>2016-01-20T21:11:01Z</dc:date>
    <item>
      <title>Dynamic Table and Templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228331#M181461</link>
      <description>Hello,i have a question about the "Generate Document Task" in Alfresco Activiti Suite 1.4:is there any info on how to list entries of a dynamic table with a MS Word template? &amp;lt;&amp;lt;[myTable]&amp;gt;&amp;gt; is printing the contents of the table as a json string and i cannot use &amp;lt;&amp;lt;foreach [in myTable</description>
      <pubDate>Mon, 04 Jan 2016 16:52:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228331#M181461</guid>
      <dc:creator>messmeister</dc:creator>
      <dc:date>2016-01-04T16:52:12Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Table and Templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228332#M181462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It seems i cannot use the LINQ expressions in this forum because it get's escaped with &amp;lt; &amp;gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to say that i cannot use the foreach expression with the dynamic table.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jan 2016 16:55:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228332#M181462</guid>
      <dc:creator>messmeister</dc:creator>
      <dc:date>2016-01-04T16:55:15Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Table and Templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228333#M181463</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm, i think you will need to do some pre-processing on the dynamic table json before it's passed into the template:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;see &lt;/SPAN&gt;&lt;A href="https://docs.alfresco.com/activiti/docs/dev-guide/1.4.0/#templateVariableProcessor" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/activiti/docs/dev-guide/1.4.0/#templateVariableProcessor&lt;/A&gt;&lt;BR /&gt;&lt;SPAN&gt;(it's a bit crude, as it's applicable to all templates, but it'll get the job done. We will add a more refined mechanism in the future)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 10:00:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228333#M181463</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-01-05T10:00:07Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Table and Templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228334#M181464</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much for the info! Do I have to invoke my custom processor in the template? Because if I follow the example in the developer guide as you mentioned, nothing happens.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jan 2016 10:42:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228334#M181464</guid>
      <dc:creator>messmeister</dc:creator>
      <dc:date>2016-01-05T10:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Table and Templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228335#M181465</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You have to put a class implementing that interface on the classpath. Make sure it's&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) in the right package (com.activiti.extension.bean)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) has @Component on it&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you had that already … please share your code here&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Jan 2016 09:22:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228335#M181465</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-01-07T09:22:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Table and Templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228336#M181466</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, i've double checked and yes, it is the correct package and it has the @Component annotation.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;package com.activiti.extension.bean;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import com.activiti.api.docgen.TemplateVariableProcessor;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.activiti.engine.delegate.DelegateExecution;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.springframework.stereotype.Component;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;import org.apache.log4j.Logger;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;@Component&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;public class CustomTemplateProcessor implements TemplateVariableProcessor {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; private static final Logger logger = Logger.getLogger(CustomTemplateProcessor.class);&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public Object process(DelegateExecution execution, String variableName, Object value) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; logger.info("processing….");&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; return value.toString() + "___" + "HELLO_WORLD";&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/java&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's not doing anything at all.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI: I have other beans in the same package to use as script task expressions and they are working just fine…&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any idea??&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Jan 2016 12:45:29 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228336#M181466</guid>
      <dc:creator>messmeister</dc:creator>
      <dc:date>2016-01-08T12:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Table and Templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228337#M181467</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hmm that looks allright. I tested it a few weeks ago and it worked. I'll recheck tomorrow and post back here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 21:05:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228337#M181467</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2016-01-20T21:05:04Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Table and Templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228338#M181468</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you very much! I'm looking forward to your response.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Jan 2016 21:11:01 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228338#M181468</guid>
      <dc:creator>messmeister</dc:creator>
      <dc:date>2016-01-20T21:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Table and Templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228339#M181469</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;@messmeister&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;For a custom TemplateVariableProcessor to be called the variable should be in the following format in the template&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;&amp;lt;[variables.get("varName")]&amp;gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Feb 2016 12:20:58 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228339#M181469</guid>
      <dc:creator>balsarori</dc:creator>
      <dc:date>2016-02-29T12:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Table and Templates</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228340#M181470</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Team,&lt;/P&gt;&lt;P&gt;I have a same requirement.&lt;/P&gt;&lt;P&gt;Could you please tell how you implement it.What we need to process in Custom Template Processor.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Rachana Garg&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Aug 2018 09:48:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-table-and-templates/m-p/228340#M181470</guid>
      <dc:creator>rachana</dc:creator>
      <dc:date>2018-08-16T09:48:59Z</dc:date>
    </item>
  </channel>
</rss>

