<?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 to create List and Map variables types using REST in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183294#M136424</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can read this blog post for information about custom variable types:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://stacktrace.be/blog/2013/09/" rel="nofollow noopener noreferrer"&gt;http://stacktrace.be/blog/2013/09/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Oct 2014 14:56:48 GMT</pubDate>
    <dc:creator>trademak</dc:creator>
    <dc:date>2014-10-02T14:56:48Z</dc:date>
    <item>
      <title>How to create List and Map variables types using REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183292#M136422</link>
      <description>Hi,have one of the requriement where I need to create a variable on existing task using following rest URL.POST http://hostname&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ort/activiti-rest/service/runtime/tasks/taskId/variablesIn the body, [&amp;nbsp; { &amp;nbsp;&amp;nbsp;&amp;nbsp; "name" : "listNames",&amp;nbsp;&amp;nbsp;&amp;nbsp; "scope" : "local",&amp;nbsp;&amp;nbsp;&amp;nbsp; "type" : "list",&amp;nbsp;&amp;nbsp;&amp;nbsp; "value" : "ok"&amp;nbsp; }]This is</description>
      <pubDate>Mon, 29 Sep 2014 12:02:12 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183292#M136422</guid>
      <dc:creator>penusila611621</dc:creator>
      <dc:date>2014-09-29T12:02:12Z</dc:date>
    </item>
    <item>
      <title>Re: How to create List and Map variables types using REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183293#M136423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Any idea on this please ??&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2014 06:10:42 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183293#M136423</guid>
      <dc:creator>penusila611621</dc:creator>
      <dc:date>2014-10-01T06:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to create List and Map variables types using REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183294#M136424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can read this blog post for information about custom variable types:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://stacktrace.be/blog/2013/09/" rel="nofollow noopener noreferrer"&gt;http://stacktrace.be/blog/2013/09/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2014 14:56:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183294#M136424</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-10-02T14:56:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to create List and Map variables types using REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183295#M136425</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;HI Tijs Rademakers,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have read the above blog post. I think the post demonstrating the example at high level. I am bit new to Activiti so not able to abstract where &amp;amp; how to make these changes. Any simple example is appreciated.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 05:19:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183295#M136425</guid>
      <dc:creator>penusila611621</dc:creator>
      <dc:date>2014-10-14T05:19:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to create List and Map variables types using REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183296#M136426</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Now I have understood that I need to create CustomRestResponseFactory by extending RestResponseFactory in that need to override the method initializeVariableConverters method to accomodate my new RestVariableConverter to support List and Map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am not sure where should I keep CustomRestResponseFactory class so that all of my rest calls should use this class.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Oct 2014 08:12:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183296#M136426</guid>
      <dc:creator>penusila611621</dc:creator>
      <dc:date>2014-10-14T08:12:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create List and Map variables types using REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183297#M136427</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You add it to the classpath, and inject it into the Rest classes, as in the article: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ActivitiRestServicesApplication application = new ActivitiRestServicesApplication();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;application.setRestResponseFactory(new CustomRestResponseFactory());&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Oct 2014 09:58:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183297#M136427</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2014-10-17T09:58:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create List and Map variables types using REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183298#M136428</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I tried to get this working and so far have not succeeded. It looks like how the rest webapp initializes has now changed.&amp;nbsp; Here's what I did. I put a activiti.cfg.xml in the rest webapp WEB-INF/classes like this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;beans&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;bean id="restResponseFactory" class="my.activiti.rest.CustomRestResponseFactory" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/beans&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/code&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've got the jar with my CustomRestResponseFactory (which extends RestResponseFactory) in the rest webapp's WEB-INF/lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I startup tomcat it doesn't look like my class is being injected.&amp;nbsp; Is there a better way to customize the rest api webapp that I'm missing?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I should add that I'm using the 5.16.4 release which changed the rest api from restlet's to Spring which may have an affect on what is going on here.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Oct 2014 17:53:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183298#M136428</guid>
      <dc:creator>dparish</dc:creator>
      <dc:date>2014-10-28T17:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to create List and Map variables types using REST</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183299#M136429</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you want to customise RestResponseFactory the best way is too clone the REST application and change the RestConfiguration class:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://github.com/Activiti/Activiti/blob/master/modules/activiti-webapp-rest2/src/main/java/org/activiti/rest/conf/RestConfiguration.java" rel="nofollow noopener noreferrer"&gt;https://github.com/Activiti/Activiti/blob/master/modules/activiti-webapp-rest2/src/main/java/org/activiti/rest/conf/RestConfiguration.java&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Oct 2014 16:06:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-to-create-list-and-map-variables-types-using-rest/m-p/183299#M136429</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2014-10-30T16:06:09Z</dc:date>
    </item>
  </channel>
</rss>

