Has anybody else had some real problems deleting collection entries under
CFMX?

Maybe I'm doing something wrong but this is my insert code:

<cfquery name="qry_verity_pages_select" datasource="#request.site.MainDSN#"
dbtype="#request.site.mainDSNtype#">
        SELECT
                P.PAGE_ID,
                P.TITLE,
                P.PAGETEXT,
                P.CONTEXT,
                P.SUMMARY,
                P.BUTTONTEXT,
                P.URL,
                P.METADATA
                FROM CMS_PAGES P

</cfquery>
<cfindex action="UPDATE" collection="#request.site.siteidentifier#"
key="page_id" type="CUSTOM" title="page" query="qry_verity_pages_select"
body="TITLE,SUMMARY,PAGETEXT,CONTEXT,BUTTONTEXT,URL,METADATA">

Should I want to delete one of the pages within the collection, I assume I
have to :
<cfindex action="delete" collection="#request.site.siteidentifier#"
key="11">

where 11 is the page_id I wish to delete. (This is based on hitting Ctrl+f5
on cfindex in Dreamweaver MX.

This simply does not work.

Please note that updating is not an issue. I can happily update specific key
entries.

Adam



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
This list and all House of Fusion resources hosted by CFHosting.com. The place for 
dependable ColdFusion Hosting.

Reply via email to