<?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 Customizing package items in workflow in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/customizing-package-items-in-workflow/m-p/263565#M216695</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I would like to customize worfklow form for items - bpm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ackage,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in such a way that instead of description for a package item&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;it would show title property of an item( cm:title ).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I know that packageitems.ftl is used for the bpm&lt;img id="smileytongue" class="emoticon emoticon-smileytongue" src="https://connect.hyland.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ackage in share,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I can't be configured here which document properties are shown here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So if I would like to customize which properties are shown in package items,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;where do I have to make changes. I have tried making changes in document-picker-min.js&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;( I can see code for outputing name and description or name only if in compact mode&amp;nbsp; there )&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but there is no difference visible. I am using version 4.b&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you for your answers.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2012 13:57:40 GMT</pubDate>
    <dc:creator>leftright</dc:creator>
    <dc:date>2012-04-26T13:57:40Z</dc:date>
    <item>
      <title>Customizing package items in workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-package-items-in-workflow/m-p/263565#M216695</link>
      <description>HelloI would like to customize worfklow form for items - bpm&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;ackage,in such a way that instead of description for a package itemit would show title property of an item( cm:title ).I know that packageitems.ftl is used for the bpm&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;ackage in share,but I can't be configured here which document propert</description>
      <pubDate>Thu, 26 Apr 2012 13:57:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-package-items-in-workflow/m-p/263565#M216695</guid>
      <dc:creator>leftright</dc:creator>
      <dc:date>2012-04-26T13:57:40Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing package items in workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-package-items-in-workflow/m-p/263566#M216696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The packageitems.ftl form control augments the object-finder control instantiated in WEB-INF/classes/alfresco/site-webscripts/org/alfresco/components/forms/controls/common/picker.inc.ftl. You need not adjust anything here.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The object-finder can be found in components/object-finder/object-finder.js. To change the contents of the item details you need to adapt function ObjectFinder_fnRenderCellListItemName on line 1313&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can create your own javascript file and extend the objectFinder using YAHOO.lang.augmentObject. Copy ObjectFinder_fnRenderCellListItemName and adapt it. Make sure you use overwrite=true on the YAHOO.lang.augmentObject when overriding the function.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;BTW you were editing the minified version of the javascript (all files with '-min' suffix) which can be unpractical. In the alfresco svn you can find the original files. On the alfresco wiki there are instructions on how to yui minify your own scripts before deploying them.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 19:58:41 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-package-items-in-workflow/m-p/263566#M216696</guid>
      <dc:creator>arnoldschrijve1</dc:creator>
      <dc:date>2012-04-26T19:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: Customizing package items in workflow</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/customizing-package-items-in-workflow/m-p/263567#M216697</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes I had to change in object picker as you said.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Now I have another problem, unrelated to previous one, but I am going to use the same topic for it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I wanted to change the content of package in forms,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;so I could copy the document title to workflow property in start task(always only one document in workflow).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have managed to copy the title by having a button in forms that does that with javascript(so user can have a choice where to copy the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;documen title or not). But I have a problem now. The property where I copied title to is mandatory(the only mandatory property) and&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;even though the property has value now(text data type, I use ordinary text field), I can't start workflow, the button is grayed out. If I make a change in&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;input field the I can start the workflow. Also if I type something in the input field, and then copy by clicking on button, I can also start workflow&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Any suggestion?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for answers&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT: I have solved the problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I had to use the mandatory validator on the field for event that I trigered with javascript&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2012 16:15:56 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/customizing-package-items-in-workflow/m-p/263567#M216697</guid>
      <dc:creator>leftright</dc:creator>
      <dc:date>2012-05-03T16:15:56Z</dc:date>
    </item>
  </channel>
</rss>

