Hi Alan,
I did read the documentation, but everything seems to be done in cfscript
and it's not all that clear how to do it the way I'm doing using the tag.
So.. let's try this again. How would I write this tag? Here's what I
derived from the documentation.
<cfindex
action="update"
collection="my_collection"
type="custom"
key="#key#"
title="#title#"
urlPath=""
body="#variables# #other_variables#"
category ="#category_name#"
custom1 = "#date_created#"
custom2 = "#user_url#"
custom3 = ""
custom4 = ""
custommap = {user_url = "#user_url#"}
\ >
but that throws an error. ideas?
On Wed, Nov 23, 2011 at 12:37 PM, Alan Williamson (aw2.0 cloud experts) <
[email protected]> wrote:
> suspect you haven't gone to the documentation ... should always be your
> first port of call on any "stump" ness you get
>
> http://openbd.org/manual/?/**tag/CFINDEX<http://openbd.org/manual/?/tag/CFINDEX>
>
> and there is also:
> http://openbd.org/manual/?/**search<http://openbd.org/manual/?/search>
>
> look at the custommap attribte
>
> Jason Allen wrote:
>
>> Hi Guys,
>>
>> I'm a bit confused on how to use custom columns with the new cfindex/
>> cfcollection functionality in 2.0
>>
>> How do I declare the new columns? I was thinking I'd just name them
>> whatever I wanted in the cfindex tag, but that's not working for me.
>>
>> Stumped. Any ideas on how to declare and use this new feature?
>>
>>
> --
> online documentation: http://openbd.org/manual/
> google+ hints/tips:
> https://plus.google.com/**115990347459711259462<https://plus.google.com/115990347459711259462>
>
> http://groups.google.com/**group/openbd?hl=en<http://groups.google.com/group/openbd?hl=en>
>
--
online documentation: http://openbd.org/manual/
google+ hints/tips: https://plus.google.com/115990347459711259462
http://groups.google.com/group/openbd?hl=en