To implement "d:noderef" datatype in a property.

cancel
Showing results for 
Search instead for 
Did you mean: 
Member II

To implement "d:noderef" datatype in a property.

Hello All,

I have to implement "d:noderef" datatype in a model. I have done this till now in one aspect.

<property name="sc:abc">
                    <type>d:noderef</type>
                    <mandatory>true</mandatory>
                    <multiple>true</multiple>
</property>

 And when I try to add this aspect on a file it shows "could not update aspect".

Please help to solve the problem.

 

Thanks,

Dhrumil

1 Reply
Highlighted
Moderator
Moderator

Re: To implement "d:noderef" datatype in a property.

Please share the whole aspect details and error. With partial info can't tell what could be wrong.

Have a look at this sample aspect as to how to configure a property with d:noderef

<aspect name="demo:referenceable">
	<title>Referenceable</title>
	<description>Referenceable</description>
	<properties>
		<property name="demo:reference">
			<title>Reference</title>
			<description>Reference node between a and b</description>
			<type>d:noderef</type>
<mandatory>true</mandatory>
<multiple>false</multiple> </property> </properties> </aspect>

Hope this helps.