<?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: Custom fields in User Profile in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218216#M171346</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Am I asking a question here which has already been answered?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A.Thakur&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 06 Aug 2009 07:57:17 GMT</pubDate>
    <dc:creator>a_thakur</dc:creator>
    <dc:date>2009-08-06T07:57:17Z</dc:date>
    <item>
      <title>Custom fields in User Profile</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218215#M171345</link>
      <description>Hi,Currently I am trying to customize some things in Share. We are using community edition right now, despite the fact that we have access to enterprise edition, as at the moment it is a little more user friendly.In the user profiles, I would like to add a couple of fields. Like facebook link and Li</description>
      <pubDate>Tue, 04 Aug 2009 07:56:15 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218215#M171345</guid>
      <dc:creator>a_thakur</dc:creator>
      <dc:date>2009-08-04T07:56:15Z</dc:date>
    </item>
    <item>
      <title>Re: Custom fields in User Profile</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218216#M171346</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Am I asking a question here which has already been answered?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A.Thakur&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 07:57:17 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218216#M171346</guid>
      <dc:creator>a_thakur</dc:creator>
      <dc:date>2009-08-06T07:57:17Z</dc:date>
    </item>
    <item>
      <title>Re: Custom fields in User Profile</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218217#M171347</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It's definitely not pretty at the moment. You'll have to apply edits across a number of projects:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;EM&gt;Repository&lt;/EM&gt;&lt;SPAN&gt;: 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 in &lt;/SPAN&gt;&lt;STRONG&gt;contentModel.xml&lt;/STRONG&gt;&lt;SPAN&gt; (and &lt;/SPAN&gt;&lt;STRONG&gt;ContentModel.java&lt;/STRONG&gt;&lt;SPAN&gt; for completeness)&lt;/SPAN&gt;&lt;BR /&gt;&lt;EM&gt;Slingshot&lt;/EM&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;STRONG&gt;slingshot.properties&lt;/STRONG&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;my-profile.get.html.ftl&lt;/STRONG&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;user-profile.get.html.ftl&lt;/STRONG&gt;&lt;SPAN&gt;, &lt;/SPAN&gt;&lt;STRONG&gt;SlingshotUserFactory.java&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;Web-Framework&lt;/EM&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;STRONG&gt;ScriptUser.java&lt;/STRONG&gt;&lt;SPAN&gt; , &lt;/SPAN&gt;&lt;STRONG&gt;AlfrescoUserFactory.java&lt;/STRONG&gt;&lt;BR /&gt;&lt;EM&gt;Webscript-Framework&lt;/EM&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;STRONG&gt;User.java&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Search for "skype" to copy/paste existing code from that property.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;As to your next question: No, I don't know when this will be made easier.&amp;nbsp; :wink: &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 09:10:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218217#M171347</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-08-06T09:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Custom fields in User Profile</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218218#M171348</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Mike,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks a lot! I am going to experiment right away!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;A.Thakur&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;EDIT&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Besides the first 3 files, the java files and the last ftl file cannot be found through the search function (That would be user-profile.get…. and the java files)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Could that be because of v3.2? Or should they be there anyway?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 11:57:07 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218218#M171348</guid>
      <dc:creator>a_thakur</dc:creator>
      <dc:date>2009-08-06T11:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: Custom fields in User Profile</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218219#M171349</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;They've all been there since v3.0 I believe.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Mike&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Aug 2009 23:10:16 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218219#M171349</guid>
      <dc:creator>mikeh</dc:creator>
      <dc:date>2009-08-06T23:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: Custom fields in User Profile</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218220#M171350</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Besides the first 3 files, the java files and the last ftl file cannot be found through the search function (That would be user-profile.get…. and the java files)&lt;BR /&gt;Could that be because of v3.2? Or should they be there anyway?&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt;They are all there, the only one of issue is user-profile.&amp;nbsp; Do userprofile without the dash.&amp;nbsp;&amp;nbsp; See my path info below for 3.2/3.3 HEAD pathing.&amp;nbsp; That said, the odd part is I personally have three custom fields I wanted to add.&amp;nbsp; I removed the skype and&amp;nbsp; IM values physically from the display screens only, and then proceeded to add my own.&amp;nbsp; Cloned the original skype format in each of the following files:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;LI&gt;repository/config/alfresco/model/contentModel.xml&lt;/LI&gt;&lt;LI&gt;repository/source/java/org/alfresco/model/ContentModel.java&lt;/LI&gt;&lt;LI&gt;slingshot/config/alfresco/messages/slingshot.properties&lt;/LI&gt;&lt;LI&gt;slingshot/config/alfresco/site-webscripts/org/alfresco/components/dashlets/my-profile.get.html.ftl&lt;/LI&gt;&lt;LI&gt;slingshot/config/alfresco/site-webscripts/org/alfresco/components/profile/userprofile.get.html.ftl&lt;/LI&gt;&lt;LI&gt;slingshot/source/java/org/alfresco/web/site/SlingshotUserFactory.java&lt;/LI&gt;&lt;LI&gt;web-framework/source/java/org/alfresco/web/scripts/ScriptUser.java&lt;/LI&gt;&lt;LI&gt;web-framework/source/java/org/alfresco/web/site/AlfrescoUserFactory.java&lt;/LI&gt;&lt;LI&gt;webscript-framework/source/java/org/alfresco/connector/User.java&lt;/LI&gt;&lt;LI&gt;slingshot/source/web/components/console/users.js&lt;/LI&gt;&lt;BR /&gt;&lt;SPAN&gt;So for the first one I added it showed up and I did an LDAP Sync with the attribute and the value showed up on the main user's profile, on the detailed profile, and on the edit screen.&amp;nbsp; I could edit the attribute and it would save.&amp;nbsp; Of course LDAP Sync overwrote it again but not the point.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I then went on to add two more attributes under this one.&amp;nbsp; In the user's home page profile "slingshot/config/alfresco/site-webscripts/org/alfresco/components/dashlets/my-profile.get.html.ftl" the attributes show up and so do the values synced from LDAP.&amp;nbsp; On the full profile they do not show at all.&amp;nbsp; If I edit the profile the lines show to edit those fields are there, but have no value.&amp;nbsp; If I populate the values and update they do not do anything.&amp;nbsp; Any idea what's going on?&amp;nbsp; The set is essentially identical to my first one entered.&amp;nbsp; I can provide physical code examples, just didn't want to clutter up the thread if the answer was obvious.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 29 Aug 2009 02:57:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218220#M171350</guid>
      <dc:creator>jriker1</dc:creator>
      <dc:date>2009-08-29T02:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: Custom fields in User Profile</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218221#M171351</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;OK, I figured out my problem however not sure why it's the solution.&amp;nbsp; The issue was I had in my userprofile.get.html.ftl file the profile. values all in lowercase.&amp;nbsp; Changing it to say profile.employeeNumber with the capital N fixed it.&amp;nbsp; Now what is this value?&amp;nbsp; The only place that I have a capital N in employeenumber is in the LDAP directory which I didn't think mattered since the ldap-context.xml file reads&amp;nbsp; in this value and passes it on so didn't think the original case in LDAP mattered.&amp;nbsp; Any clarification on case and how to truely implement this propertly would be appreciated.&amp;nbsp; Seems there are nuances to added a field that remains a mistery.&amp;nbsp; Although I have it working, am left uncomfortable not knowing truely which it works due to one upper case letter.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Also, when adding attributes, should the contentModel.xml file be directly edited or the person contents only copied to the extensions folder and modified there?&amp;nbsp; If copied, should I just copy the entire file or only the person context?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;JR&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 30 Aug 2009 20:42:34 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218221#M171351</guid>
      <dc:creator>jriker1</dc:creator>
      <dc:date>2009-08-30T20:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: Custom fields in User Profile</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218222#M171352</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 am also want to add custom field in user profile. can anyone tell me the step in doing this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Udaya.R&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Dec 2011 06:53:59 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218222#M171352</guid>
      <dc:creator>udaya</dc:creator>
      <dc:date>2011-12-19T06:53:59Z</dc:date>
    </item>
    <item>
      <title>Re: Custom fields in User Profile</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218223#M171353</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm posting a blog on this subject next week, but if you want to look at the source code that goes with the blog post, check out:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://ecmarchitect.com/images/articles/alfresco-people/someco-people.zip" rel="nofollow noopener noreferrer"&gt;http://ecmarchitect.com/images/articles/alfresco-people/someco-people.zip&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jeff&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 Feb 2012 22:58:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/custom-fields-in-user-profile/m-p/218223#M171353</guid>
      <dc:creator>jpotts</dc:creator>
      <dc:date>2012-02-20T22:58:40Z</dc:date>
    </item>
  </channel>
</rss>

