Bypass content-based format detection so I can use a custom iFilter in Sharepoint 2013 Search

Can I get SharePoint 2013 Search to bypass the content-based format detection and use the file extension to determine the format (and therefore the format handler so that I can use a customer iFilter)?
We have a proprietary file format which uses xml, and we use a specific filename extension to indicate the type of file.  We have a custom iFilter to parse the file, because we only want some of the content to be indexed.  The iFilter works with
Windows Search.  I’m now trying to use our custom iFilter to search the same files with SharePoint 2013.  SharePoint 2013 Search appears to determine a file’s format from its content and not from its file extension (I have confirmed this by changing
the extensions of .docx and .txt files).  SharePoint 2013 search appears to use the built-in XML format handler to index our proprietary files.  Can I get SharePoint 2013 Search to bypass the content-based format detection and use the file extension
to determine the format (and therefore the format handler)?  I think SharePoint 2010 may allow this, but I can’t find out if/how it is done in SharePoint 2013.
I understand that built-in format handlers can’t be replaced by custom iFilters, but I don’t want to replace the XML format handler for .xml files.  

Hi jeh271,
quite interesting, because as i know iPersistStream should be installed when you need to use ifilter when using windows search.
just curious, if you also restart the spsearchhostcontroller?
as i know the search should have the content-based format,we cant bypass it, if we bypass it, then it may broke.
i saw some thread about this before:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/944e6878-a7f0-4c0e-98b7-a7fb9faeef1b/bcs-connector-and-mimetypefield
ifilter example:
http://msdn.microsoft.com/en-us/library/hh694268(v=office.14).aspx
last time i did this, seems similar issue:
• The custom iFilter is working in SP 2010 but when we followed the same process of registering the iFilter in SP 2013, it was not working.
• So, we knew that we were some missing some extra step in registering the filter in SP 2013.
• Finally, we involved the Product group and we found out that we need to run an extra PowerShell commandlet apart from following the steps to register it in SP 2010 (given in this link:- http://msdn.microsoft.com/en-us/library/hh694268(v=office.14).aspx )
• We ran the commandlet described here in this article http://technet.microsoft.com/en-us/library/jj219556.aspx.
• The New-SPEnterpriseSearchFileFormat cmdlet adds a new file format and a corresponding file name extension to the search parsing system. This binds the file format to a filter-based format handler in the search parsing system. Thus, the search parsing system can only parse the new file format if the user has installed a corresponding filter-based format handler, an IFilter, for the new file format. If the installed IFilter registers more than one file name extension, the user must use the New-SPEnterpriseSearchFileFormat cmdlet to add a new file format to the parsing system for each of these file name extensions. The user must also ensure that the file name extension of the new file format is a member of the file-type inclusion list. The file-type inclusion list specifies which files that are crawled, based on their file name extensions. The system will only consider the new file format after a restart of the content processing components
• The example for our scenario would be something like this:-
New-SPEnterpriseSearchFileFormat -SearchApplication $ssa -FormatId dwg -FormatName DWGFiles -MimeType application/dwg
• Then, we restarted the SharePoint Search Host controller service on the machine where you have installed the iFilter and this resolved our issue and we were able to successfully search with .dwg files using the custom iFilter.
i am not quite sure if search treating your file as an XML file, if it is true, perhaps you can check this xmlmapper:http://msdn.microsoft.com/en-us/library/ff795813(v=office.14).aspx
Regards,
Aries
Microsoft Online Community Support
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

Similar Messages

  • TS1702 I have ePub documents that won't open using iBooks, how can i get them formatted so that I can use them

    I have ePub documents that won't open using iBooks, how can i get them formatted so that I can use them

    You could try downloading a program called Calibre.  It is very good at converting files between formats.  I use it all the time to convert PDF's from work to read on iTunes when I don't want to have to keep zooming in and out to read the actual text. 
    I know that iBooks will read PDF's but they can get pretty squashed down some times. Especially if the original font was small to begin with.  So I run them through Calibre and then email them to my phone and open them in iBooks. 

  • I've used Project Web App on Sharepoint 2013. After clear job queue about force check-in then I've got this error. This made me can't access some pages in PWA anymore e.g. Project center, Resoure center, PWA setting, etc.

    I've used Project Web App on Sharepoint 2013. After clear job queue about force check-in then I've got this error. This made me can't access some pages in PWA anymore e.g. Project center, Resoure center, PWA setting, etc.  Who have ever found this problem,
    pls. help.
    The pop up error msg. is "Sorry, you don't have access to this page"

    Hi,
    According to your description, after you cleared job queue about force check-in then you can't access some pages in PWA.
    Maybe you need to check in the pages which has been checked out.
    If you have administrative rights, it is possible to override the check-out via the View All Site Content page:
    Site Actions->View All Site Content->Pages->Hover the item you want to check in, and from the context-menu (arrow-down next to the filename), choose "Discard Check Out"
    Besides, to troubleshooting the error “Sorry, you don't have access to this page”, refer to the following articles:
    http://sharepoint.rackspace.com/sharepoint-2013-troubleshooting-an-access-issue-with-a-custom-master-page
    http://technet.microsoft.com/en-us/library/ff758656(v=office.15).aspx
    In addition, as this issue is related to project server, I suggest you create a new thread on project server, more experts will assist you:
    https://social.technet.microsoft.com/Forums/projectserver/en-US/home?category=project
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • How to make SharePoint 2013 search only in document content?

    We are using SharePoint 2013 environment and are facing following issue while doing search in the document library.
     There is  one document library named “MYDOC” .and it has two columns name ‘DocTitle’ and ‘DocTag’.. Although we are able to perform search on basis of document metadata and content, however we only want to search through the content of documents
    in the library and not on the basis of document metadata (like ‘DocTitle’ or ‘DocTag’ columns). Is there a way to restrict search to document content only and not metadata?
    Excluding the column name will not help since, if the searched keyword is exists in metadata as well then that item of library will not come in result. Is there any way of writing query in such a way that only document content will get queried?
    -Aditya

    Addition to the above,
    Show or hide content from lists or libraries in search results
    As a site owner, you can decide whether items in lists and libraries on your site are included in search results. By default every list and library is set to include all items in search results.
     Note    To change this setting, you must have the Manage Lists permission level. The Designer and “Site Name” Owner groups contain this permission level. When you do not have Manage Lists permissions, the menus
    described in this procedure are not available.
    Navigate to the site that contains the list or library that you want to change.
    Locate and click the list or library you want to customize.
    Click Site Actions, and then click Site Settings.
    Under Site Administration, click Site Libraries and lists.
    Click an item from the list, for example, Customize “Shared Documents.”
    On the List Settings page, under General Settings, click
    Advanced settings.
    In the Search section, under Allow items from this document library to appear in search results, select
    Yes to include all of the items in the list or library in search result or
    No to exclude all items from search results.
    http://office.microsoft.com/en-in/sharepoint-server-help/enable-content-to-be-searchable-HA010379092.aspx

  • Can't edit/modify webparts in SharePoint 2013

    Hi there,
    I am the administrator of a SharePoint 2013 site.
    I am currently customising a main /customers site to aggregate info from all sub-sites I will create under it.
    First step I did was to remove the default webparts included with the default Team Site template.
    What I am trying to do now is add a sitemap webpart to the main page of the /customers site that will allow users to select a customer from the list of sub-sites.
    The issue I am experiencing however is that no matter which web part I add, I simply can't seem to be able to edit it. I can add/remove webparts but I can't change their title and set their properties, or add content to them.
    I wasn't responsible for the deployment of this SP site so I am at a loss here. Could someone please advise?
    Regards,
    P.

    I am not getting any errors at all and I am using IE 11.
    The site is acting as if the issue I am experiencing is 'by design' -- as if I have permissions to add and remove webparts, but not to edit them!

  • How to delete Content Source in Sharepoint 2013 Search Service

    I want to delete Default Content Source in Search
    Service in SharePoint 2013 but delete button is disable?Please see the below image. Content Source Type=SharePoint Sites
    How to do it?
    If In Content Source type=Files than delete button enables but
    not for the Content Source type=Sharepoint sites
    Vishal Goyal

    Hi,
    try to remove it using powershell
    $searchapp = Get-SPEnterpriseSearchServiceApplication "NameofSearchAPp"
    Remove-SPEnterpriseSearchCrawlContentSource -SearchApplication $searchapp -Identity "Name"\Regards
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

  • Can't open Excel files from Sharepoint 2013

    I am having an issue with opening Excel files from SharePoint 2013. If I click on an excel file it comes up with the error below.
    If I click Try again I get the message below also:
    If I try to open Word or PDF files they open correctly in the appropriate client and I have the option of checking them out and editing them. Any ideas why this would only be happening to Excel files?
    Thanks,
    Shaun

    Hi Shaun,
    I understand that the Excel files cannot be opened from SharePoint in Microsoft Excel.
    Can these files be viewed in the browser?
    I recommend to download a copy of the files with issue and then open them in Excel to see if the issue still occurs.
    If above cannot work, I recommend to repair Office.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • I can't insert access application to sharepoint 2013

    When i try to insert access aplication to my sharepoint 2013 site - it start to add but in the middle i get error "Sorry, there was a problem when adding the app. Click to try again" and it doesn't work why? thanks in advanced Limor

    Hi limlim1975,
    Based on your description, it seems the Access Service not configured properly in SharePoint 2013.
    I suggest you follow the steps below to make sure the Access Service has been configured properly:
    1. Configure Isolated App Domain.
    2. Configure SQL Server 2012 for Access Services 2013.
    3. Configure Access Services 2013 in SharePoint Central Administration->Manage Server.
    Here is  a detailed article for your reference:
    Configuring Access Services 2013 on Premises
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • Can't Turn off debugging in SharePoint 2013 ULS!

    I have started a thread in another user forum here: http://sharepoint.stackexchange.com/questions/101773/how-to-determine-if-sharepoint-is-in-debug-mode 
    Essentially I have followed the steps outlined here http://msdn.microsoft.com/en-us/library/ee231550.aspx to turn off debug output in the ULS.  I have checked each web.config
    in each webapp of the farm, on each server in the farm, to ensure that callstack=false, customErrors mode=On and that compilation debug=false.  I have performed IISReset and server restarts.
    I see many messages in ULS that either have DEBUG within the message or "Write Debug Scope Start event..." and "Write Debug Scope End event..."
    Do I need to perform some special 'redeployment' from within VS12?  I would think an IISReset would do the trick after changing the web.config  ?
     

    http://technet.microsoft.com/en-us/library/ee748656%28v=office.15%29.aspx#section2
    In Central Administration, on the home page, click Monitoring.
    On the Monitoring page, in the Reporting section, click
    Configure diagnostic logging.
    On the Diagnostic Logging page, in the Event Throttling section, configure event throttling as follows:
    To configure event throttling for all categories:
    Select the All Categories check box.
    Select the event log level from the Least critical event to report to the event log list.
    Select the trace log level from the Least critical event to report to the trace log list.
    To configure event throttling for one or more categories:
    Select the check boxes of the categories that you want.
    Select the event log level from the Least critical event to report to the event log list.
    Select the trace log level from the Least critical event to report to the trace log list.
    To configure event throttling for one or more subcategories (you can expand one or more categories and select any subcategory):
    Click the plus (+) next to the category to expand the category.
    Select the check box of the subcategory.
    Select the event log level from the Least critical event to report to the event log list.
    Select the trace log level from the Least critical event to report to the trace log list.
    To return event throttling for all categories to default settings:
    Select the All Categories check box.
    Select Reset to default from the Least critical event to report to the event log list.
    Select Reset to default from the Least critical event to report to the trace log list.
    In the Event Log Flood Protection section, select the
    Enable Event Log Flood Protection check box.
    In the Trace Log section, in the Path box, type the path of the folder to which you want logs to be written.
    In the Number of days to store log files box, type the number of days (1-366) that you want logs to be kept. After this time, logs will automatically be deleted.
    To restrict the disk space that logs can use, select the Restrict Trace Log disk space usage check box, and then type the number gigabytes (GB) you want to restrict log files to. When logs reach this value, older logs will automatically
    be deleted.
    After you have made the changes that you want on the Diagnostic Logging page, click
    OK.
    YOu will have to restart the sharepoint tracing service on all servers
    http://www.mssharepointtips.com/tip.asp?id=1130
    http://blogs.msdn.com/b/mossbiz/archive/2011/07/29/the-quot-right-quot-diagnostic-log-uls-settings.aspx
    http://technet.microsoft.com/en-us/library/ee748619%28v=office.14%29.aspx

  • How do I convert an old home movie (UDF) format so that I can use it in iMovie?

    Years ago, before I was an avid apple user, I took my home videos and made them into a movie on a dvd -R through premiere elements.  Now this disk cannot be played anywhere.  I would like to convert this into iMovie 11  v9.0.2.  Any ideas?

    best to my knowledge, only 'videoDVD', the ones you stick in any DVDplayer to watch on TV, are udf-formatted.
    does it contain two folders, VIDEO_TS and AUDIO_TS?
    then, it is.
    use the forum-search about the well-discussed issue 'how to import a DVD'.

  • Can you refine people search results using a SharePoint 2013 search service application connected in SharePoint 2010?

    We have an SP2010 farm which is now using some of the service applications from an SP2013 farm, including the search, managed metadata and user profile.  This is part of an upgrade programme of work which will involve upgrading infrastructure and
    then gradually the sites, and this is seen as one way to minimise the impact.
    So, the SP2010 search results are being generated by the SP2013 which is indexing the SP2010 content.  The initial results appear fine, however, the refiners in the people results for Job Title and Department are no longer working.  We are receiving
    a 404 page not found, even though the page is there as was working before.
    If we compare the URL generated in SP2010 for refining results to an OOTB SP2013 search centre site, there is clearly a big difference to the format.  Example below is where LastName is Smith and then refined where Department is HR.
    SP2010 URL which now gives a 404 error:
    http://intranet2010/search/pages/peopleresults.aspx?k=LastName%3Asmith&r=%22owstaxIdSPShDepartment%22%3D%23832e3479%2Dd168%2D4620%2Dac69%2D9b00a4c4205b%3A%22HR%22
    OOTB SP2013 URL:
    http://intranet2013/search/pages/peopleresults.aspx?k%3Asmith#Default=%7B%22k%22%3A%22smith%22%2C%22r%22%3A%5B%7B%22n%22%3A%22Department%22%2C%22t%22%3A%5B%22%5C%22%C7%82%C7%824335%5C%22%22%5D%2C%22o%22%3A%22and%22%2C%22m%22%3Anull%2C%22k%22%3Afalse%7D%5D%7D
    I've looked at the URL decoded versions so can see how the query is built up.
    Any ideas?  Is this even possible?
    Matt

    All working now.  Turns out there was an entry in the web.config which was causing issues.
      <denyQueryStringSequences>
          <add sequence="ID" />
      </denyQueryStringSequences>
    Seems IIS is denying something in the query string.  We removed the whole section as was not needed.
    http://www.iis.net/configreference/system.webserver/security/requestfiltering/denyquerystringsequences
    Thanks to a colleague who spotted this; I would've never of thought to check the web.config for something like this.

  • Can't checkout Project files from SharePoint 2013

    I have library with 'require checkout' set that contains mpp files.  I have MS Project 2013 (SP1) installed locally.
    If I choose edit for one of the mpp files, it simply opens in MS project as read-only and doesn't allow me to save it (only as a local copy). There's no option to check-out anywhere. Obviously I can check-out manually in SP before opening then check in again
    afterward but it seems clearly wrong that I'm allowed to click "Edit", make changes, but then be unable to save back to SP again (even if you switch back to SP to check-out, Project still thinks you've opened it Read Only and won't let you save back
    to SP).
    What am I missing?

    Hi Dylan,
    Didn't you have this message just above the ribbon in MS Project 2013?
    Using Project Server 2013, MS Project by default opens projects in read-only mode, the user having to intentionnally click on the "check-out" button to check it out. That being said, I'm not sure if the behavior is the same with a project plan opened from
    a SharePoint librairy but it is worth checking this point.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • Creating app scoped external content type using Provider Hosted App in sharepoint 2013 using visual studio 2012

    Hi,
    I am creating provider hosted app in visual studio 2012 using app scoped external content type having OData with Northwind url
    App manifest start page url  :
    ODataNewAppWeb/Pages/Default.aspx
    In XML it is:
    <StartPage>~remoteAppUrl/Pages/Default.aspx</StartPage>
    When i am deploying app pressing F5 the app gets deployed successfully....
    Now i am changing my start page url in Appmanifest like this:
    ODataNewApp/Lists/Employees
    In XML it looks like:
    StartPage>~appWebUrl/Lists/Employees</StartPage>
    When i am deploying app pressing F5 the app..
    Getting register SOD error.....
    I have followed all the steps like:
    1)Creating app domain
    2)Starting all the required services
    3)Creating root site collection
    But still no success.. Please help me on this.... I am struggling with this from two weeks...

    Have you set up a wildcard DNS entry for the spapps.com domain?
    Also if you're trying to connect from the server you might be hitting loop back check issues.

  • How can I force delete SharePoint 2013 search service?

    I installed Search service using PowerShell.  It failed. I tried to remove the service and only partially removed. Now when i try to remove it again it says I cannot login to the search database - the search database no longer exists.  Is there
    a way to force delete the service?

    Get -SPServiceApplication
    Grab the Search Service Application id – [for example] 30b15b57-6bec-46b5-990d-541d99bab53b
    then use this
    Stsadm -o deleteconfigurationobject -id 30b15b57-6bec-46b5-990d-541d99bab53b (Preferred over the next method of PowerShell)
    this was working for me even the ps command failed (I had corrupted DB)
    Martin

  • Unable to activate Workflows can use app permissions feature

    Hi all,
    Iam unable to activate Workflows can use app permissions feature in sharepoint 2013. it throws sorry something went wrong error. Kindly somebody help me in resolving this issue

    Workflows can use app permissions feature is only going to be activated if 
    1) You have configured your workflow manager properly. Make sure there are not issues with your workflow manager and you can create workflow using SP 2013 Workflow Manager.
    2) You have configured apps for SharePoint 2013. Again you will need to make sure that you have hit all the check when configuring SharePoint 2013 apps. 
    Follow these two articles to make sure that you have configured apps for SharePoint 2013.
    http://technet.microsoft.com/en-us/library/fp161236.aspx
    http://sharepointchick.com/archive/2012/07/29/setting-up-your-app-domain-for-sharepoint-2013.aspx
    If you have confirmed that both of the above features are configured properly then check your ULS logs and find the detailed issue using the Correlation ID.
    If this helped you resolve your issue, please mark it Answered

Maybe you are looking for

  • High CPU Consumption when Displaying Animated GIFs

    Hi - Within our application we utilize a lot of the standard AJAX loading icons to indiciate that data is downloading/loading. What we've noticed, however, is that when animated GIFs are being displayed they are consuming between 5 and 8 percent of t

  • Error when exporting to xslx using export wizard or SSIS package

    Greetings: SQL Server 2008 R2, SSMS version 10.50.2500.0 I tried to use the import/export wizard to create a SSIS package that takes the results of a query and outputs to an excel file.  Here is the table it is deriving from: CREATE TABLE OrderTravOu

  • Old computer new ipod

    i just bought a new ipod. i have an older computer, running 10.2.8 and itunes 4.9. is my new ipod completely incompatible? is there any way i can get it to run, or do i need to return my ipod? thanks

  • Difference Between OIM and OAM

    Once again, apologies for the newbie question, but I am becoming thoroughly confused by Identity Mgmt as a whole. I've implemented Single Sign-On for E-Business Suite before (10.1.4.2) and it was straight forward. Now I am confused by all the differe

  • Partner Determiantiaon on Outbound Delivery PO

    Hi , I have a requiremnt where i want to get more partner function for Outbound delivery of PO . Currently it is confuigured to have Ship to party , I want to have another partner function DA. I configured the Partner schema to have DA and assigned t