Search Center

I have successfully setup Sharepoint 2013 Enterprise and added a site collection with a library and document in.
I have then setup the Search Centre site to search the documents and the crawler.
The Search Centre finds the files in the library but only displays a link to the library not a link to the document it found. I have looked on various sites and videos and the default Search
Centre site does this automatically.
Can anybody tell me how to display the link to the document as well?
Many Thanks
Chris

Hi Alex,
Yes that's correct the URL View only returns the document AllItems.aspx file under the document library URL and nothing else.
Could you advise on were the default view's are to see if they are missing.
Thanks
Chris

Similar Messages

  • Cannot open PDFs in browser in IE from Search Center

    [SYSTEM]
    SharePoint 2013 Enterprise, 2WFE, 2App, 1SQL
    [ISSUE]
    We have a problem with opening PDF files from search results in IE. I can open PDFs in the browser with Chrome and Firefox in all site collections as well as search results.  If using IE10, I can open PDFs in browser everywhere except
    the Search results page. Also, if I right click on a document in search results, and click "Open in new tab" or "Open in new window", then the pdf opens up in browser just fine. If I copy the URL and paste it into the address
    box, the document will also open in browser with no problem.
    The only way that the browser tries to open a pdf document in the client is when you click on the document directly in Search results. All other ways of opening the file yield the right result.
    We really need PDFs to open in browser in IE.  Please help. 
    [TROUBLESHOOTING DONE]
    I set the Web Application Browser File Handling to Permissive from Central Administration.
    I specified for files to open in the browser in Search Center preferences accessible from the bottom of the search results page.
    I verified that "application/pdf" is an AllowedInlineDownloadedMimeType
    The Office Web Apps settings were modified to open PDFs in the default PDF reader rather than OWA.

    Hi Jerry,
    Can you check the similar thread
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/d554e88c-d72f-46b0-8b1a-2f2024fcb9c0/i-e-8-browser-wont-open-pdf-file-returned-from-sharepoint-2010-search?forum=sharepointadminprevious
    My Blog- http://www.sharepoint-journey.com|
    If a post answers your question, please click Mark As Answer on that post and Vote as Helpful

  • Skill Search works fine from search center, but it doesn't work from Lync client

    My environment consists of Lync Server 2013 and SharePoint Server 2013.
    I configured skill search and it works fine from search center, but it doesn't work from Lync client. An error appears says"error occurred during the search, please try again".
    I configured these URLs in my client policy
    set-csclientpolicy -identity global -spsearchinternalurl http://<Sharepoint Server>/_vti_bin/search.asmx
    set-csclientpolicy -identity global -spsearchcenterinternalurl http://<Sharepoint Server>/searchcenter/pages/peopleresults.aspx
    I checked these URLs from the browser and they work fine.
    I disabled anonymous access to _vti_bin, but no change then i checked lync log but i didn't find any error then i used Wireshark and found that when Lync client contacts Sharepoint, Sharepoint responded to it with internal server error http 500
    Please advice for what to do

    Hi,
    Thanks For your sharing.
    Best Regards,
    Lisa Chen
    Lisa Chen
    TechNet Community Support

  • Error in enterprise search center

    Hi,
    I have an enterprise search center which has suddenly stopped working. The error message did not say much so I created a new search page. When attempting to do a search I receive the error below. I've tried accessing the version history on those files
    to determine if I can restore to a working version but I am getting a report that the "server is busy". Any ideas of what I could do to fix this issue?
    thanks,
    Sherazad.
    Display Error: The display
    template had an error.  You can correct it by fixing the template or by
    changing the display template used in either the Web Part properties or
    Result Types.
    Template '/_catalogs/masterpage/Display Templates/Filters/Filter_Default.js' not found or has syntax errors. (LoadTemplate: )
    Template
    '/_catalogs/masterpage/Display
    Templates/Filters/Filter_SliderBarGraph.js' not found or has syntax
    errors. (LoadTemplate:
    Sherazad

    Hi Sherazad,
    According  to your description, you have an enterprise search center which worked well before the error occurred.
    For  resolving your issue, you are able to run the command below with SharePoint 2013 Management Shell.
       Enable-SPFeature SearchWebParts -url http://<the problematic site url>
    Here is a similar post for your reference:
    http://sharepoint.stackexchange.com/questions/70452/query-builder-for-result-source-not-working-in-central-admin
    If  the issue still exists, I  recommend you install the SharePoint Server 2013 update: March 12, 2013 to fix this issue.
    SharePoint Server 2013 update: March 12, 2013
    http://support.microsoft.com/kb/2767999
    I  hope this helps.
    Thanks,
    Wendy
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Feature receiver, change site collection Search Center

    Hi, in a Feature Event Receiver I am changing the Search Center of the site collection but it is not taking effect. Does anyone see any mistake or reason for that? thanks
            public override void FeatureActivated(SPFeatureReceiverProperties properties)
                try
                    SPWeb web = properties.Feature.Parent as SPWeb;
                    if (web != null)
                        SPSecurity.RunWithElevatedPrivileges(delegate()
                            using (SPSite site = new SPSite(web.Url))
                            using (SPWeb webElevated = site.OpenWeb())
                                webElevated.AllProperties["SRCH_SB_SET_WEB"] = string.Format(
                                   "{\"Inherit\":false,\"ResultsPageAddress\":{0},\"ShowNavigation\":false}",
                                   SPUrlUtility.CombineUrl(SPContext.Current.Site.Url, "/search/Pages/results.aspx")
                   webElevated.AllProperties["SRCH_ENH_FTR_URL_WEB"] = SPUrlUtility.CombineUrl(SPContext.Current.Site.Url, "/search");
                   webElevated.Update();
                catch (Exception exception)
                    LogWriter.WriteException(exception, LogCategories.Components, this.GetType().ToString());
            }

    Hi,
    In my test environment, an exception(Input string was not in a correct format.) occurred at this line when I ran your code.
    webElevated.AllProperties["SRCH_SB_SET_WEB"] = string.Format("{\"Inherit\":false,\"ResultsPageAddress\":{0},\"ShowNavigation\":false}",SPUrlUtility.CombineUrl(SPContext.Current.Site.Url, "/search/Pages/results.aspx"));
    Please modify it as below:
    webElevated.AllProperties["SRCH_SB_SET_WEB"] = "{"+string.Format("\"Inherit\":false,\"ResultsPageAddress\":{0},\"ShowNavigation\":false",SPUrlUtility.CombineUrl(SPContext.Current.Site.Url, "/search/Pages/results.aspx"))+"}";
    If the issue still exists, I suggest you debug the code to get more information.
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • Failed to display Search Center search results in target view

    Hi, we use Siebel eCommunications 7.8.2.5 SIA and client request a specific functionality related to Search Center.
    Current design of our functionality is the following: Upon pressing Search button in Search Center, scripting on BC Find Entry (Pre Invoke Method) is invoked. Behind the script there is integration flow triggered and several siebel row_id's are returned.
    The aim is to show all the records (based on row_id's returned) or in search result of a Search Center or directly in target view.
    In order to show results in target view we use GotoView instruction in "Find Applet" InvokeMethod script. We also provide for "GotoView" command a Business Object with query done (using for SetSearchSpec multiple Row_id's returned by integration flow).
    When we invoke the search, results are shown as expected in target view but Search Center frame became blank.
    So we need to either open the Search Center again (to show the Search Center instead of empty frame) or close it (this will close the empty frame).
    -- We have several Look In categories and only for one we need the functionality described above (for all others results should be displayed in Search Center). So solution to change "Target View Frame" parameter of the "Search" button to "_sweview" is not acceptible (it fixes the problem with empty frame but break the search functionality for other Look In categories).
    -- Also the solution to remove value from "Find Applet" "GotoView" User Property will not work. Same reason as in previous one - other search results should be displayed in Search Center not in a target view.
    -- We also tried to use scripting to close or reopen the search center:
    var svcSCS = TheApplication().GetService("Search Client Service");
    svcSCS.InvokeMethod("CloseSrchCenter",psInputs,psOutputs);     
    But there is no appropriate event to which this scripting could work out. When it is put after GotoView instruction in "Find Applet" it didn't work (also if it is put before GotoView). When it is put on Applet_Load or Applet_Query or Applet_PreQuery of a Target View top appplet it didn't work. When it is placed under Invoke Method (or Pre Invoke Method) of the top Applet on Target View (or also according BC) it works fine but in this case the method should be somehow called.
    -- Alternative is also the design where the search results are displayed in Search Center. But as we receive several Row Id's we had not found a way how to make a query on Find Object having multiple values of a same field.
    Could you please advice?

    Hi,
    I am facing exactly same problem. I could not close the search center window.
    Can you plz tell me, which event of the target applet you have written broser script?
    Plz let me know what you have written there as browser script to close the window.

  • Sharepoint Search Center search works OK but Search box at the top of the page does not work

    Hello!
    The problem is as follows:
    If I go to Search Center and search there I get my results. On the left side "Any Site" is selected. If I select the only site I've got there (if I click as indicated below) - no results are shown (which is strange, I've got only one site).
    And if I use search box in my main page (as shown below) - I get no results as well.
    Why this can happen?
    Thanks!

    Hi Phillip,
    According to your description, my understanding is that there was no result when clicking the site in the Refinement Panel and no results showing when using Search Box in the main page.
    I recommend to verify the things below to narrow the issue scope:
    Did this issue occur in other pages when using the search box?
    Did this issue occur when using the search box web part?
    I recommend to test the same scenario in another site and use the search box web part to see if the issue still occurs.
    Here is a similar thread for you to take a look:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/ebc29798-47d4-4526-b6aa-3f9a6741d90c/refining-search-results-by-site-doesnt-return-any-results?forum=sharepointadminprevious
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Displaying Search dropdowns (verticals) from search center

    Hi Team,
    I am trying to display dropdowns (verticals) in SP 2013 from search center which is in separate site collection in same web app. When I try to create vertical and provide URL of page in Search-Center, SP errors out. by default it is not picking the drop
    down values from search center. Please help.
    Sachin
    Sachin Chugh,

    Hi Sachin,
    As I understand, you would like to add custom search navigation to search center and reflect them to home site collection search box.
    I found two articles for your reference:
    How to add a custom search vertical to your search results page in SharePoint 2013
    http://blogs.technet.com/b/tothesharepoint/archive/2013/11/13/how-to-add-a-customized-search-vertical-to-your-search-results-page-in-sharepoint-2013.aspx
    SharePoint 2013 Search Settings and Search drop down menu
    http://en.share-gate.com/blog/sharepoint-2013-search-settings-and-search-box-drop-down-menu
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Tagging in MMS and set the default search center url through power shell

    Hi,
     Would like to know below things are psosiblke through Power Shell.
    Check the checkbox from the term store management tool [ for Managed Metadata Serv.]'s navigation section and for the tagging feature.
    2) In the search setting section of site collection administration, i  need to enter the  default search center  url, [ i have created search center sub site in al of my site collections.] my site collectons in the farm is  more
    than 50. so i  cant enter the url of search center url [/sites/site1/sc/pages/results.aspx ] manually.

    can someone pls help...

  • Add a content editor web part to right side of to default searchresults layout in search center

    i need to display a content editor webpart in right side of search results page
    Is it possible to do it without making changes to the layout.In page i dont have a webapart zone
    on right side to add content editor to right.Is it possible to add it to right side without making changes to default searchresults layout

    Hi,
    Based on your description, my understanding is that in your production environment, it doesn't search the contents of Content Editor webparts.
    It is by default in SharePoint that Contents in a content editor web part aren't searchable .
    You can create a content source that crawls web pages it will pick up the contents of a content editor web part.
    Here are some similar post, you can use as a reference:
    https://social.technet.microsoft.com/Forums/en-US/148464b3-6229-4e33-b5cd-826119c9adf1/can-you-search-a-content-editor-web-part?forum=sharepointsearchlegacy
    https://social.technet.microsoft.com/Forums/en-US/d50273ee-8eec-4291-bee5-1817182026d9/wss-30-content-editor-web-part-not-searched?forum=sharepointsearchlegacy
    Best Regards,
    Lisa Chen

  • Is it possible to have multiple search results page using one Search Enterprise Center site?

    Hi,
    We're using SharePoint 2013 and I'm trying to modify the search results page for one site collection. By default, it uses the search results page from the parent site which is the search center being used by default for the web application. I need to make
    sure that the site collection will only retrieve search results within the site collection (search everything has to be disabled). I found a way but I had to create another search center site to accomplish this, otherwise, it will affect the search center
    site of all other site collections on the web app.
    Now is it possible to have multiple search results page using one Search Enterprise Center site?

    Hi,
    According to your description, you want to retrieve the search results within the site collection.
    As a workaround, you can create a custom result source for the site collection and you will retrieve the search result within the site collection.
    More information about how to create result source in SharePoint 2013, please refer to :
    http://technet.microsoft.com/en-us/library/jj683115(v=office.15).aspx
    http://techmikael.blogspot.com/2013/04/limiting-search-results-in-sharepoint.html
    Best regards

  • Sharepoint Foundation 2013 Configure Search Navigation

    I am testing out the search feature of Foundation 2013 and I want to allow my users to refine their searches via Result Sources.  From the instructions that I have read I should be able to do this in the Global Search Results page that I created ->
    Site Settings -> Search -> Search Settings.  It appears there should be a section for "Configure Search Navigation".  I do not have this option.  Is this something that is disabled in the Foundation edition of Sharepoint?
    For reference here is what I was following for instructions.
    http://en.share-gate.com/blog/sharepoint-2013-search-settings-and-search-box-drop-down-menu About halfway down the page it shows this configuration box.  I cannot see that on my Search Settings page at all.
    I have successfully created a Result Source that does work, but I seemingly have no way of presenting that to the user.  The Navigation WebPart also relies on the "Configure Search Navigation" settings, which I can't see in my setup.
    Suggestions?

    Hello,
    "Configure Search Navigation" is not present in SharePoint Foundation 2013, but it is still available
    via SOM (and PowerShell, of course). Try this if this helps (full url of Search Center on my dev environment is http://dev/search):
    using (var siteCollection = new SPSite("http://dev"))
    using (var site = siteCollection.OpenWeb("search"))
        site.Navigation.SearchNav.AddAsFirst(
            new SPNavigationNode("Test", "http://dev"));
        site.Update();
    Regards,
    Michal

  • How to properly create and configure SharePoint 2013 Search service with PowerShell?

    Hello Forum,
    I have installed SharePoint 2013 across three tier servers:
    WFE Server  (Of course, SharePoint is installed here. Bsically this is just a Web server)
    APP Server  (Of course, SharePoint is installed here + Central Admin + Service Apps).
    SQL Server  
    I now want to create and configure the Search service, obviously on the APP Server, But of course the search functionality should work correctly on the WFE server to.
    I want to do this via a proper PowerShell script. I found Spence Harbar's script on: (http://www.harbar.net/articles/sp2013mt.aspx), But it has three problems, and they are as follows:
    1) Spence Harbar himself literally stated on his article that this script is for: "deploying on a single server farm", But what if I have three tier servers? Could anyone please help me out in suggesting the required tweaks in the
    script?
    2) By default Search uses the SP_Farm account, So, How can I change the script to use other dedicated account for the search service e.g. SP_SearchAcc ?
    3) How can I modify the script to specify a default Search center?
    4) Apart from all the three aforementioned point - Is the script missing anything? 
    I would greatly appreciate your inputs - Thanks !

    the only differences are where you place the components.  if you are doing a small server farm with a 1-1-1, most likely you just need to change the script so that you set the index and query processing component on the front end, but the others on
    the app server.  just a 2 second update... just keep in mind this will work, but I am making several assumptions without any knowledge of your farm, users, capabilities. 
    generally, there would be more of a breakout on the topology than that, but im guessing for this farm that you wont have dedicated search servers.  also, a lot depends on # users (rps really), # items in index, size of VMs (RAM for query processing,
    Disk for index, etc, etc), and making sure the topology works for your particular environment and needs. 
    if you want more detailed topology help, which aligns as closely as possible to "best practices" (not that those exist in SharePoint, go ahead and provide the total # users, average/peak RPS for search, current index size, content source types,
    VM specs RAM, CPU, #/Size of drives, HA concerns/priority (obviously isn't, since only 1-1-1)
    Christopher Webb | MCM: SharePoint 2010 | MCSM: SharePoint Charter | MCT | http://christophermichaelwebb.com

  • ADFS SSO and SharePoint 2013 on-premise Hybrid outbound search results from SharePoint Online - does it work?

    Hi, 
    I want to setup an outpund hybrid search for SharePoint 2013 on-premise to SharePoint Online.
    But I'm not shure if this works with ADFS SSO.
    Has somebody experience with this setup?
    Here's my guide which I'm going to use for this installation:
    Introduction
    In this post I'll show you how to get search results from your SharePoint Online in your SharePoint 2013 on-premise search center.
    Requirements
    User synchronisation ActiveDirectory to Office 365 with DirSync
    DirSync password sync or ADFS SSO
    SharePoint Online
    SharePoint 2013 on-premise
    Enterprise Search service
    SharePoint Online Management Shell
    Instructions
    All configuration will be done either in the Search Administration of the Central Administration or in the PowerShell console of your on-premise SharePoint 2013 server.
    Set up Sever to Server Trust
    Export certificates
    To create a server to server trust we need two certificates.
    [certificate name].pfx: In order to replace the STS certificate, the certificate is needed in Personal Information Exchange (PFX) format including the private key.
    [certificate name].cer: In order to set up a trust with Office 365 and Windows Azure ACS, the certificate is needed in CER Base64 format.
    First launch the Internet Information Services (IIS) Manager
    Select your SharePoint web server and double-click Server Certificates
    In the Actions pane, click Create Self-Signed Certificate
    Enter a name for the certificate and save it with OK
    To export the new certificate in the Pfx format select it and click Export in the Actions pane
    Fill the fields and click OK Export to: C:\[certificate
    name].pfx Password: [password]
    Also we need to export the certificate in the CER Base64 format. For that purpose make a right-click on the certificate select it and click on View...
    Click the Details tab and then click Copy to File
    On the Welcome to the Certificate Export Wizard page, click Next
    On the Export Private Key page, click Next
    On the Export File Format page, click Base-64 encoded X.509 (.CER), and then click Next.
    As file name enter C:\[certificate
    name].cer and then click Next
    Finish the export
    Import the new STS (SharePoint Token Service) certificate
    Let's update the certificate on the STS. Configure and run the PowerShell script below on your SharePoint server.
    if(-not (Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue)){Add-PSSnapin "Microsoft.SharePoint.PowerShell"}
    # set the cerficates paths and password
    $PfxCertPath = "c:\[certificate name].pfx"
    $PfxCertPassword = "[password]"
    $X64CertPath = "c:\[certificate name].cer"
    # get the encrypted pfx certificate object
    $PfxCert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $PfxCertPath, $PfxCertPassword, 20
    # import it
    Set-SPSecurityTokenServiceConfig -ImportSigningCertificate $PfxCert
    Type Yes when prompted with the following message.
    You are about to change the signing certificate for the Security Token Service. Changing the certificate to an invalid, inaccessible or non-existent certificate will cause your SharePoint installation to stop functioning. Refer
    to the following article for instructions on how to change this certificate: http://go.microsoft.com/fwlink/?LinkID=178475. Are you
    sure, you want to continue?
    Restart IIS so STS picks up the new certificate.
    & iisreset
    & net stop SPTimerV4
    & net start SPTimerV4
    Now validate the certificate replacement by running several PowerShell commands and compare their outputs.
    # set the cerficates paths and password
    $PfxCertPath = "c:\[certificate name].pfx"
    $PfxCertPassword = "[password]"
    # get the encrypted pfx certificate object
    New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $PfxCertPath, $PfxCertPassword, 20
    # compare the output above with this output
    (Get-SPSecurityTokenServiceConfig).LocalLoginProvider.SigningCertificate
    [/code]
    ## Establish the server to server trust
    [code lang="ps"]
    if(-not (Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue)){Add-PSSnapin "Microsoft.SharePoint.PowerShell"}
    Import-Module MSOnline
    Import-Module MSOnlineExtended
    # set the cerficates paths and password
    $PfxCertPath = "c:\[certificate name].pfx"
    $PfxCertPassword = "[password]"
    $X64CertPath = "c:\[certificate name].cer"
    # set the onpremise domain that you added to Office 365
    $SPCN = "sharepoint.domain.com"
    # your onpremise SharePoint site url
    $SPSite="http://sharepoint"
    # don't change this value
    $SPOAppID="00000003-0000-0ff1-ce00-000000000000"
    # get the encrypted pfx certificate object
    $PfxCert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2 $PfxCertPath, $PfxCertPassword, 20
    # get the raw data
    $PfxCertBin = $PfxCert.GetRawCertData()
    # create a new certificate object
    $X64Cert = New-Object System.Security.Cryptography.X509Certificates.X509Certificate2
    # import the base 64 encoded certificate
    $X64Cert.Import($X64CertPath)
    # get the raw data
    $X64CertBin = $X64Cert.GetRawCertData()
    # save base 64 string in variable
    $CredValue = [System.Convert]::ToBase64String($X64CertBin)
    # connect to office 3656
    Connect-MsolService
    # register the on-premise STS as service principal in Office 365
    # add a new service principal
    New-MsolServicePrincipalCredential -AppPrincipalId $SPOAppID -Type asymmetric -Usage Verify -Value $CredValue
    $MsolServicePrincipal = Get-MsolServicePrincipal -AppPrincipalId $SPOAppID
    $SPServicePrincipalNames = $MsolServicePrincipal.ServicePrincipalNames
    $SPServicePrincipalNames.Add("$SPOAppID/$SPCN")
    Set-MsolServicePrincipal -AppPrincipalId $SPOAppID -ServicePrincipalNames $SPServicePrincipalNames
    # get the online name identifier
    $MsolCompanyInformationID = (Get-MsolCompanyInformation).ObjectID
    $MsolServicePrincipalID = (Get-MsolServicePrincipal -ServicePrincipalName $SPOAppID).ObjectID
    $MsolNameIdentifier = "$MsolServicePrincipalID@$MsolCompanyInformationID"
    # establish the trust from on-premise with ACS (Azure Control Service)
    # add a new authenticatio realm
    $SPSite = Get-SPSite $SPSite
    $SPAppPrincipal = Register-SPAppPrincipal -site $SPSite.rootweb -nameIdentifier $MsolNameIdentifier -displayName "SharePoint Online"
    Set-SPAuthenticationRealm -realm $MsolServicePrincipalID
    # register the ACS application proxy and token issuer
    New-SPAzureAccessControlServiceApplicationProxy -Name "ACS" -MetadataServiceEndpointUri "https://accounts.accesscontrol.windows.net/metadata/json/1/" -DefaultProxyGroup
    New-SPTrustedSecurityTokenIssuer -MetadataEndpoint "https://accounts.accesscontrol.windows.net/metadata/json/1/" -IsTrustBroker -Name "ACS"
    Add a new result source
    To get search results from SharePoint Online we have to add a new result source. Run the following script in a PowerShell ISE session on your SharePoint 2013 on-premise server. Don't forget to update the settings region
    if(-not (Get-PSSnapin "Microsoft.SharePoint.PowerShell" -ErrorAction SilentlyContinue)){Add-PSSnapin "Microsoft.SharePoint.PowerShell"}
    # region settings
    $RemoteSharePointUrl = "http://[example].sharepoint.com"
    $ResultSourceName = "SharePoint Online"
    $QueryTransform = "{searchTerms}"
    $Provier = "SharePoint-Remoteanbieter"
    # region settings end
    $SPEnterpriseSearchServiceApplication = Get-SPEnterpriseSearchServiceApplication
    $FederationManager = New-Object Microsoft.Office.Server.Search.Administration.Query.FederationManager($SPEnterpriseSearchServiceApplication)
    $SPEnterpriseSearchOwner = Get-SPEnterpriseSearchOwner -Level Ssa
    $ResultSource = $FederationManager.GetSourceByName($ResultSourceName, $SPEnterpriseSearchOwner)
    if(!$ResultSource){
    Write-Host "Result source does not exist. Creating..."
    $ResultSource = $FederationManager.CreateSource($SPEnterpriseSearchOwner)
    $ResultSource.Name = $ResultSourceName
    $ResultSource.ProviderId = $FederationManager.ListProviders()[$Provier].Id
    $ResultSource.ConnectionUrlTemplate = $RemoteSharePointUrl
    $ResultSource.CreateQueryTransform($QueryTransform)
    $ResultSource.Commit()
    Add a new query rule
    In the Search Administration click on Query Rules
    Select Local SharePoint as Result Source
    Click New Query Rule
    Enter a Rule name f.g. Search results from SharePoint Online
    Expand the Context section
    Under Query is performed on these sources click on Add Source
    Select your SharePoint Online result source
    In the Query Conditions section click on Remove Condition
    In the Actions section click on Add Result Block
    As title enter Results for "{subjectTerms}" from SharePoint Online
    In the Search this Source dropdown select your SharePoint Online result source
    Select 3 in the Items dropdown
    Expand the Settings section and select "More" link goes to the following URL
    In the box below enter this Url https://[example].sharepoint.com/search/pages/results.aspx?k={subjectTerms}
    Select This block is always shown above core results and click the OK button
    Save the new query rule

    Hi  Janik,
    According to your description, my understanding is that you want to display hybrid search results in SharePoint Server 2013.
    For achieving your demand, please have a look at the article:
    http://technet.microsoft.com/en-us/library/dn197173(v=office.15).aspx
    If you are using single sign-on (SSO) authentication, it is important to test hybrid Search functionality by using federated user accounts. Native Office 365 user accounts and Active Directory Domain Services
    (AD DS) accounts that are not federated are not recognized by both directory services. Therefore, they cannot authenticate using SSO, and cannot be granted permissions to resources in both deployments. For more information, see Accounts
    needed for hybrid configuration and testing.
    Best Regards,
    Eric
    Eric Tao
    TechNet Community Support

  • Weird character in search result for HitHighlightedSummary property

    We have a INTEG search center and display managed property 'HitHighlightedSummary', which is a out of box managed property
    One of the results display as below in search result page:
    "Issue 9 brings us the latest news from the Home Oxygen Service team … Don't forget to read CorpNEWS next week to get the latest Home Oxygen Service update.  "
    Noticed that the last weird character? how does that happen? we have same setup in DEV env, but we don't get this issue, how to track down this issue.

    The Ascii code 8203 stands for line break :
    http://www.fileformat.info/info/unicode/char/200b/index.htm
    commonly abbreviated ZWSP ;  this character is intended for invisible word separation and for line break control; it has no width, but its presence between two characters does not prevent increased letter spacing in justification
    A third party editor may be adding them , if they are not originally present in your script/code.
    Are you using any such editor tools?
    It will be helpful to open a troubleshooting ticket with Microsoft so that we can look at the issue in more depth.
    http://social.msdn.microsoft.com/Forums/sharepoint/en-US/23804eed-8f00-4b07-bc63-7662311a35a4/why-does-sharepoint-put-in-character-code-8203-in-a-richtext-field?forum=sharepointdevelopment

Maybe you are looking for

  • Camera Raw Plug in 6.5 for PS5

    I am running OS 10 version 10.9.1 on my Mac. I have CS5 loaded with camera Raw 6.5 plug in (the most recent version). I bought a new Nikon model D610 and I am trying to transfer files using my PS dowloader. I just downloaded Camera Raw 6.5 the latest

  • Why is my phone number not showing up in iMessage?

    I have a MacBook running 10.8.2 and iMessage does not have my iPhone number as part of the account.  I'd like iMessages sent to my iPhone to also show up in iMessage on my MacBook.  How do I get my phone number to show up in my Apple account on my Ma

  • Connecting a BT Hub

    I have a Mac Book Pro OSX and have been using a BT Router for about 4 years after installing the "Router Manager.app" etc using the CD supplied with the BT Router. I also now have a BT Hub at a different address, I connected the hub up, clicked on th

  • Loans: Introduce vendor account during loan payments

    Hello folks, I have Loans managment module working fine for a bunch of flows.  I would like to substitute a g/l account that we use during payment with a vendor account.  Wondering if I could get some inputs on this. We have receivable loans, not giv

  • My external speakers won't work

    my external audio speakers won't work for any apps or videos on my iPad 4th gen (wifi, OS 6.01)  It does work for music howevever.  I have tried the reset with holding down the home button and power  button simultaneously and that worked once.  It wo