Hi Daniel, I don't have any working hippo install available right now, but isnt the path already a property? If not, you can probably use an extractor to set the property on the document. And have you looked into wildcard searches using dav:like?
cheers, Paul > Date: Fri, 17 Sep 2010 09:17:06 +0200 > From: [email protected] > To: [email protected] > Subject: [HippoCMS-dev] Document path as property > > Hello everyone, > > I have some questions that I hope someone could help me with. > > 1. Is it possible to extract document path and add it as a property ? > > 2. Or maybe there is some other solution to my problem. I have > following folder structure: > - location1 > - office1 > - employee1 > - employee2 > ... > - office2 > - employee3 > ... > - location2 > - office1 > - employee4 > - employee5 > ... > - office2 > ... > ... > How could I perform a dasl search to return all employees from e.g. > office1 (regardless of location) ? "office1" has the same name in all > locations. > My idea was to extract parts of the path, location and office, and add > them as a property to employee document, then the dasl would be very > simple, but I'm not sure that is feasible. > > Any help would be appreciated. > Thanks in advance. > > Kind regards, > Daniel Stevanovic > ******************************************** > Hippocms-dev: Hippo CMS 6 development public mailinglist > > Searchable archives can be found at: > MarkMail: http://hippocms-dev.markmail.org > Nabble: http://www.nabble.com/Hippo-CMS-f26633.html > ******************************************** Hippocms-dev: Hippo CMS 6 development public mailinglist Searchable archives can be found at: MarkMail: http://hippocms-dev.markmail.org Nabble: http://www.nabble.com/Hippo-CMS-f26633.html
