<?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: Add displayName attribute to a custom field with username value. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/add-displayname-attribute-to-a-custom-field-with-username-value/m-p/84401#M25737</link>
    <description>&lt;P&gt;&lt;SPAN&gt;Hi Sanjay,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The API&amp;nbsp; is - /alfresco/api/-default-/public/alfresco/versions/1/nodes/{nodeId}/children&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I see this reponse when a locked document node is loaded in the documentlist, and have posted this as just an example of how I would want my custom property to be added in the response.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 10:24:14 GMT</pubDate>
    <dc:creator>monikap</dc:creator>
    <dc:date>2020-09-29T10:24:14Z</dc:date>
    <item>
      <title>Add displayName attribute to a custom field with username value.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/add-displayname-attribute-to-a-custom-field-with-username-value/m-p/84399#M25735</link>
      <description>&lt;P&gt;I can see the custom properties in Node API response, but I want to add a custom attribute to my property (which stores username as value), with user displayName and userName, like we can see for field "cm:lockOwner" as in the screenshot below:&lt;/P&gt;&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="cmLockOwner.png" style="width: 200px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="image"&gt;&lt;img src="https://connect.hyland.com/t5/image/serverpage/image-id/852i8CECC4B681937F5C/image-size/large?v=v2&amp;amp;px=999" role="button" title="image" alt="image" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Could anyone please suggest a way to do this?&lt;/P&gt;&lt;P&gt;Thanks already!&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 06:26:22 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/add-displayname-attribute-to-a-custom-field-with-username-value/m-p/84399#M25735</guid>
      <dc:creator>monikap</dc:creator>
      <dc:date>2020-09-29T06:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: Add displayName attribute to a custom field with username value.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/add-displayname-attribute-to-a-custom-field-with-username-value/m-p/84400#M25736</link>
      <description>&lt;P&gt;Can you post which api is this?&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:44:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/add-displayname-attribute-to-a-custom-field-with-username-value/m-p/84400#M25736</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2020-09-29T08:44:55Z</dc:date>
    </item>
    <item>
      <title>Re: Add displayName attribute to a custom field with username value.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/add-displayname-attribute-to-a-custom-field-with-username-value/m-p/84401#M25737</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Sanjay,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The API&amp;nbsp; is - /alfresco/api/-default-/public/alfresco/versions/1/nodes/{nodeId}/children&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I see this reponse when a locked document node is loaded in the documentlist, and have posted this as just an example of how I would want my custom property to be added in the response.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 10:24:14 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/add-displayname-attribute-to-a-custom-field-with-username-value/m-p/84401#M25737</guid>
      <dc:creator>monikap</dc:creator>
      <dc:date>2020-09-29T10:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Add displayName attribute to a custom field with username value.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/add-displayname-attribute-to-a-custom-field-with-username-value/m-p/84402#M25738</link>
      <description>&lt;P&gt;First thing you can do is override existing api.&lt;/P&gt;&lt;P&gt;Second way is you can create your own webscript and return required properties only.You can create custom api 2 ways.&lt;/P&gt;&lt;P&gt;1)Using webscript(&lt;A href="https://docs.alfresco.com/5.2/references/dev-extension-points-webscripts.html" target="_blank" rel="nofollow noopener noreferrer"&gt;https://docs.alfresco.com/5.2/references/dev-extension-points-webscripts.html&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;2)Same as API-Explorer providing(&lt;A href="https://github.com/covolution/quick-api" target="_blank" rel="nofollow noopener noreferrer"&gt;https://github.com/covolution/quick-api&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;I would suggest to create custom webscript and use that because you have control over that webscipt for modify.&lt;/P&gt;&lt;P&gt;if you override existing webscript then it may impact where it is already used.&lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 06:10:36 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/add-displayname-attribute-to-a-custom-field-with-username-value/m-p/84402#M25738</guid>
      <dc:creator>sp2</dc:creator>
      <dc:date>2020-09-30T06:10:36Z</dc:date>
    </item>
  </channel>
</rss>

