<?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 Attachments in activiti forms in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/attachments-in-activiti-forms/m-p/79932#M53270</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Greetings,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;i'm interested in transfering/sending attachments through forms in activiti. For example, First assignee uploads attachment (doc,pdf,jpeg…)and send it to second assignee. How is this possible to develop ? Do i need to have a repository (Alfresco DMS) to put this attachments and downloaa them on other form through the link which represents document or there is some other solution ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;True regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Ivan Hajdinjak&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Apr 2011 07:10:09 GMT</pubDate>
    <dc:creator>ivan_hajdinjak</dc:creator>
    <dc:date>2011-04-20T07:10:09Z</dc:date>
    <item>
      <title>Attachments in activiti forms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/attachments-in-activiti-forms/m-p/79932#M53270</link>
      <description>Greetings,i'm interested in transfering/sending attachments through forms in activiti. For example, First assignee uploads attachment (doc,pdf,jpeg…)and send it to second assignee. How is this possible to develop ? Do i need to have a repository (Alfresco DMS) to put this attachments and downloaa th</description>
      <pubDate>Wed, 20 Apr 2011 07:10:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/attachments-in-activiti-forms/m-p/79932#M53270</guid>
      <dc:creator>ivan_hajdinjak</dc:creator>
      <dc:date>2011-04-20T07:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments in activiti forms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/attachments-in-activiti-forms/m-p/79933#M53271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you are using 5.4, look into attachments on the taskservice.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Writing a form that can handle it, is a matter of extening the form properties defined in your process (if you want the same with the .form approach, it'll be much harder)&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Apr 2011 08:24:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/attachments-in-activiti-forms/m-p/79933#M53271</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-04-20T08:24:40Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments in activiti forms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/attachments-in-activiti-forms/m-p/79934#M53272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How do I connect Java class with .form Form ? I tried with JSP way of connecting .form with random java class, but i can't access that event in debbuger. The html code is:&lt;/SPAN&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;lt;%@ page import="upload.execute" %&amp;gt;&lt;BR /&gt;&lt;BR /&gt;&amp;lt;jsp:useBean id="mybean" scope="page" class="upload.execute" /&amp;gt;&lt;BR /&gt;&amp;lt;h1&amp;gt;Expense refund&amp;lt;/h1&amp;gt;&lt;BR /&gt;&amp;lt;p&amp;gt;Please fill in the following fields as detailed as possible, as this will speed up the handling of your request.&amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;lt;table&amp;gt;&lt;BR /&gt; &amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;label&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;td&amp;gt;Employee name:&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;input type='text' name='Employeename' value='' /&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;input type='hidden' name='Employeename_required' value='true' &amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/label&amp;gt;&lt;BR /&gt; &amp;lt;/tr&amp;gt;&lt;BR /&gt; &amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;label&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;td&amp;gt;Amount:&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;input type='number' name='Amount' value='' &amp;lt;input type='hidden' name='Amount_type' value='Integer' &amp;lt;input type='hidden' name='Amount_required' value='true' &amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/label&amp;gt;&lt;BR /&gt; &amp;lt;/tr&amp;gt;&lt;BR /&gt; &amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;label&amp;gt;&amp;lt;td&amp;gt;Motivation:&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;input type='text' name='Motivation' value='' /&amp;gt;&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/label&amp;gt;&lt;BR /&gt; &amp;lt;/tr&amp;gt;&lt;BR /&gt; &amp;lt;tr&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;label&amp;gt;&amp;lt;td&amp;gt;Upload:&amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;td&amp;gt;&amp;lt;input class="button" type="file" name="filedata" id="filedata"/&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/td&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/label&amp;gt;&lt;BR /&gt; &amp;lt;/tr&amp;gt;&lt;BR /&gt;&amp;lt;/table&amp;gt;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;and the java class is &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;import java.util.HashMap;&lt;BR /&gt;import java.util.Map;&lt;BR /&gt;&lt;BR /&gt;import org.activiti.engine.delegate.DelegateExecution;&lt;BR /&gt;import org.activiti.engine.delegate.JavaDelegate;&lt;BR /&gt;import org.apache.chemistry.opencmis.client.api.Session;&lt;BR /&gt;import org.apache.chemistry.opencmis.client.api.SessionFactory;&lt;BR /&gt;import org.apache.chemistry.opencmis.client.runtime.SessionFactoryImpl;&lt;BR /&gt;import org.apache.chemistry.opencmis.commons.SessionParameter;&lt;BR /&gt;import org.apache.chemistry.opencmis.commons.enums.BindingType;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;public class upload implements JavaDelegate{&lt;BR /&gt;&lt;BR /&gt; @Override&lt;BR /&gt; public void execute(DelegateExecution execution) throws Exception {&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt;&amp;nbsp; System.out.println("ušlo u metodu upload.execute");&lt;BR /&gt;&amp;nbsp; // default factory implementation&lt;BR /&gt;&amp;nbsp; SessionFactory factory = SessionFactoryImpl.newInstance();&lt;BR /&gt;&amp;nbsp; Map&amp;lt;String, String&amp;gt; parameter = new HashMap&amp;lt;String, String&amp;gt;();&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; // user credentials&lt;BR /&gt;&amp;nbsp; parameter.put(SessionParameter.USER, "admin");&lt;BR /&gt;&amp;nbsp; parameter.put(SessionParameter.PASSWORD, "MCop92");&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; // connection settings&lt;BR /&gt;&amp;nbsp; parameter.put(SessionParameter.ATOMPUB_URL, "&lt;A href="http://localhost:8090/cmis/atom" rel="nofollow noopener noreferrer"&gt;http://localhost:8090/cmis/atom&lt;/A&gt;");&lt;BR /&gt;&amp;nbsp; parameter.put(SessionParameter.BINDING_TYPE, BindingType.ATOMPUB.value());&lt;BR /&gt;&amp;nbsp; parameter.put(SessionParameter.REPOSITORY_ID, "&lt;A href="http://localhost:8090/alfresco/service/cmis/index.html" rel="nofollow noopener noreferrer"&gt;http://localhost:8090/alfresco/service/cmis/index.html&lt;/A&gt;");&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp; // create session&lt;BR /&gt;&amp;nbsp; Session session = factory.createSession(parameter);&lt;BR /&gt;&amp;nbsp; &lt;BR /&gt; }&lt;BR /&gt; &lt;BR /&gt;}&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;The component that I use in bpmn 2.0 is UserTask..&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>Wed, 20 Apr 2011 10:54:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/attachments-in-activiti-forms/m-p/79934#M53272</guid>
      <dc:creator>ivan_hajdinjak</dc:creator>
      <dc:date>2011-04-20T10:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Attachments in activiti forms</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/attachments-in-activiti-forms/m-p/79935#M53273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you configure your form properties as described in &lt;/SPAN&gt;&lt;A href="http://activiti.org/userguide/index.html#formProperties[/ur;]" rel="nofollow noopener noreferrer"&gt;&lt;BR /&gt;&lt;BR /&gt;If you need attachments, why dont you take a look at the attachment functionality offered by the taskservice ?'&amp;gt;http://activiti.org/userguide/index.html#formProperties[/ur;]&lt;BR /&gt;&lt;BR /&gt;If you need attachments, why dont you take a look at the attachment functionality offered by the taskservice ?&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Apr 2011 08:30:06 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/attachments-in-activiti-forms/m-p/79935#M53273</guid>
      <dc:creator>jbarrez</dc:creator>
      <dc:date>2011-04-21T08:30:06Z</dc:date>
    </item>
  </channel>
</rss>

