1 Reply Latest reply on May 10, 2007 3:17 PM by insuractive

    CFsearch as datasource

    Syzzle Inc
      Is there a way to turn CFsearch results into a dynamic datasource that can be easily used with Spry datasets? I would like to return a CFsearch result into a Spry table, but am having a mental block on the possible solution. I've thought of creating a static XML page from search results, but that sounds clunky. Any ideas out there?

        • 1. Re: CFsearch as datasource
          insuractive Level 3
          From the documentation it seems like you should be able to use <cfcollection action="list"> in conjunction with some code that converts a CF recordset into XML (I've seen some custom tags floating around that do that). You'll just have to make sure you format the XML in a way that will work with Spry (Spry doesn't play well with too many nested elements).