try
<cfset qNews =
application.fapi.getContentObjects(typename="dmNews",publishdate_lt=now(),expirydate_gt=now(),orderby="publishdate
desc") />
have a look at core/farcry/packages/lib/fapi.cfc
it is full of goodies
http://farcry.posterous.com/new-fapi-function-getcontentobjects
On 23 January 2013 11:43, Malik Robinson <[email protected]> wrote:
> Ok, this is helping a bit I think. So I created my rule and in my
> "execute.cfm" file I added the line you mentioned:
>
>
> <cfset stObj =
> application.fapi.getContentObject(form.selectedobjectid,"thistype") />
>
> This allowed me to see the data I want, the problem is this only returns
> one record. I want to return all the records that are in this table. When
> I deployed my custom content type it created a table in db. I have 5 or so
> records that I added in the webtop, so I'm trying to now figure out how to
> return them all versus just one.
>
> I'm assuming this can be done too?
>
>
>
>
>
> On Tue, Jan 22, 2013 at 5:11 PM, AJ Mercer <[email protected]> wrote:
>
>> <cfset stObj =
>> application.fapi.getContentObject(form.selectedobjectid,"thistype") />
>>
>
>
> --
> 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
>
>
>
--
*AJ Mercer*
<webonix:net strength="Industrial" /> <http://webonix.net> | <webonix:org
community="Open" /> <http://webonix.org>
http://twitter.com/webonix
Railo Community Manager <http://www.getrailo.org/index.cfm/community/team/>
--
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