?
Solved

custom1 and custom2 in Verity, example?

Posted on 2003-11-25
3
Medium Priority
?
323 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

Optimize your web performance

What's in the eBook?
- Full list of reasons for poor performance
- Ultimate measures to speed things up
- Primary web monitoring types
- KPIs you should be monitoring in order to increase your ROI

Question has a verified solution.

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

Periodically we have to update or add SSL certificates for customers. Depending upon your hosting plan you may be responsible for the installation and/or key generation. In the wake of Heartbleed many sites were forced to re-key. We will concen…
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 …
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…
Suggested Courses
Course of the Month12 days, 18 hours left to enroll

777 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