cancel
Showing results for 
Search instead for 
Did you mean: 

Lucene Query

lakshmi
Champ in-the-making
Champ in-the-making
Hi,
I am writing a scheduled action to move content based on cm:to property to another space under company home.

I would like to know as to how i can get reference to a space namely Archive under my company home space.

To access company home i use :

<key>
                        <value>destination-folder</value>
                    </key>
                    <value>${selectSingleNode('workspace://SpacesStore', 'lucene', 'PATH:"/app:company_home/' )}</value>

To access a space inside company home space..??

It should be simple, i think but am not aware so someone plz help me out.

Thanks in advance
1 REPLY 1

lakshmi
Champ in-the-making
Champ in-the-making
Hi,

Finally i went through the Search API, forum and found out the way to access the spaces
Reference link: http://wiki.alfresco.com/wiki/Search#Finding_nodes_by_text_property_values

Here the name of my space is 'Sample Archive'
<entry>
                    <key>
                        <value>destination-folder</value>
                    </key>
                    <value>${selectSingleNode('workspace://SpacesStore', 'lucene', 'PATH:"//cm:sample_x0020_Archive"')}</value>
                </entry>