The following will give you a data dump of all objects of type #YourTypeID#.
This is not pretty but it is simple and effective for viewing data. The
cfa_ContentObjectGetMultiple tag when used with the TypeID attribute will
return a structure (stObjects) containing all objects of the passed type.
The TypeID attribute takes the UUID of the type you seek to retrieve. Hope
this helps get what you want.


<cfa_ContentObjectGetMultiple
        datasource="#request.cfa.objectstore.dsn#"
        typeid="#YourTypeID#"
        r_stobjects="stObjects">

<cfa_Dump var="#stObjects#">

Thank You,
Jon Cole ACP
DevTech Inc.
[EMAIL PROTECTED]
206.956.0888
Learn more about DevTech @ www.Dev-Tech.com

Never send to know for whom the bell tolls, it tolls for thee.   - John
Donne


-----Original Message-----
From: Laura McReynolds [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 01, 2001 1:40 PM
To: Spectra-Talk
Subject: Need Help With Displaying Objects


Hello -

I would like to display objects of a certain type on a page without using a
container. For example, I have an Object Type called "NewsArticle" and I
want to be able to display all objects of that type.

Is there a Spectra tag that fetches objects of a certain type? If so, what
is it and what is the best way to display the objects. I'd just like to do a
simple CFLOOP with the results.

Thanks a lot,
Laura
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
------------------------------------------------------------------------------
To Unsubscribe visit 
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/spectra_talk or send a 
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.

Reply via email to