Take the 2-minute tour ×
Tridion Stack Exchange is a question and answer site for Tridion developers and administrators. It's 100% free, no registration required.

We can update a Virtual (search) Folder's name, description, and metadata in the Content Manager Explorer.

We can also change the search parameters (example below) in the Source tab.

<SearchFolder xmlns="http://www.tridion.com/ContentManager/5.1/SearchFolder" xmlns:xlink="http://www.w3.org/1999/xlink">
    <GeneralParameters>
        <SearchQuery>TV</SearchQuery>
        <SearchIn xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="tcm:0-1-1" Recursive="true"></SearchIn>
    </GeneralParameters>
    <AdvancedParameters>
        <ItemTypes>
            <ItemType>16</ItemType>
        </ItemTypes>
        <Modified>
            <LastDays>1</LastDays>
        </Modified>
        <NumberOfItems>50</NumberOfItems>
    </AdvancedParameters>
</SearchFolder>

How do we change these parameters without updating the XML?

share|improve this question

1 Answer 1

up vote 7 down vote accepted

By selecting an existing Virtual Folder and conducting a new Advanced Search, the CME will prompt you with a Modal pop-up to optionally update or save a new Virtual Search folder.

Update virtual folder

I didn't realize this was possible and accidentally found this feature while updating training materials. :-)

share|improve this answer
    
Nice share Alvin. –  Pankaj Gaur Aug 9 at 1:37
    
I didn't know about that. Does it put the existing values in the Advanced Search fields? Otherwise, it might be more reliable to stick with the XML if you're only tweaking one thing. –  Dominic Cronin Aug 9 at 8:54
    
You could have checked too, but good question. :-) Yes, when you click on the Virtual Folder it runs the query and then choosing Show Advanced Search will show the Virtual Folder's specific search parameters. Saving a new search for a Virtual Folder will even update the source XML (and take you to the Virtual Folder) even if the Virtual Folder is open. –  Alvin Reyes Aug 10 at 6:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.