Changing document icons in search results

Hello,
Can someone please tell me how to replace the document icons like pdf and doc that come up in the search results.I looked around in item and display templates but could not locate that item result part.All i want is to use a different icon for some result
types.
Thanks

Refer 
http://social.technet.microsoft.com/Forums/en-US/4020b371-e051-4ad8-bc25-080039d743e7/change-search-result-icon-based-on-scope?forum=sharepointdevelopmentprevious 
Hope this helps, thanks 
Regards,
Pratik Vyas | SharePoint Consultant |
http://sharepointpratik.blogspot.com
Posting is provided AS IS with no warranties, and confers no rights
Please remember to click Mark As Answer if a post solves your problem or
Vote As Helpful if it was useful.

Similar Messages

  • What setting do I need to change to have a search result file (pdf. or whatever) open instead of automatically download?

    Firefox downloads files automatically when opening a opening a search result. What setting do I need to change to have the search result file (pdf. or whatever) open instead? Something changed yesterday and I lost the ability to open the files vs. download.
    == This happened ==
    Every time Firefox opened
    == July 7, 2010

    Hello,
    Normally, when I use my online account, when i select a document to open with excel or with adobe, the applicaiton installed on the PC, is used to open the files.
    Can you check the under control panel, default programs, and see what program  is associated to the PDF files?
    When you try to open one of those pdf files from your back, what happens?
    If you download them to the HDD, are they automatically associated to ADOBE?
    Thanks,
    I work for HP! Please remember to provide and if this helped click ON

  • How do I change color of hyperlink search results in WebHelp Pro?

    I'm trying to figure out how to change the color of search result hyperlinks when using WebHelp Pro in RH8. The links currently are vibrant blue and purple after clicked on. I can't find anywhere in the style sheet or in the skin editor options to define this. Any help would be greatly appreciated.

    In your .css file, use something like the following; the "A:" would be your default link, and the "A.topic:" would be a different class of link (we use it for some in-topic navigation links). Note that the order in which the qualifiers appear is important. Follow the LoVeHate method (Link, Visited, Hover).
    Feel free to try it and use your own combinations (you might not want the expanded letter-spacing, for example). We also reversed the underline format from the default html (none for link and visited, underline for hover).
    A:link,
    A:visited {
    color: #0000CD;
    letter-spacing: 0.25pt;
    text-decoration: none;
    A:hover {
    color: #000080;
    letter-spacing: 0.25pt;
    text-decoration: underline;
    You would add the class=topic qualifier to your links for this class of link (a class=topic href="targettopic.htm")
    A.topic:link,
    A.topic:visited {
    color: #0000CD;
    font-size: 8pt;
    font-weight: normal;
    margin-left: 10px;
    margin-top: 0pt;
    margin-bottom: 0pt;
    letter-spacing: 0.25pt;
    text-decoration: none;
    A.topic:hover {
    color: #000080;
    font-size: 8pt;
    font-weight: normal;
    letter-spacing: 0.25pt;
    margin-top: 0pt;
    margin-bottom: 0pt;
    margin-left: 10px;
    text-decoration: underline;
    Good luck,
    Leon

  • Change the colour of search result highlight?

    Hi i am wondering 2 things. Firstly, why the default colour that a search result is highlighted in is a strange medium-dark blue, and secondly why there is no option to change it.
    Its really hard to see any search result on almost any document, and its common knowledge that almost all documents in general have black text.
    I thought the main purpose of any search tool anywhere in the world was to save time trying to find a word amongst hundreds or thousands of other words.
    I guess adobe with their millions of dollars and experienced team weren't able to think of this.

    Click calendars at the bottom of the page the click on the i symbol for info and then you can select the colour you'd like.

  • The way SharePoint open office documents will differ if the user try to open them from the document library directly, or if users try to open the document from the search result page.

    I have a document library where I have uploaded an excel sheet to it. Now If I click on the excel sheet directly from the document library page , I will get the following error ““The webpage cannot be displayed””. While if I do a search and I open the excel
    sheet from the search result page , it will open the excel sheet using the excel services inside the browser !!.
    So can anyone advice on this ?
    Also if I have a PowerPoint document , and I try to open it from the document library I will get the following error “The webpage cannot be displayed” , and the URL will be prefix with the following “ms-powerpoint:ofv|u|”. while if i do a search and i open
    the PowerPoint from the search result page i will be prompted to either open or save the document ? So why SharePoint is reacting totally different when trying to open document library items from the document library Or from the search result page?

    Hi,
    The behavior in the document library could be probably because of the Documents handling setting. Please try setting it to default behavior (Open in browser) as i hear from you that the default behavior is to open from browser.
    Thanks, Suneetha
    Currently I have set the following;-
    1. On the library advance setting :- I define  “Open in the client application”
    2. On the web application setting:- I define stricked for Browser File Handling
    And I have noted if I delete the browser cache and I access the document , then I will be prompted with the download dialog. but if I re-click on the same document I will be redirected to the
    The webpage cannot be displayed
    And the ms-powerpoint:ofv|u| will be added to the beginning of the URL. So could this be a caching problem ?

  • Retrieving the Full Path of the Document / Folder in Search results

    Hello,
    We have a custom portlet to perform search in knowledge directory. We are able to retrieve the results from knowledge directory and would like to know on one enhancement feature.
    Would like to know if it is possible to retrieve the directory structure / path of the document / folder. Something like "\Knowledge Directory\Customer Service\...." I have seen this path come up in search results when using Portal Admin. Not sure if it is available when using the idk.dll
    Below is a sample code in C#. Would you know if there is a way I can retrieve the directory strcuture. If so, what method would give me that value? I tried GetURL, but that gives me the URL of the document http://portal/.....as compared to the path.
    ===== 
    using Plumtree.Remote.Portlet; 
    using Plumtree.Remote.PRC; 
    using Plumtree.Remote.PRC.Search;
    //Establishing Session with Portal
    IRemoteSession session = RemoteSessionFactory.GetExplicitLoginContext(new Uri(portletPortalAPIPref), username, password);
    ISearchFactory searchFactory = session.GetSearchFactory();
    searchRequest = searchFactory.CreatePortalSearchRequest();
    searchRequest.SetQuery(txtSearchText.Text);
                //Setting up the Search Parameters – Objects to Search, Order By, Number of Results
      ObjectClass[] objectTypes = { ObjectClass.Document, ObjectClass.DocumentFolder };
      searchRequest.SetObjectTypesToSearch(objectTypes);
       searchRequest.SetResultsOrderBy(PlumtreeField.NAME);
       searchRequest.SetOrderAscending(true);
      searchRequest.SetResultsCount(0, RecordCount);
    //Executing the Search
    searchResponse = searchRequest.Execute();
    resultSet = searchResponse.GetResultSet();
      //iterate through the results
    IEnumerator resultsfolder = resultSet.GetResults();
    while (resultsfolder.MoveNext())
                        IPortalSearchResult result = (IPortalSearchResult)resultsfolder.Current;
    Convert.ToString(result.GetRank() + 1);
    result.GetIconURL().ToString();
    result.GetURL().ToString();
    result.GetName().ToString();
    result.GetExcerpt().ToString();
    result.GetLastModified().ToString();
    result.GetClassID().ToString();
    result.GetObjectID().ToString();

    Have you tried getting the extended data and the Parent Folder ID. (Plumtree.Remote.PRC.IExtendedData)
    Using an additional object search to get the Path for the Parent Folder ID.
    Here is a snippet that may help
    Plumtree.Remote.PRC.IObjectManager objectManager = session.GetObjectManager(Plumtree.Remote.PRC.ObjectClass.<your class to return>);
    Plumtree.Remote.PRC.IObjectQueryRow qResults = objectManager.QuerySingleObject(<id of object to return>);
    if (qResults != null)
        Plumtree.Remote.PRC.IExtendedData ied = qResults.GetExtendedData();
        if (ied != null)
           sResult =  ied.GetStringValue(<property you want to return>);

  • Change default ordering for search results?

    Hi,
    I have just switched to using Mail.
    It seems the search results are always ordered by rank as default, but usually I have some intuition about when the message was sent so for me it would be great if there was a way to have results ordered by date by default. Is this possible, perhaps with a plugin or applicescript?
    Thanks

    If you enable highlighting, the box the end user has is selected by default and you cannot change that. If you want that option added in a future version, submit a feature request.
    http://www.Adobe.com/cfusion/mmform/index.cfm?name=wishform&product=38
    See www.grainge.org for RoboHelp and Authoring tips

  • Change Document Icons

    For some reason all of my web related files (html, php, css) have all had there icons changed when viewing from dialog boxes. In the finder they look fine but in other applications and dialog boxes they have all changed to Adobe GoLive style icons.
    GoLive has not been recently changed and its not my default application for these file type - BBEdit is.
    Does anyone know of a quick fix to get my icons changed back to the BBEdit style or the original Mac OS X style.
    Thanks

    Hi Mike:
    I might be telling you to chase rainbows.
    I am running OS X 10.6, so there may be a disconnect.
    However, when I open my document folder, the folders are blue, but individual documents are a white icon with something like doc at the bottom. I consider this "normal," but we may be talking about different things...
    Barry
    Barry

  • Change the number of search results per page

    Hello Guru's
    In the PC UI when you have searched for e.g. a Business Partner and their 20 results. The results are shown as 5 per page.
    Does anyone knows if this number is changeble? I want to see 10 results per page.
    Thanks in advance!
    Joost Goduriaan

    This can be donw through blueprint table configuration change.This change can be done in 2 ways, one is at blueprint application level and other one is through user personalization.
    If you change it at blueprint table application level it effects other users also who uses this application.
    To do this go to CRMC_BLKUEPRINT -> Application Element -> FieldGroup,under this select  ACC_SRES_01_V1 and scroll towards right to see the property No  Lines SRES.
    This value determines the no of lines on a result list page.
    Second change could be done on PCUI application in the browser after launching it.Click the settings hypher link next to Advanced Search Button,there you see the setting for it.Change it to personalize the application layout per user.
    Thanks,
    Thirumala.

  • Change document icons during Document Refresh

    I'm working with a custom crawler, and one of the things I do is give the document a special (a.k.a "non-default") icon based on one of the property values. During the document refresh, if this property value has changed I would like the icon to change accordingly. It's not working this way right now, though. Does anyone have any thoughts on how I could make this happen? In the 4.5 world I just ran a script against the database and changed it that way, but I would like to find a more elegant solution. Thanks!

    1. SPD cannot do what you want OOTB.
    2. You need to code.
    3. You can code inside the workflow to set the permissions you want at the end of the approval process or you can code it as an eventhandler outside the workflow process. Assuming that you are using SPD, that means creating a 'custom activity' to be called by your SPD workflow.
    4. You can find code for setting 'item level permissions' and the way to create 'custom activity' on the net.

  • Search results not returning file names correctly

    Have an onsite SharePoint Server 2010 Enterprise that contains a number of documents in a document library all containing the word "south" in their title. When a search is run with the keyword "south" all 3 files are shown in the results but only one displays
    the correct title. The other 2 display alternate text (in this case the company name). The links all 3 results are correct, however the title of results is incorrect for 2 out of the 3.
    I have duplicated these results using Office 365 and another on site SharePoint 2010 server.
    I have duplicated these results converting the documents to DOCX format under Word 2007 and Word 2010.
    Obviously, this is an issue with the files, however any ideas where to start looking to uncover where the SharePoint Server is pulling the information from? 
    In the end I need all 3 results to display the current name of the files it finds, not simply some random text with the files from 2 out of 3 of the results.
    Thanks
    Robert Crane
    www.ciaops.com 

    Could it be because of this?
    Pasted from here:
    http://bpostutor.com/post/Hidden-SharePoint-2010-Feature-Changes-Document-Titles-in-Search-Results.aspx
    Hidden SharePoint 2010 Feature Changes Document Titles in Search Results
    SharePoint 2010 has a interesting feature which you may not know about.  It's called Optimistic Title.  It's part of the Office Search engine within SharePoint.  What it does is determine a new, hopefully more relevant title for your documents
    to be displayed in your search results based on document properties or the actual contents of the document (i.e. Text within the file).  As you might expect this is closely tied to the Office document formats such as Word, PowerPoint, Excel, OneNote,
    and Visio.  Your end users may report that the titles that they see for search results differ greatly from the file name or the actual title of the document.  This is particularly evident with PowerPoint files where the name of the first slide
    is often used. The behavior is not entirely predictable.  Different results can be expected from Office 2007 and Office 2010 created files and even those created in earlier versions of Microsoft Office. 
    If you want to change this functionality you need to actually go and edit the registry on your Search role server(s) within your SharePoint farm, restart the osearch14 service and then do a full crawl.  The key you want to modify is the EnableOptimisticTitleOverride.
    The default setting is 1. Change it to 0 to disable the feature.

  • SharePoint search results not showing padlock to document icon

    Hi,
    We have an application in which we have activated In place record management. this feature gives us possibility to make documents as records.
    As now when we search that document, we can able to search that document but in search results we will not have padlock attached to document icon.
    can we configure such in search results?
    Thanks,
    Heerak

    I have seen a similar post from you. You can take a look at the following thread:
    http://social.technet.microsoft.com/Forums/en-US/5119f31a-0a4c-42dd-b62f-d746a8b820ab/search-results-for-records-in-sharepoint?forum=sharepointgeneral
    I would suggest you to open only single thread for single issue. You can discuss your problem in above thread only.
    Thank you for your understanding and support.
    Thanks,
    Jason
    Jason Guo
    TechNet Community Support

  • SEARCH RESULTS NOT SHOWING THE NAME OF DOCUMENT

    When I search for a document on the top level, the results in my case are relevant but they do not display the document name, meaning I have to go into the document to check if it is the one I'm looking for. For some reason the name of the file is displayed
    in results as the first line of the document. I use a document template for letters meaning that the search results gives as list of documents that all have the same name displayed. This renders the search function almost useless as all the results are showing
    the same name. Is there a way to change the results page to display the name of the document??

    Hi,
    Based on your description, my understanding is that you want to show search results by document name instead of the Title.
    Here are two links about how to show document name in search results, you can use as a reference:
    http://chris.gg/2011/06/display-filename-instead-of-document-title-in-sharepoint-search/
    http://social.technet.microsoft.com/Forums/en-US/966db1b2-3288-4a31-8c98-19bf0dfc1316/show-search-results-by-document-name-not-by-title?forum=sharepointgeneralprevious
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • Web Template with document icon in result row

    Hi All,
    I have a web template created in WAD 7.0.
    It has Analysis item with a Query as dataprovider.I have checked the "Document Icons for Data" to On in the cell content section of Analysis Item.
    In query property also,Document link for infoprovider option is checked.
    It is displaying the document icon in data cells correctly wherever comment is entered.But it also displays document icon in the result row cells.
    I do not want to display the document icon in the result row cells.
    Please help in this regard.
    Thanks.

    Have you considered creating and using query views?

  • I DON'T SEE THE NORTON SAFE ICON IN FIREFOX SEARCH RESULTS. i i DO WITH GOOGLE CHROME.

    Missing Norton's icon from search results.

    If you check your extensions list, is the Norton add-on installed and enabled?
    orange Firefox button ''or'' classic Tools menu > Add-ons > Extensions category
    Norton add-ons generally are updated within days of each major Firefox release. If you haven't gotten an update recently, you might check for that.
    http://updatecenter.norton.com/

Maybe you are looking for

  • PDF Form Field calculates AVERAGE incorrectly

    I have a PDF Form field that is set to calculate the AVERAGE of 4 other fields. Each of those other fields has its validation set to allow only the values 1 through 3. The Average field is dividing the total by 4 even if a person only fills out 2 of

  • Sony bravia internet

    Hi, for almost a year i was geting videos on my tv using dongle(wifi adapter for sony). Few days ago it stopped. TV can't get signal from a router any more. I tried to reset, new setup. Nothing works. If anyone has similar problem. Thanks  Solved! Go

  • Windows 8 Blurry/Fuzzy Text

    Hi everyone, I recently installed Windows 8 and i noticed that the screen puts a lot of strain on my eyes compared to Windows 7. It seems like the screen/text is blurry/fuzzy a bit putting strain on my eyes. It is not as crisp as it was in Windows 7.

  • Internet connection, have 2

    when I want to get on the net I see 2 internet connections, and I remember there use to be only 1 and it use to ask me for pass word, now there is one with secured conn. with my last name and then there is one that is unsecured and anyone can hook up

  • When using suggestedItems or LOV (on the same field) I get " Graph nodes cannot be sorted due to a cycle in the graph."

    Hi. I am on Jdev 11g R2 I have a atribute in the VO with LOV attached. And also another attribute in the same LOV with is dependant to the first LOV. It means when I choose LOV on the first attribute the second LOV uses the chosen value, I droped the