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="objectid,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=lSelectedFilters,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-getcontentobjec
http://farcry.posterous.com/new-fapi-function-getcontentobjects

Such a great function.

-- geoff
http://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

Reply via email to