The MDPicker is -supposed- to be updating the collection when it needs to.
As you can see, the code does a check first to make sure you actually
changed something. It only runs the update if you added or removed a
keyword.
One thing to bare in mind, there is a bug in the tag that allows you to
assign a category. Since Spectra does not allow you to assign cats to
objects, when you click on a cat and hit assign, nothing happens. (There
used to be a JavaScript block for that.)
Anyway, if thats NOT what your doing, let me know and I'll work with you
personally to see what's up.
=======================================================================
Raymond Camden, Cold Fusion Jedi Master for Syntegra (www.syntegra.com)
Allaire Certified Instructor and Member of Team Allaire
Email : [EMAIL PROTECTED]
ICQ UIN : 3679482
"My ally is the Force, and a powerful ally it is." - Yoda
> -----Original Message-----
> From: Boudewijn de Ru [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 13, 2000 6:01 AM
> To: [EMAIL PROTECTED]
> Subject: Is cfa_metadatapicker updating collections correctly?
>
>
> This is a multi-part message in MIME format.
>
> ------=_NextPart_000_006E_01BFECB9.91743440
> Content-Type: text/plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
> Hi All,
>
> When we're assigning keywords to contentobjects via cfa_metadatapciker, =
> the site will not allways show us the correct content. After a =
> cfa_metadataindexall it does.
>
> Looking at the code of the tag I find:
>
> <CFIF ListLen(StructKeyList(keywordAdd)) OR =
> ListLen(StructKeyList(keywordDel))>
> <!--- Reindexes the collection --->
> <CFA_MetaDataIndexUpdate DataSource=3D"#Attributes.DataSource#" =
> lObjectIDs=3D"#Attributes.ObjectID#">
> <!--- Tell the GUI to update --->
> <CFSET RESET =3D TRUE>
> <CFELSE>
> <CFSET RESET =3D FALSE>
> </CFIF>
>
> So I guess it should update the collection if needed. Is there a known =
> problem as far as you know?
> Should we update manually after the tag? Could this be caused by some =
> unwanted caching mechanism.
>
> Regards, Boudewijn
>
> ------=_NextPart_000_006E_01BFECB9.91743440
> Content-Type: text/html;
> charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
>
------------------------------------------------------------------------------
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.