<?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 Forms with Form Key Attribute in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69514#M44718</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes ok, but i want to have the form properties in an external document (this could be a deployment on activiti, but not inside the process definition bpmn20.xml). So that i can do a reference in my bpmn20.xml to an external document which contains my form properties. The intense is to change the form properties in different contexts and control this by using a processvariable.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Oct 2011 07:58:13 GMT</pubDate>
    <dc:creator>smee82</dc:creator>
    <dc:date>2011-10-27T07:58:13Z</dc:date>
    <item>
      <title>Dynamic Forms with Form Key Attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69511#M44715</link>
      <description>Hey guys,i want to have dynamic forms for my tasks. I think i'm not really getting the idea of the user so guide. So i tried the following:in my bpmn process file:….&amp;lt;process id="TheFlexibleFrog" name="TheFlexibleFrog"&amp;gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;documentation&amp;gt;Test a froggy dynamic dropdown menu.&amp;lt;/documentat</description>
      <pubDate>Wed, 26 Oct 2011 13:56:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69511#M44715</guid>
      <dc:creator>smee82</dc:creator>
      <dc:date>2011-10-26T13:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Forms with Form Key Attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69512#M44716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok it seems my problem is a bit confusing. I try it another way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Can anyone explain me how to use the form key attribute?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 07:32:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69512#M44716</guid>
      <dc:creator>smee82</dc:creator>
      <dc:date>2011-10-27T07:32:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Forms with Form Key Attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69513#M44717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You should include the form properties in the bpmn20.xml file so:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;userTask id="dynamic_dropdown" name="Dynamic Dropdown" activiti:assignee="kermit"&amp;gt;&lt;BR /&gt;&amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;activiti:formProperty id="no_frogs" name="Anzahl Frösche" type="long" variable="0" required="true" readable="true" writable="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;activiti:formProperty id="zubereitungsart" name="Zubereitungsart" type="enum" required="true" readable="true" writable="true"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="gebraten" name="gebraten"&amp;gt;&amp;lt;/activiti:value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="gekocht" name="gekocht"&amp;gt;&amp;lt;/activiti:value&amp;gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="frittiert" name="frittiert"&amp;gt;&amp;lt;/activiti:value&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt;&amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;lt;/userTask&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 07:38:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69513#M44717</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-10-27T07:38:56Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Forms with Form Key Attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69514#M44718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes ok, but i want to have the form properties in an external document (this could be a deployment on activiti, but not inside the process definition bpmn20.xml). So that i can do a reference in my bpmn20.xml to an external document which contains my form properties. The intense is to change the form properties in different contexts and control this by using a processvariable.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 07:58:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69514#M44718</guid>
      <dc:creator>smee82</dc:creator>
      <dc:date>2011-10-27T07:58:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Forms with Form Key Attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69515#M44719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;You should include the form properties in the bpmn20.xml file so:&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&amp;lt;userTask id="dynamic_dropdown" name="Dynamic Dropdown" activiti:assignee="kermit"&amp;gt;&lt;BR /&gt;&amp;lt;extensionElements&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;activiti:formProperty id="no_frogs" name="Anzahl Frösche" type="long" variable="0" required="true" readable="true" writable="true"&amp;gt;&amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;activiti:formProperty id="zubereitungsart" name="Zubereitungsart" type="enum" required="true" readable="true" writable="true"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="gebraten" name="gebraten"&amp;gt;&amp;lt;/activiti:value&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="gekocht" name="gekocht"&amp;gt;&amp;lt;/activiti:value&amp;gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;activiti:value id="frittiert" name="frittiert"&amp;gt;&amp;lt;/activiti:value&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;/activiti:formProperty&amp;gt;&lt;BR /&gt;&amp;lt;/extensionElements&amp;gt;&lt;BR /&gt;&amp;lt;/userTask&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;Best regards,&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;When i try to deploy this as a file i get: The prefix "activiti" for element "activiti:formProperty" is not bound.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 08:26:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69515#M44719</guid>
      <dc:creator>smee82</dc:creator>
      <dc:date>2011-10-27T08:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Forms with Form Key Attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69516#M44720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Did you add the following namespace definitions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;definitions id="example"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; xmlns="&lt;/SPAN&gt;&lt;A href="http://www.omg.org/spec/BPMN/20100524/MODEL" rel="nofollow noopener noreferrer"&gt;http://www.omg.org/spec/BPMN/20100524/MODEL&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; xmlns:xsi="&lt;/SPAN&gt;&lt;A href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; xmlns:activiti="&lt;/SPAN&gt;&lt;A href="http://activiti.org/bpmn" rel="nofollow noopener noreferrer"&gt;http://activiti.org/bpmn&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; targetNamespace="&lt;/SPAN&gt;&lt;A href="http://example" rel="nofollow noopener noreferrer"&gt;http://example&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 08:51:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69516#M44720</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-10-27T08:51:55Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Forms with Form Key Attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69517#M44721</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;That doesn't work either. It says userTask is no valid root element.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 09:12:49 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69517#M44721</guid>
      <dc:creator>smee82</dc:creator>
      <dc:date>2011-10-27T09:12:49Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Forms with Form Key Attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69518#M44722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think it's good if you read through some examples first in the userguide and the Activiti source code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In addition, the Activiti in Action book provides a lot of extra details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You're missing the process element that is required.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 09:16:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69518#M44722</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-10-27T09:16:20Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Forms with Form Key Attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69519#M44723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I think it's good if you read through some examples first in the userguide and the Activiti source code.&lt;BR /&gt;In addition, the Activiti in Action book provides a lot of extra details.&lt;BR /&gt;You're missing the process element that is required.&lt;BR /&gt;&lt;BR /&gt;Best regards,&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;This is what the userguide says, there is nothing about what this "my-custom-form.xml" should contain. Thats not quite much, i think.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The attribute &amp;lt;userTask activiti:formKey="…" is exposed by the API through String FormService.getStartFormData(String processDefinitionId).getFormKey() and String FormService.getTaskFormData(String taskId).getFormKey(). You could use this to store the full name of the template within your deployment (eg. org/activiti/example/form/my-custom-form.xml), but this is not required at all. For instance, you could also store a generic key in the form attribute and apply an algorithm or transformation to get to the actual template that needs to be used. This might be handy when you want to render different forms for different UI technologies like e.g. one form for usage in a web app of normal screen size, one form for mobile phone's small screens and maybe even a template for a IM form or an email form. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 09:26:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69519#M44723</guid>
      <dc:creator>smee82</dc:creator>
      <dc:date>2011-10-27T09:26:05Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Forms with Form Key Attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69520#M44724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;No that's right, because as the userguide says it's up to you how you want to implement the user task forms when you're using the form key.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;You can retrieve the form key value and the XML file corresponding to it via the Activiti API, but then you've to develop the UI logic yourself.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards,&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 09:33:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69520#M44724</guid>
      <dc:creator>trademak</dc:creator>
      <dc:date>2011-10-27T09:33:13Z</dc:date>
    </item>
    <item>
      <title>Re: Dynamic Forms with Form Key Attribute</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69521#M44725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Ok thanks, now i have the point now. Thought i would be possible without developing an own UI. This would have been a nice feature.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Oct 2011 09:49:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/dynamic-forms-with-form-key-attribute/m-p/69521#M44725</guid>
      <dc:creator>smee82</dc:creator>
      <dc:date>2011-10-27T09:49:57Z</dc:date>
    </item>
  </channel>
</rss>

