cancel
Showing results for 
Search instead for 
Did you mean: 

existing property changed to hold multiple values

romschn
Star Collaborator
Star Collaborator
Hi,

I have a property defined in my content model as a text. The declaration is as below.

         <property name="custom:bookTitle">
             <title>Book Title</title>
             <type>d:text</type>
        </property>

Deploying the current content model, around 1000 records have been created. I am running a scheduler which will update the value for book title for around 50 records out of 1000 records.

Now, I need to make a change in the content model and make this property to hold multiple values. Hence, the declaration has changed as below.

         <property name="custom:bookTitle">
             <title>Book Title</title>
             <type>d:text</type>
             [b] <multiple>true</multiple> [/b]
        </property>
After making above change and after deploying it, I ran the scheduler and now my 50 records are holding the multiple values.

I just wanted to verify that, if we make any existing property to hold multiple values, it will not affect/impact the records previously created. i.e in my case all my other contents created will have no impact after allowing the property to hold multiple values?

Could anyone please confirm on this.

Thanks,
2 REPLIES 2

mitpatoliya
Star Collaborator
Star Collaborator
As far as I know unless you do the full reindexing It will not affect your earlier contents.
Means the contents created before the model changes will be having the single value only.
But if you do the full reindexing it will apply this multivalued property all the contents.

Will there be any other impact of this on alfresco repository or share?