<?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 User details selected from authority.ftl not saving in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/user-details-selected-from-authority-ftl-not-saving/m-p/300979#M254109</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;SPAN&gt;I'm very new to Alfresco development. Recently done some tutorials on Alfresco customisation (JPotts) and bought the Alfresco Dev Book. My issue though doesn't appear to be covered in there.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I want to add a property to my custom model who is a user of Alfresco. The end game is to assign a simple workflow to them in script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So, the user name added has to be constrained to a user in the system. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have tried modeling it like &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;property name="kpcc&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;assedTo"&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;type&amp;gt;d:text&amp;lt;/type&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;constraints&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;constraint ref="cm:userNameConstraint" /&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;/constraints&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/property&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;lt;/blockcode&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;then in my share custom file, I have used the authority.ftl form component. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The edit form shows fine, and I can use the user picker to select a user. This also is shown in the edit form when the picker closes. However, when the form is saved, the value isn't retained.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Is there a better way to model this? I was thinking cm&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;erson but don't really know how to go with that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Conrad&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 Oct 2013 08:44:09 GMT</pubDate>
    <dc:creator>radder5</dc:creator>
    <dc:date>2013-10-25T08:44:09Z</dc:date>
    <item>
      <title>User details selected from authority.ftl not saving</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/user-details-selected-from-authority-ftl-not-saving/m-p/300979#M254109</link>
      <description>Hi,I'm very new to Alfresco development. Recently done some tutorials on Alfresco customisation (JPotts) and bought the Alfresco Dev Book. My issue though doesn't appear to be covered in there.I want to add a property to my custom model who is a user of Alfresco. The end game is to assign a simple w</description>
      <pubDate>Fri, 25 Oct 2013 08:44:09 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/user-details-selected-from-authority-ftl-not-saving/m-p/300979#M254109</guid>
      <dc:creator>radder5</dc:creator>
      <dc:date>2013-10-25T08:44:09Z</dc:date>
    </item>
    <item>
      <title>Re: User details selected from authority.ftl not saving</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/user-details-selected-from-authority-ftl-not-saving/m-p/300980#M254110</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am having the same problem listed above in the original post. I would be very interested in seeing the answer to this.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bruce Henderson&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 23 Apr 2014 19:59:35 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/user-details-selected-from-authority-ftl-not-saving/m-p/300980#M254110</guid>
      <dc:creator>bhenderson</dc:creator>
      <dc:date>2014-04-23T19:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: User details selected from authority.ftl not saving</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/user-details-selected-from-authority-ftl-not-saving/m-p/300981#M254111</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi, I resolved this in a different way that originally intended in my opening post. I used an autocomplete field that looked up to the users api. Not a complete fail safe as it isn't constrained to only these users so if the person doing the data entry is stupid enough to type someone in who isn't in the list then the workflow doesn't work. The intention of the field is clearly to assign it to someone so the training is such that it has to be someone in the lookup list.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can let you know more details of how I did this autocomplete field if you need it.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Apr 2014 06:32:00 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/user-details-selected-from-authority-ftl-not-saving/m-p/300981#M254111</guid>
      <dc:creator>radder5</dc:creator>
      <dc:date>2014-04-24T06:32:00Z</dc:date>
    </item>
  </channel>
</rss>

