Well, I assume you don't really mean, "Find an object assigned to a
hierarchy." I assume you mean, "Find an object assigned either a keyword or
a category from a hierarchy." You gotta get your terminology correct first.
:) If your talking about keywords, then this is no problem. By default if
you search for a keyword, it will search all hierarchies (that are defined
in your db). So, if your object had T.V. assigned to it from multiplie
hiearchies, you wouldn't need to worry.

However - categories are IDs, and are unique. So if you had two TV
categories, they would have two IDs. You could get around this by doing a
category search and passing _both_ TV category IDs.

Does tht help?

=======================================================================
Raymond Camden, Principal Spectra Compliance Engineer for Macromedia

Email   : [EMAIL PROTECTED]
ICQ UIN : 3679482

"My ally is the Force, and a powerful ally it is." - Yoda

> -----Original Message-----
> From: Pankaj Singh [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 07, 2001 10:32 AM
> To: Spectra-Talk
> Subject: Finding objects common to two hierarchies
>
>
> Hi all,
>
>
>           I have some objects assigned to two hierarchies. Is
> there any tag
> in spectra which would get me the objects which are assigned to both
> hierachies??
>
>   say for e.g. I have an object T.V. and two hierarchies namely "Home
> Appliances" and "Electronics".  T.V. is assigned to both of them.
> There are
> many more objects like T.V. which have been assigned to "Home Appliances"
> and "Electronics". How do I find these objects ? Is there any
> Spectra tag ?
> I am working on Spectra 1.0.1.
>


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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