Solved

custom1 and custom2 in Verity, example?

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
file too large for website 6 67
how can I backup my incomplete website from hostgator? 3 59
PHP in Apache server 20 88
Domino Website - Redirection 12 46
Article by: kevp75
Hey folks, 'bout time for me to come around with a little tip. Thanks to IIS 7.5 Extensions and Microsoft (well... really Windows 8, and IIS 8 I guess...), we can now prime our Application Pools, when IIS starts. Now, though it would be nice t…
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…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
A short film showing how OnPage and Connectwise integration works.

932 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

13 Experts available now in Live!

Get 1:1 Help Now