Solved

custom1 and custom2 in Verity, example?

Posted on 2003-11-25
3
305 Views
Last Modified: 2013-12-24
Hello, I am just wondering if someone can provide an example for using custom1/custom2 in cfindex verity? Macromedia should really enhance the manual, it's far from enough to figure out the way to use it...

What I am trying to do is to return the datelastmodified of the search result..

Thank you.
0
Comment
Question by:lyrix1999
3 Comments
 
LVL 35

Accepted Solution

by:
mrichmon earned 125 total points
ID: 10864433
Here is an example from the Cold Fusion Web Application Construction Kit:

<cfquery datasource="ows" name=GetResults">
SELECT MerchID, MerchName, MerchDescription, FilmID FROM Merchandise
</cfquery>

<cfindex action="refresh" collection="Merchandise" type="custom" key="MerchID" title="MerchName" Query="GetResults" Body="MerchName,MerchDescription" custom1="FilmID">

Then later you can use the filmID to create a link to a page that displays the film info.

In your case as long as you have the datelastmodified available then you can just insert that into the custom1 field.

Does this help or were you looking for something else?
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Have you ever sent email via ColdFusion and thought of tracking this mail to capture the exact date and time when the message was opened ?  If yes, then this article is for you ! First we need a table user_email with columns user_id , email , sub…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now