Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SharePoint > SharePoint Development
|
SharePoint Development Programming and development for SharePoint Portal Server and Windows SharePoint Services
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SharePoint Development section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 25th, 2008, 07:06 AM
Registered User
 
Join Date: Jun 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default custom metadatas and pdf format

I'm using this code to search documents using FullTextSqlQuery:

strQueryText = "SELECT ID, workid, write, size,TitleDoc FROM SCOPE() WHERE \"scope\"='centredoc' AND isdocument=1 AND FileExtension<>'ASPX' AND StatusDoc<>2"

FullTextSqlQuery FRequest = new FullTextSqlQuery(ServerContext.Current);

            FRequest.QueryText = strQueryText;
            FRequest.ResultTypes |= ResultType.RelevantResults;
            ResultTableCollection resultTbls = FRequest.Execute();

- ID, workid, write and size : antive fields

- TitleDoc: a property mapped to a custom field[ this custom field inhirt from SPFieldText.

When i execute this code:

 -For doc and ppt documents i get all métadatas.

- For pdf documents only TitleDoc is always empty. Did this problem occur for u? can u help me to fix it?

thank u







Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting gridview to pdf format priyan.viji C# 2005 0 December 12th, 2007 06:30 AM
Report generated in PDF format Prasanth BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 0 March 15th, 2005 10:40 PM
Printing reports in pdf format keshavan01 Access VBA 5 January 27th, 2005 12:21 PM
Export in PDF Format MER78 BOOK: Professional SQL Server Reporting Services ISBN: 0-7645-6878-7 1 October 9th, 2004 11:43 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.