Re: Custom Content Type struggles..

West <[email protected]>
Newsgroups gmane.comp.cms.farcry.devel
Message-ID <[email protected]>
Thanks AJ, that worked.  I was able to get at the data.   I will look 
through that CFC as well, those methods seem very helpful...

Thanks!

On Tuesday, January 22, 2013 7:57:12 PM UTC-8, AJ Mercer wrote:
>
> 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]<javascript:>
> > 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]<javascript:>
>> > 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: farcr...-/[email protected] <javascript:>
>> To unsubscribe, email: farcry-dev+...-/[email protected] <javascript:>
>> 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: farcry-dev-/[email protected]
To unsubscribe, email: farcry-dev+unsubscribe-/[email protected]
For more options: http://groups.google.com/group/farcry-dev
--------------------------------
Follow us on Twitter: http://twitter.com/farcry
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.