![]() |
SPSFAQ SharePoint Server Frequently Asked Questions |
|
Customising SharePoint
SPSFAQ030176 - Can I customize the menu's in Sharepoint to show a dropdown menu? Thiru - 0 Comments - stephencummins - Mon, Jul 1st, 2002 - Customisation I use the drop menu at http://www.brainjar.com Then you just take out all the default navigation code found in dbview_ie.xsl.
David. SPSFAQ030175 - Is there a way to display custom properties in the search results page? Venu - 0 Comments - stephencummins - Mon, Jul 1st, 2002 - Customisation http://www.microsoft.com/sharepoint/techinfo/development/metadata.asp
Hope it helps... Sergey Radkevich SPSFAQ030174 - I am facing a urgent requirement to highlight words that have been searched in the Default SPS Search. How can I do that? Deepa - 0 Comments - stephencummins - Mon, Jul 1st, 2002 - Customisation This document written by Serge van den Oever, here's the beginning, you can download from the link below, it's in txt format.
Hit-highlighting as available with IndexServer is provided through a DLL called webhits.dll. This is an ISAPI filter that handles pages with the extension ".htw". These are ordinary HTML pages where some special tags in the form <%xxx%> are allowed and those tags are replaced with result information. The ".htw" extension seems to be an acronym for "HTML with Webhits extensions". The ".htw" pages get as parameters some values to indicate: a.. the URL of the document to do hit-highlighting on b.. the locale of the document c.. the way to format the highlighted text d.. the query itself e.. application specific parameters The webhits.dll ISAPI filter is available on a standard Windows 2000 server installation. The query is executed on the default search engine available on the operating system. This is indexserver on Windows NT4, and the Indexing Service on Windows 2000. http://www.spsfaq.com/downloads/SPS_highlight_results.txt SPSFAQ030173 - How can i upload a document into SPS web storage that would directly go into publish mode instead of checked out? Ziad - 0 Comments - stephencummins - Mon, Jul 1st, 2002 - Customisation Here's some code from the OM sample in the SDK:
' Upload a document Dim sDocumentPath As String Dim oDoc As PKMCDO.KnowledgeDocument sDocumentPath = GetEnvironmentVariable("USERPROFILE") + _ "\My Documents\Document.doc" Set oDoc = CreateDocument( _ sDocumentPath, _ sWorkspaceURL + "/documents/vehicles/document.doc", _ "urn:content-classes:vehicle") ' Set some metadata on it oDoc.Title = "Vehicle sale document" oDoc.Description = "This is a very useful document" oDoc.Categories = Array(":Vehicles") oDoc.Keywords = Array("Car", "Vehicle") oDoc.Author = GetEnvironmentVariable("USERNAME") oDoc.Property("urn:schemas-microsoft- com:office:office#VehicleType") = "Car" oDoc.Property("urn:schemas-microsoft- com:office:office#VehicleName") = "Work car" oDoc.Property("urn:schemas-microsoft- com:office:office#SaleDate") = #11/23/1999# oDoc.DataSource.Save ' Publish the document Dim oVer As PKMCDO.KnowledgeVersion Set oVer = New PKMCDO.KnowledgeVersion oVer.Checkin oDoc oVer.Publish oDoc Set oDoc = Nothing Set oVer = Nothing David Shreffler SPSFAQ030172 - Please let me know if you have any suggestions on how to extract/repopulate the search indexes? Nysket - 0 Comments - stephencummins - Mon, Jul 1st, 2002 - Customisation Try this:
http://support.microsoft.com/search/preview.aspx?scid=kb;en-us;Q297220#5 Lance Osojnicki The Catutil.exe tool lets you move search indexes. SPSFAQ030171 - How can I add a Blog to SharePoint? - 0 Comments - stephencummins - Wed, Jun 12th, 2002 - Customisation I would suggest you integrate Blogworks into a Web Part. It is ASP and XML3 based and works on IIS5. You can find out more about it here:
http://www.blogworks.com SPSFAQ030169 - How can I get a list of the coordinators from an enhanced folder using PKMCDO.KnowledgeFolder? Dave - 0 Comments - stephencummins - Mon, Jun 10th, 2002 - Customisation Here's code I've used before (for Authors, but should be the same for coordinators):
Dim docFolder As New PKMCDO.KnowledgeFolder docFolder.DataSource.Open "http://" & ServerName & "/" & WorkSpaceName, , adModeReadWrite Dim arAuthors Dim i Dim bFound As Boolean bFound = False arAuthors = docFolder.Authors 'or Reader, Coordinator For i = 0 To UBound(arAuthors) If arAuthors(i) = visitorName Then 'RoleFound Exit For End If Next i David SPSFAQ030170 - Does anyone know how to change the color of an INDIVIDUAL webpart's title bar? Dave - 0 Comments - stephencummins - Mon, Jun 10th, 2002 - Customisation This Web Part from J. Daniel Smith demonstrates how to do this:
http://www.spsfaq.com/downloads/ChangeTitleBarColor.dwp Page 15 of 24 - Jump to: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
|
|||||||||||||||||||||||||||||||||||||||||||||||||