Thanks to a Sezai post I have managed to add a custom property to our Advanced Search web part but I'm having trouble with two other items.
Firstly, scope. I have enabled the Scope Picker but it only displays All Sites and not the custom scopes I've defined in Central Admin. Neither do these scopes appear in the default search dropdown. Secondly, does anyone know how to add another document type e.g., PDF to the Advanced Search result type filter? I added the following to the XML which provides PDF document in the dropdown but doesn't actually work. Do these types need to be defined somewhere else? <ResultType DisplayName="PDF Documents" Name="pdfdocuments"> <Query>FileExtension='pdf'</Query> <PropertyRef Name="Category" /> <PropertyRef Name="Author" /> <PropertyRef Name="DocComments"/> <PropertyRef Name="Description" /> <PropertyRef Name="DocKeywords"/> <PropertyRef Name="FileName" /> <PropertyRef Name="Size" /> <PropertyRef Name="DocSubject"/> <PropertyRef Name="Path" /> <PropertyRef Name="Created" /> <PropertyRef Name="Write" /> <PropertyRef Name="CreatedBy" /> <PropertyRef Name="ModifiedBy" /> <PropertyRef Name="Title"/> <PropertyRef Name="Manager" /> <PropertyRef Name="Company"/> </ResultType> Kind regards, Paul ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com
