Solved

custom1 and custom2 in Verity, example?

Posted on 2003-11-25
3
309 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Most ColdFusion developers get confused between the CFSet, Duplicate, and Structcopy methods of copying a Structure, especially which one to use when. This Article will explain the differences in the approaches with examples; therefore, after readin…
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 video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

776 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