<?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: To implement &amp;quot;d:noderef&amp;quot; datatype in a property. in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/to-implement-quot-d-noderef-quot-datatype-in-a-property/m-p/116296#M32220</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/79876"&gt;@dhrumilgosaliya&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/74498"&gt;@abhinavmishra14&lt;/A&gt;&amp;nbsp;correct me if I'm wrong, but if you want to create a custom property, which will be set by the user in the "Edit Properties" box, then it should not have the "d:noderef" type. Form data will be passed as String to the FormProcessor so it will be a "d:text". However, you can freely keep NodeRef value as String so it's not a big problem &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Oct 2022 16:33:21 GMT</pubDate>
    <dc:creator>upforsin</dc:creator>
    <dc:date>2022-10-06T16:33:21Z</dc:date>
    <item>
      <title>To implement "d:noderef" datatype in a property.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/to-implement-quot-d-noderef-quot-datatype-in-a-property/m-p/116294#M32218</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I have to implement "d:noderef" datatype in a model. I have done this till now in one aspect.&lt;/P&gt;&lt;PRE&gt;&lt;SPAN class="kw"&gt;&amp;lt;property&lt;/SPAN&gt;&lt;SPAN class="ot"&gt; name=&lt;/SPAN&gt;&lt;SPAN class="st"&gt;"sc:abc"&lt;/SPAN&gt;&lt;SPAN class="kw"&gt;&amp;gt;&lt;/SPAN&gt;
                    &lt;SPAN class="kw"&gt;&amp;lt;type&amp;gt;&lt;/SPAN&gt;d:noderef&lt;SPAN class="kw"&gt;&amp;lt;/type&amp;gt;&lt;/SPAN&gt;
                    &lt;SPAN class="kw"&gt;&amp;lt;mandatory&amp;gt;&lt;/SPAN&gt;true&lt;SPAN class="kw"&gt;&amp;lt;/mandatory&amp;gt;&lt;/SPAN&gt;
                    &lt;SPAN class="kw"&gt;&amp;lt;multiple&amp;gt;&lt;/SPAN&gt;true&lt;SPAN class="kw"&gt;&amp;lt;/multiple&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN class="kw"&gt;&amp;lt;/property&amp;gt;&lt;/SPAN&gt;   &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;And when I try to add this aspect on a file it shows "could not update aspect".&lt;/P&gt;&lt;P&gt;Please help to solve the problem.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Dhrumil&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 14:09:55 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/to-implement-quot-d-noderef-quot-datatype-in-a-property/m-p/116294#M32218</guid>
      <dc:creator>dhrumilgosaliya</dc:creator>
      <dc:date>2020-05-25T14:09:55Z</dc:date>
    </item>
    <item>
      <title>Re: To implement "d:noderef" datatype in a property.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/to-implement-quot-d-noderef-quot-datatype-in-a-property/m-p/116295#M32219</link>
      <description>&lt;P&gt;Please share the whole aspect details and error. With partial info can't tell what could be wrong.&lt;/P&gt;
&lt;P&gt;Have a look at this sample aspect as to how to configure a property with d:noderef&lt;/P&gt;
&lt;PRE&gt;&amp;lt;aspect name="demo:referenceable"&amp;gt;
	&amp;lt;title&amp;gt;Referenceable&amp;lt;/title&amp;gt;
	&amp;lt;description&amp;gt;Referenceable&amp;lt;/description&amp;gt;
	&amp;lt;properties&amp;gt;
		&amp;lt;property name="demo:reference"&amp;gt;
			&amp;lt;title&amp;gt;Reference&amp;lt;/title&amp;gt;
			&amp;lt;description&amp;gt;Reference node between a and b&amp;lt;/description&amp;gt;
			&amp;lt;type&amp;gt;d:noderef&amp;lt;/type&amp;gt;&lt;BR /&gt;                        &amp;lt;mandatory&amp;gt;true&amp;lt;/mandatory&amp;gt;&lt;BR /&gt;                        &amp;lt;multiple&amp;gt;false&amp;lt;/multiple&amp;gt;
		&amp;lt;/property&amp;gt;
	&amp;lt;/properties&amp;gt;
&amp;lt;/aspect&amp;gt;&lt;/PRE&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Mon, 25 May 2020 18:14:57 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/to-implement-quot-d-noderef-quot-datatype-in-a-property/m-p/116295#M32219</guid>
      <dc:creator>abhinavmishra14</dc:creator>
      <dc:date>2020-05-25T18:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: To implement "d:noderef" datatype in a property.</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/to-implement-quot-d-noderef-quot-datatype-in-a-property/m-p/116296#M32220</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/79876"&gt;@dhrumilgosaliya&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;let&amp;nbsp;&lt;A href="https://migration33.stage.lithium.com/t5/user/viewprofilepage/user-id/74498"&gt;@abhinavmishra14&lt;/A&gt;&amp;nbsp;correct me if I'm wrong, but if you want to create a custom property, which will be set by the user in the "Edit Properties" box, then it should not have the "d:noderef" type. Form data will be passed as String to the FormProcessor so it will be a "d:text". However, you can freely keep NodeRef value as String so it's not a big problem &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Oct 2022 16:33:21 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/to-implement-quot-d-noderef-quot-datatype-in-a-property/m-p/116296#M32220</guid>
      <dc:creator>upforsin</dc:creator>
      <dc:date>2022-10-06T16:33:21Z</dc:date>
    </item>
  </channel>
</rss>

