cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple/Batch/Mass update controls for content metadata?

dwilson
Champ in-the-making
Champ in-the-making
Quick question- Are there multiple content update controls for meta data built in to the admin interface?  I would like to be able to implement a mass change on some of my custom model meta data fields along with mass updates to categorization on certain data subsets.

(I'm running Alfresco 2.9B with a few thousand pieces of content.)

Thanks! Smiley Happy
-Dave
3 REPLIES 3

zaizi
Champ in-the-making
Champ in-the-making
No. There is no Admin UI to do this.

The easiest way to do this is to write a simple java script to search for the content and update the metadata. Upload this to the Data Dictionary and just run it.

dwilson
Champ in-the-making
Champ in-the-making
Thanks for the reply!  I was afraid that was the answer so had already started coding a test script.

I've created code in PHP to do just what you mention, though I notice Lucene defaults to returning only 1000 nodes in the query results even though I'm only searching attributes and not querying full text.  (Perhaps this is only a limitation of the SOAP layer in PHP and not Java?)

I see the full text configuration here:  http://wiki.alfresco.com/wiki/Full-Text_Search_Configuration .  It doesn't seem like it, but If this is what is limiting my result set, what is a safe setting for the max returned nodes?  1000 isn't really enough in my case unless I go to the trouble of breaking up the batches.

Thanks,
Dave

zaizi
Champ in-the-making
Champ in-the-making
Lucene by default returns only 1000 results after doing permission checks. This can be configured and ignored for specific searches. See this thread http://forums.alfresco.com/en/viewtopic.php?f=6&t=13381.

1000 is set so that search results are returned quickly to the user. In your use case, you can turn this off.