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.

Can you add a folder and all of its contents to a bundle? It looks like when you insert a folder into a bundle only the folder is added, not all the items under it. We have a complicated folder structure and I'd rather not go thru each folder & add all the contents.

Thanks

share|improve this question

2 Answers 2

up vote 4 down vote accepted

You could do this by performing an Advanced Search on the parent Folder, and then adding all of the results to your bundle.

If you just want Components, and not sub-Folders, then you can filter these out using the Types Advanced Search option to just return Components.

The setting that you probably want are:

  • Searching term: *
  • Also search in sub-sections: Ticked
  • Content type: Components
  • Number of results: All

You may want to look at my blog post from earlier in the year about Publishing Tridion Folders - Only instead of publishing the results of the search, you will want to add them to you Bundle.

share|improve this answer
    
Thanks, this worked very well. –  Mr Smith Aug 20 at 16:43

I guess the easiest - from an editor's point of view - would be to use the Event System to "grab" the components whenever a folder is added to a bundle. Could become tricky if you ever want to actually include just the folder.

The BundleSaveEventArgs events have a property named "ItemsAdded" (and "ItemsRemoved"), so you could use this to figure out when to kick in and add more items to the Bundle.

share|improve this answer

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.