Discussion:
Custom Columns not showing up.
(too old to reply)
Jim
2006-11-28 17:56:33 UTC
Permalink
I have created a custom column that I would like to use in the result
set that I am returning to the user.

In my .idq file I have added this section:
***************************
[Names]
#Properties that are not in the standard list
MetaDescription(DBTYPE_WSTR) = D1B5D3F0-C0B3-11CF-9A92-00A0C908DBF1
"MetaDescription"
***************************

And this in the query section:
***************************
iColumns=filename, size, Characterization, vpath, DocTitle, DocSubject,
write, MetaDescription
***************************

In my .htx file I am trying to access the custom MetaDescription column
like this:
***************************
<td><%MetaDescription%></td>
***************************

In my .html page I have added this META tag:
**************************
<meta name="MetaDescription" content="QWERTY">
**************************


When I search, I find the page, but my column that should contain the
metadescription is blank. When I look at the Catalog properties of the
Indexing Service, I do see a property titled "MetaDescription". I went
into the properties of this and checked "cached". The datatype is set
to VT_LPWSTR. Is there anything I am missing or is there an easier
way of doing this?

Thanks in advnace for any assistance!
Jim
2006-11-30 20:17:54 UTC
Permalink
Post by Jim
I have created a custom column that I would like to use in the result
set that I am returning to the user.
***************************
[Names]
#Properties that are not in the standard list
MetaDescription(DBTYPE_WSTR) = D1B5D3F0-C0B3-11CF-9A92-00A0C908DBF1
"MetaDescription"
***************************
***************************
iColumns=filename, size, Characterization, vpath, DocTitle, DocSubject,
write, MetaDescription
***************************
In my .htx file I am trying to access the custom MetaDescription column
***************************
<td><%MetaDescription%></td>
***************************
**************************
<meta name="MetaDescription" content="QWERTY">
**************************
When I search, I find the page, but my column that should contain the
metadescription is blank. When I look at the Catalog properties of the
Indexing Service, I do see a property titled "MetaDescription". I went
into the properties of this and checked "cached". The datatype is set
to VT_LPWSTR. Is there anything I am missing or is there an easier
way of doing this?
Thanks in advnace for any assistance!
Just a follow up as I seem to have corrected my problem.
Interestingly enough, when I removed the quotes from around
"Metadescription" in the Names section of my .idq file and then
rescanned the catalog it started working.
All the documentation I have seen includes quotes around the friendly
name but I guess that was the problem.

Loading...