Thanks guys, I've used getContentObjects before so I'll have a play with a few things and report back.
On Aug 26, 1:31 pm, Geoff Bowers <[email protected]> wrote: > On Thursday, August 25, 2011 10:02:28 PM UTC+10, Blair McK wrote: > > > I suspect you're after > > application.fapi.getContentObjects()<http://farcry.posterous.com/new-fapi-function-getcontentobjects> > > . > > > To get the options for each select list: > > <cfset qOptions = > > application.fapi.getContentObjects(typename="relatedType",lProperties="obje > > ctid,title",orderby="title") > > /> > > > If the related types are linked through an array property on the primary > > record, you can quickly get results with this: > > <cfset qResult = > > application.fapi.getContentObjects(typename="primaryType",aRelated_all=lSel > > ectedFilters,orderBy="title > > asc") /> > > This will return the objectid's of all records which are related to every > > selected filter objectid's. > > getContentObjects() is > magical:http://farcry.posterous.com/building-complex-queries-with-getcontento...http://farcry.posterous.com/new-fapi-function-getcontentobjects > > Such a great function. > > -- geoffhttp://www.daemon.com.au/ > skype. gb.daemon > twitter. @modius -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
