<?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 Solution to fulfill OA functions in Alfresco without much coding in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/solution-to-fulfill-oa-functions-in-alfresco-without-much-coding/m-p/285875#M239005</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The typical scenario is the expense reimbursement application process: application form (based on a template) submission; reimbusement-process follow-up; summarizing and reporting.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Below is the solution I drafted:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(1) create the Excel template, set a specific cell to a JSON string, in which the values (extracted from other cells) are stored in a format;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(2) put the template file to Repository&amp;gt;Data Dictionary&amp;gt;Node Template;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(3) add a property to those kind of templates, the property could be "value-in-json"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(4) user to create files based on the templates&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(5) after the file edited and submitted, an additional action will be executed to get the json string from the specific cell and set it to the "value-in-json" property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(6) get the JSON string for further process, for example, for sum-up.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My questions are as below:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a. in step 5, how to get the cell value from an Excel file in alfresco?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;b. how about this solution, are there any better solutions without much coding?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 29 Dec 2013 04:51:14 GMT</pubDate>
    <dc:creator>andy2_0</dc:creator>
    <dc:date>2013-12-29T04:51:14Z</dc:date>
    <item>
      <title>Solution to fulfill OA functions in Alfresco without much coding</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solution-to-fulfill-oa-functions-in-alfresco-without-much-coding/m-p/285875#M239005</link>
      <description>The typical scenario is the expense reimbursement application process: application form (based on a template) submission; reimbusement-process follow-up; summarizing and reporting.Below is the solution I drafted&lt;IMG id="smileysad" class="emoticon emoticon-smileysad" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-sad.png" alt="Smiley Sad" title="Smiley Sad" /&gt;1) create the Excel template, set a specific cell to a JSON string, in which the values</description>
      <pubDate>Sun, 29 Dec 2013 04:51:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solution-to-fulfill-oa-functions-in-alfresco-without-much-coding/m-p/285875#M239005</guid>
      <dc:creator>andy2_0</dc:creator>
      <dc:date>2013-12-29T04:51:14Z</dc:date>
    </item>
    <item>
      <title>Re: Solution to fulfill OA functions in Alfresco without much coding</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solution-to-fulfill-oa-functions-in-alfresco-without-much-coding/m-p/285876#M239006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Alfresco ships with Apache POI, a library that knows how to work with files created by office suites (like Excel). So you could write an Alfresco action that extracts the cell value using POI.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The POI method that looks most promising after a quick glance is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Cell.html#getStringCellValue%28%29" rel="nofollow noopener noreferrer"&gt;http://poi.apache.org/apidocs/org/apache/poi/ss/usermodel/Cell.html#getStringCellValue%28%29&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you need help writing actions, take a look at this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://ecmarchitect.com/images/articles/alfresco-actions/actions-article-2ed.pdf" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/images/articles/alfresco-actions/actions-article-2ed.pdf&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You want the "action executer class" example.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Jan 2014 17:13:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solution-to-fulfill-oa-functions-in-alfresco-without-much-coding/m-p/285876#M239006</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2014-01-03T17:13:49Z</dc:date>
    </item>
    <item>
      <title>Re: Solution to fulfill OA functions in Alfresco without much coding</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/solution-to-fulfill-oa-functions-in-alfresco-without-much-coding/m-p/285877#M239007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Jeff, thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 04 Jan 2014 05:51:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/solution-to-fulfill-oa-functions-in-alfresco-without-much-coding/m-p/285877#M239007</guid>
      <dc:creator>andy2_0</dc:creator>
      <dc:date>2014-01-04T05:51:54Z</dc:date>
    </item>
  </channel>
</rss>

