<?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 Trying to map people type with data model in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-map-people-type-with-data-model/m-p/6460#M3139</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm trying to map people type variable with data Entity Model, I have created CustomDataModelService to process the data based on assignee in people type field.my service is executing fine and returning all model attibutes value but the object or mapped variable that I have taken for assignee variable is empty.I tried same taking a text form field from form field to data model mapping property which is running fine but I'm facing challenge mapping assignee field (people) with data model.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can any body help me with the situation?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 13 Feb 2017 08:06:33 GMT</pubDate>
    <dc:creator>dharamjeet</dc:creator>
    <dc:date>2017-02-13T08:06:33Z</dc:date>
    <item>
      <title>Trying to map people type with data model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-map-people-type-with-data-model/m-p/6460#M3139</link>
      <description>I'm trying to map people type variable with data Entity Model, I have created CustomDataModelService to process the data based on assignee in people type field.my service is executing fine and returning all model attibutes value but the object or mapped variable that I have taken for assignee variab</description>
      <pubDate>Mon, 13 Feb 2017 08:06:33 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trying-to-map-people-type-with-data-model/m-p/6460#M3139</guid>
      <dc:creator>dharamjeet</dc:creator>
      <dc:date>2017-02-13T08:06:33Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to map people type with data model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-map-people-type-with-data-model/m-p/6461#M3140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp;&lt;B&gt;Dharamjeet Singh&lt;/B&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;but the object or mapped variable that I have taken for assignee variable is empty&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please provide more details such as unit test.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Thong&lt;/P&gt;&lt;P&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 13 Feb 2017 16:11:32 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trying-to-map-people-type-with-data-model/m-p/6461#M3140</guid>
      <dc:creator>thuynh</dc:creator>
      <dc:date>2017-02-13T16:11:32Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to map people type with data model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-map-people-type-with-data-model/m-p/6462#M3141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;IMG alt="" class="image-1 jive-image j-img-original" src="/legacyfs/online/alfresco/12404_assingee mapping.PNG" style="width: 620px; height: 358px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-2 jive-image j-img-original" src="/legacyfs/online/alfresco/12405_start form.PNG" style="width: 620px; height: 301px;" /&gt;&lt;IMG alt="" class="image-3 jive-image j-img-original" src="/legacyfs/online/alfresco/12406_assigee mapping to permission.PNG" style="width: 620px; height: 349px;" /&gt;&lt;/P&gt;&lt;P&gt;From the above three images you will find that I have taken a start form which has two fields in it , assignee and assignee id.&lt;/P&gt;&lt;P&gt;Now you see I have configured form field to data mapping , with 'assignee Id' &amp;nbsp;form field. but there is no way I can find to map my model with 'assignee' which i want to achieve.&lt;/P&gt;&lt;P&gt;Here you see I have defined a mapped variable name through which I can access my model attributes.&amp;nbsp;I&amp;nbsp;&lt;SPAN&gt;configured form field to data mapping , with 'assignee Id' and In this way I am able to access all model attributes values through 'custom' variable. but here problem is I have to manually insert the assignee or user Id in the text field which is not way it should work.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;To map with assignee I tried &amp;nbsp;other way through process variable , so what I did is I created a process variable with the name 'assignee'.&lt;IMG alt="" class="image-4 jive-image j-img-original" src="https://connect.hyland.com/legacyfs/online/alfresco/12407_process.PNG" style="width: 620px; height: 399px;" /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;so here I stepped to variables and created one like -&lt;/P&gt;&lt;P&gt;&lt;IMG alt="" class="image-5 jive-image j-img-original" src="/legacyfs/online/alfresco/12408_map variable.PNG" style="width: 620px; height: 462px;" /&gt;&lt;/P&gt;&lt;P&gt;when configuring data model like this, execution reaches my customDatamodelService with&amp;nbsp;&amp;nbsp;field value assignee Id and returns the data as in previous case, but custom attributes values I'm getting are empty.&lt;/P&gt;&lt;P&gt;I hope its clear to you now what I really want to achieve.I need help on this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 14 Feb 2017 14:32:27 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trying-to-map-people-type-with-data-model/m-p/6462#M3141</guid>
      <dc:creator>dharamjeet</dc:creator>
      <dc:date>2017-02-14T14:32:27Z</dc:date>
    </item>
    <item>
      <title>Re: Trying to map people type with data model</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/trying-to-map-people-type-with-data-model/m-p/6463#M3142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Thanks for a long answer but I'm afraid I'm still not getting your problem statement. Sorry.&lt;/P&gt;&lt;P&gt;Is this your main issue?&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;but there is no way I can find to map my model with 'assignee' which i want to achieve.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;Do you mean you&amp;nbsp;can't map non-primitive variable to your forms? I believe 'assignee' is a complex data model that you have defined?&lt;/SPAN&gt;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;SPAN&gt;when configuring data model like this, execution reaches my customDatamodelService with&amp;nbsp;&amp;nbsp;field value assignee Id and returns the data as in previous case, but custom attributes values I'm getting are empty.&lt;/SPAN&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;You gotta have some running code and stack trace right? Could you extract your problematic code to a unit test and share it so everybody can really see your problems?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;Thong&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #727174; background-color: #ffffff;"&gt;&lt;SPAN&gt;&lt;A href="https://migration33.stage.lithium.com/t5/tag/bp3/tg-p"&gt;&lt;/A&gt;‌&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Feb 2017 16:39:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/trying-to-map-people-type-with-data-model/m-p/6463#M3142</guid>
      <dc:creator>thuynh</dc:creator>
      <dc:date>2017-02-15T16:39:23Z</dc:date>
    </item>
  </channel>
</rss>

