On Fri, 2009-02-27 at 18:09 +0100, Matteo Pelucco wrote: > Jan Haderka ha scritto: > > > > Search the archives. it was definitively discussed here before. > > > > Jan > > Discussed yes, but I didn't found any solution...
I'm sure it was mentioned, but I'm also too lazy to search for that myself :D > I can retrieve all not activated content *Metadata* with this query: > > SELECT * FROM nt:base WHERE mgnl:activated like 'false' > > But how can I get node 1 level up? The query is fine. The "trick" is in the result item type. If you set it to "mgnl:content" you will get what you want. result.getContent(ItemType.CONTENT.getSystemName()); Cheers, Jan ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
