Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

custom1 and custom2 in Verity, example?

Posted on 2003-11-25
3
Medium Priority
?
328 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 35

Accepted Solution

by:
mrichmon earned 500 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

Understanding Web Applications

Without even knowing it, most of us are using web applications on a daily basis. Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We often confuse these web applications tools for websites.  So, what is the difference?

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

610 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