Ok. The documentation for it is not clear, but the error messages were
helpful enough to figure out the formatting. If you're just tuning in, this
is the formatting required for altering the cfa_contentObjectFind filter
structure.
-----
stFilters.stSearchable = structNew();
stFilters.stSearchable.bactive = 1;
stFilters.stSearchable.aProperties = ArrayNew(1);
stFilters.stSearchable.aProperties[1].stAttr = StructNew();
stFilters.stSearchable.aProperties[1].stAttr.name = 'attr_approved';
stFilters.stSearchable.aProperties[1].stAttr.value = 1;
-
Nate Smith,
Lead Developer
[EMAIL PROTECTED]
www.doceus.com
-----Original Message-----
From: Raymond Camden [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 16, 2001 11:16 AM
To: Spectra-Talk
Subject: RE: Filtering cfa_objectFinder
I don't believe your doing it right. The root key of stFilter should either
be one of the 'features' of coFind, like dtCreatedAfter, or a searchable
prop. So it would be stFilter.myProperty, not stFilter.stSearchable.
Try that perhaps?
=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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.