Search Result Page Error

Hi All,
   We have a trouble in SharePoint search result. we have custom page where we have search result webpart in it. Here, the site is anonymous and extended for it.
   The search webpart and pagination is working fine for authenticate users. When anonymous users search the result shows and we we click on the next page we are getting sorry something went wrong. Below are the exceptions we are getting
Entering monitored scope (Request (POST:http:0/en/_vti_bin/client.svc/ProcessQuery)). Parent No  
12/04/2014 10:56:19.60  w3wp.exe (0x5914)                        0x4C98 SharePoint Foundation          Logging Correlation Data       xmnv Medium  
Name=Request (POST:http://80/en/_vti_bin/client.svc/ProcessQuery) e571d29c-2ca9-405a-40e9-cd516fdce52e
12/04/2014 10:56:19.60  w3wp.exe (0x5914)                        0x4C98 SharePoint Foundation          Authentication Authorization   agb9s Medium   Non-OAuth
request. IsAuthenticated=False, UserIdentityName=, ClaimsCount=0 e571d29c-2ca9-405a-40e9-cd516fdce52e
12/04/2014 10:56:20.00  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Asp Runtime                
   aj1kl High     [Forced due to logging gap, cached @ 12/04/2014 10:56:19.60, Original Level: Verbose] SPRequestModule.PreRequestExecuteAppHandler e571d29c-2ca9-405a-40e9-cd516fdce52e
12/04/2014 10:56:20.00  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Monitoring                
    aeap2 High     [Forced due to logging gap, Original Level: Verbose] Set diagnostics context correlationid {0}, trace level {1}, isDevdashboardenabled {2} e571d29c-2ca9-405a-40e9-cd516fdce52e
12/04/2014 10:56:20.00  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          CSOM                  
        agw10 Medium   Begin CSOM Request ManagedThreadId=111, NativeThreadId=16640 e571d29c-2ca9-405a-40e9-cd516fdce52e
12/04/2014 10:56:20.00  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Logging Correlation Data       xmnv Medium  
Site=/ e571d29c-2ca9-405a-40e9-cd516fdce52e
12/04/2014 10:56:20.02  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          CSOM                  
        ai3c0 Medium   Do not Check SPBasePermissions.UseRemoteAPIs permission. Site.ClientObjectModelRequiresUseRemoteAPIsPermission=False, IisSettings.ClientObjectModelRequiresUseRemoteAPIsPermission=True e571d29c-2ca9-405a-40e9-cd516fdce52e
12/04/2014 10:56:20.02  w3wp.exe (0x5914)                        0x4100 SharePoint Portal Server       Microfeeds                  
  aizmk High     serviceHost_RequestExecuting e571d29c-2ca9-405a-40e9-cd516fdce52e
12/04/2014 10:56:20.05  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          General                
       xxpk Medium   Unable to open Lookup list '{d7966e0d-e36c-40c2-a2fe-adea5b11239b}'.[Error was 0x81020026] e571d29c-2ca9-405a-40e9-cd516fdce52e
12/04/2014 10:56:20.05  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          General                
       xxpk Medium   Unable to open Lookup list '{030c1db3-ae0c-4049-81f4-f8fccb68d7b2}'.[Error was 0x81020026] e571d29c-2ca9-405a-40e9-cd516fdce52e
12/04/2014 10:56:20.07  w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Database                
      fa42 Monitorable A large block of literal text was sent to sql (length 44546).  This can result in blocking in sql and excessive memory use on the front end.  Verify that no binary parameters are being passed as literals, and
consider breaking up batches into smaller components.  If this request is for a SharePoint list or list item, you may be able to resolve this by reducing the number of fields. Call stack:    at Microsoft.SharePoint.Utilities.SqlSession.OnPostExecuteCommand(SqlCommand
command, SqlQueryData monitoringData)     at Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock)     at Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean
retryfordeadlock)     at Microsoft.SharePoint.SPSqlC... e571d29c-2ca9-405a-40e9-cd516fdce52e
12/04/2014 10:56:20.07* w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Database                  
    fa42 Monitorable ...lient.ExecuteQuery(Boolean retryfordeadlock)     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName,
String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback,
Boolean& pbMaximalView)     at Microsoft.SharePoint.Library.SPRequestInternalClass.GetListItemDataWithCallback2(IListItemSqlClient pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags,
ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallbac... e571d29c-2ca9-405a-40e9-cd516fdce52e
12/04/2014 10:56:20.07* w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Database                  
    fa42 Monitorable ...k, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback, ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)     at Microsoft.SharePoint.Library.SPRequest.GetListItemDataWithCallback2(IListItemSqlClient
pSqlClient, String bstrUrl, String bstrListName, String bstrViewName, String bstrViewXml, SAFEARRAYFLAGS fSafeArrayFlags, ISP2DSafeArrayWriter pSACallback, ISPDataCallback pPagingCallback, ISPDataCallback pPagingPrevCallback, ISPDataCallback pFilterLinkCallback,
ISPDataCallback pSchemaCallback, ISPDataCallback pRowCountCallback, Boolean& pbMaximalView)     at Microsoft.SharePoint.SPListItemCollection.EnsureListItemsData()     at Microsoft.SharePoint.SPListItemCollection.get_Count()    
at Microsoft.SharePoint.SPList.GetItemById(Str... e571d29c-2ca9-405a-40e9-cd516fdce52e
12/04/2014 10:56:20.07* w3wp.exe (0x5914)                        0x4100 SharePoint Foundation          Database                  
    fa42 Monitorable
Please help me out
Thanks in advance 

Hi Moorthy,
can you please enable below setting to get search result for anonymous access.
To get rid of it please do the following.
Under the SharePoint Site go to Site Settings.  Search Administration -> Search and offline availability -> Indexing ASPX Page Content, Enable the option "Always index all
Web Parts on this site"
Under Search Service Application, do a Full Crawl for the content source to resolve this issue.
see below link for more details
http://blogs.msdn.com/b/sowmyancs/archive/2010/07/16/sharepoint-2010-search-not-showing-any-results-for-anonymous-users.aspx
Hope this will help you.
Regards
Soni K

Similar Messages

  • Certificate error pops up from Google search results page

    Hi,
    I wanted to find out more info about a certain company, so I typed the name on Google. When I clicked on Search (not I'm feeling lucky!) the search results appeared, but I immediately got a pop-up saying the certificate for the website of the company in question was not valid:
    "Secure Connection Failed
    www.mvfaccount.com:443 uses an invalid security certificate.
    The certificate is not trusted because the issuer certificate is unknown.
    (Error code: sec_error_unknown_issuer)
    This could be a problem with the server's configuration or it could be someone trying to impersonate the server.
    If you have connected to this server successfully in the past the error may be temporary and you can try again later."
    But the thing is: I hadn't even clicked on that search result! The warning appeared while the search results page was loading.
    I find that unsettling because it makes me wonder: does Firefox visit the websites before I visit them?
    And before you ask: no, I'm not a customer of that company (Maple Valley Financial) nor did I ever visit them before.
    Thanks,
    Sergio
    == URL of affected sites ==
    http://www.google.ca/search?source=ig&hl=en&rlz=1G1ACAW_ENCA389&=&q=maple+valley+financial&aq=f&aqi=g1&aql=&oq=&gs_rfai

    I'm not sure how this could be a Firefox setting, but I would try the "usual" first:
    When you have a problem with one particular site, a good "first thing to try" is clearing your Firefox cache and deleting your saved cookies for the site.
    (1) Bypass Firefox's Cache
    Use Ctrl+Shift+r to reload the page fresh from the server.
    Alternately, you also can clear Firefox's cache completely using:
    "3-bar" menu button (or Tools menu) > Options > Advanced
    On the Network mini-tab > Cached Web Content : "Clear Now"
    If you have a large hard drive, this might take a few minutes.
    (2) Remove the site's cookies (save any pending work first). While viewing a page on the site, try either:
    * right-click and choose View Page Info > Security > "View Cookies"
    * Alt+t (open the classic Tools menu) > Page Info > Security > "View Cookies"
    In the dialog that opens, you can remove the site's cookies individually.
    Then try reloading the page. Does that help?
    In case one of your extensions is involved, could you test the page in Firefox's Safe Mode? That's a standard diagnostic tool to deactivate extensions and some advanced features of Firefox. More info: [[Troubleshoot Firefox issues using Safe Mode]].
    You can restart Firefox in Safe Mode using either:
    * "3-bar" menu button > "?" button > Restart with Add-ons Disabled
    * Help menu > Restart with Add-ons Disabled
    Not all add-ons are disabled: Flash and other plugins still run
    After Firefox shuts down, a small dialog should appear. Click "Start in Safe Mode" (''not'' Reset).
    Any difference? If that helps, it could be that you selected to block that element in one of your add-ons.

  • Search result Page throw Error for anonymous User

    We have claim base WebApplication in SharePoint 2013. Every thing is working fine and user can login site without any problem. Only search result page not working..its given "Sorry, something went wrong "
    From ULS Log I found below exception
    CoreResultsWebPart::OnInit: Exception initializing: System.InvalidOperationException: The security token request cannot be completed.    
     at Microsoft.SharePoint.SPSecurityContext.SecurityTokenForServiceContext(Uri contextUri)    
     at Microsoft.SharePoint.SPChannelFactoryOperations.InternalCreateChannelActingAsLoggedOnUser[TChannel](ChannelFactory`1 factory, EndpointAddress address, Uri via)    
     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.GetChannel(Uri address, Int32 timeoutInMilliseconds)    
     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoSpLoadBalancedUriWsOp[T](WebServiceBackedOperation`1 webServiceCall, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, String operationName)    
     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoWebServiceBackedOperation[T](String operationName, Int32 timeoutInMilliseconds, Int32 wcfTimeoutInMilliseconds, WebServiceBackedOperation`1 webServiceCall)    
     at Microsoft.Office.Server.Search.Administration.SearchServiceApplicationProxy.DoWebServiceBackedOperation[T](String operationName, WebServiceBackedOperation`1 webServiceCall)    
     at Microsoft.Office.Server.Search.Query.ConsumerScopeCache.Refresh(IEnumerable`1 sharedScopes)    
     at Microsoft.Office.Server.Search.Query.ConsumerScopeCache.EnsureFresh()    
     at Microsoft.Office.Server.Search.Query.ConsumerScopeCache.TryGetScope(Int32 id, ScopeInformation& scope)    
     at Microsoft.Office.Server.Search.Query.ScopeCache.TryGetScope(Guid siteGuid, Int32 id, ScopeInformation& scope)    
     at Microsoft.Office.Server.Search.WebControls.SearchCommon.GetScopeNameByScopeID(Guid siteGuid, Int32 scopeID)    
     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.SetPropertiesOnQueryReader()    
     at Microsoft.Office.Server.Search.WebControls.CoreResultsWebPart.OnInit(EventArgs e)
    We are using Arabic Language Pack SharePoint 2013 on Windows server 2012 with SQL Server 2012.
     anonymous access already given form Central Admin and Sitecollection level 
    Quick response will be highly Appreciated.

    Its need to be set  impersonate="true"
    <authentication mode="Forms">
        </authentication>
        <identity impersonate="true"
    />
    to resolve custom solution which need impersonate="false"
    Run command in evaluated privilege...

  • Sorry, something went wrong - Open Office File from Search Results Page with Office Web Apps

    Hi,
    I'm getting "Sorry, something went wrong" error when I'm trying to open any office document from inside Search Results Page with Office Web Apps, the same error is appearing in the document preview as well.
    The error in SharePoint logs says that the file cannot be found.
    Please note that this error is coming only when the "Filename" of the document is not written in English (in my case its written with Arabic characters).
    If I try to open it from the document library, its opening properly with no errors.
    The only difference between two URLs (document URL in Search Results and in Document Library) is the value for "sourcedoc" attribute;
    In the case of Search Results page, the filename in "sourcedoc" attribute is kept as is with Arabic characters.
    While in the Document Library, the filename in "sourcedoc" attribute is converted into different characters (something like: "B9%D9%85%D9%8").
    Anybody have an idea on how to overcome this issue, implement a workaround or modify the "sourcedoc" behavior?
    Thanks in Advance.
    Hamza AlSughier

    Dear Wendy,
    Thanks for your efforts, I already tried your last suggestion before, but this didn't solve my problem.
    Actually my end users are accessing this portal using ADFS and HTTPS.
    Finally I got this solved, I have done below to get my overall solution working perfectly:
    - First I have configured Windows Authentication and ADFS Authentication on the same zone which is the default zone.
    - The issue when opening office documents with Arabic file name has disappeared as a result of first change.
    - Then I have faced an issue where we are not able to crawl content under Default zone, however we have to do so, after too many efforts, I found that its related to the Load-balancer/proxy, I have made the crawler server
    to crawl himself (http://CrawlServerName:PortNumber).
    - Also a change on Alternate Access Mapping was needed, I have set one of the extended zones (which is running Windows Authentication only) as Internal URL for the Default Zone, and this is was the URL I used for Crawling.
    I have configured Server Name Mappings to make sure we got proper URLs in Search Results.
    - Then we faced another issue, which is Authentication selection on login page (How to bypass this page, and authenticate using ADFS auto), I used this solution (Set Custom Sign In Page):
    http://0ut0ftheb0x.wordpress.com/2014/01/04/skip-the-authentication-selection-page-at-_logindefault-aspx-in-a-mixed-authentication-environment/.
    - I faced one more issue as a result of above workaround; Sign Out functionality wasn't working well; users get logged in automatically whenever I click on Sign Out. I solved this by modifying the "Sign Out" Control under _layouts;
    I made it to redirect users to ADFS Sign Out Page instead of SharePoint Sign Out Page (I know its not recommended, but I don't have any other option).
    Hamza AlSughier

  • 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 ?

  • Adding Fields to People Search Results Page

    Hi
    Working in SharePoint Online, I've been able to add a few fields to the People Search results page successfully:
    Organization
    Office Locator
    Office Location
    Work Phone
    Mobile Phone
    Home Phone
    Work Email
    All of the above fields are working and display on the People search results page.
    I tried to add these and they simply do not display.  There is no error:
    University Email
    Assistant
    Calendar/Scheduling
    I set them up the same way.  I created the Property in the User Profile area.  I then populated the data for each user.  I then added the property as a Managed property (search schema) linked to the Crawled property from the People category.
    Made sure that they were query able, retrievable, searchable, etc.  Then I edited the People Search code and then I waited over the weekend for the search to pick them up.  I came into work this morning and they still do not display.  Here is
    my code, just in case I missed something.  Thanks.
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882">
    <head>
    <title>UIF People Item with Work Phone</title>
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
    <mso:MasterPageDescription msdt:dt="string">Displays a result tailored for a person.</mso:MasterPageDescription>
    <mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
    <mso:TargetControlType msdt:dt="string">;#SearchResults;#</mso:TargetControlType>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:CrawlerXSLFile msdt:dt="string"></mso:CrawlerXSLFile>
    <mso:ManagedPropertyMapping msdt:dt="string">'AboutMe':'AboutMe','AccountName':'AccountName','BaseOfficeLocation':'BaseOfficeLocation','Department':'Department','HitHighlightedProperties':'HitHighlightedProperties','Interests':'Interests','JobTitle':'JobTitle','Organization':'Organization','LastModifiedTime':'LastModifiedTime','Memberships':'Memberships','PastProjects':'PastProjects','Path':'Path','PictureURL':'PictureURL','PreferredName':'PreferredName','Responsibilities':'Responsibilities','Schools':'Schools','ServiceApplicationID':'ServiceApplicationID','SipAddress':'SipAddress','Skills':'Skills','UserProfile_GUID':'UserProfile_GUID','WorkEmail':'WorkEmail','UniversityEmail':'UniversityEmail','OfficeNumber':'OfficeNumber','OfficeLocator':'OfficeLocator','WorkPhone':'WorkPhone','MobilePhone':'MobilePhone','HomePhone':'HomePhone','Assistant':'Assistant','CalendarScheduling':'CalendarScheduling','WorkId':'WorkId','YomiDisplayName':'YomiDisplayName'</mso:ManagedPropertyMapping>
    <mso:HtmlDesignStatusAndPreview msdt:dt="string">https://uif.sharepoint.com/search/_catalogs/masterpage/Display Templates/Search/UIF_Item_Person.html, Conversion successful.</mso:HtmlDesignStatusAndPreview>
    <mso:HtmlDesignConversionSucceeded msdt:dt="string">True</mso:HtmlDesignConversionSucceeded>
    <mso:HtmlDesignPreviewUrl msdt:dt="string"></mso:HtmlDesignPreviewUrl>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    </head>
    <body>
    <div id="Item_Person">
    <!--#_
    if(!$isNull(ctx.CurrentItem) && !$isNull(ctx.ClientControl)){
    var id = ctx.ClientControl.get_nextUniqueId();
    var itemId = id + Srch.U.Ids.item;
    var hoverId = id + Srch.U.Ids.hover;
    $setResultItem(itemId, ctx.CurrentItem);
    var container_id = id + "_peopleContainer";
    var hhProps = Srch.U.createXMLDocument("<root>" + ctx.CurrentItem.HitHighlightedProperties + "</root>");
    var encodedPath = $urlHtmlEncode(ctx.CurrentItem.Path);
    var has_pn = !$isEmptyString(ctx.CurrentItem.PreferredName);
    var has_sip = !$isEmptyString(ctx.CurrentItem.SipAddress);
    var has_email = !$isEmptyString(ctx.CurrentItem.WorkEmail);
    var has_universityemail = !$isEmptyString(ctx.CurrentItem.UniversityEmail);
    var has_onumber = !$isEmptyString(ctx.CurrentItem.OfficeNumber);
    var has_bolocation = !$isEmptyString(ctx.CurrentItem.BaseOfficeLocation);
    var has_olocator = !$isEmptyString(ctx.CurrentItem.OfficeLocator);
    var has_wphone = !$isEmptyString(ctx.CurrentItem.WorkPhone);
    var has_mphone = !$isEmptyString(ctx.CurrentItem.MobilePhone);
    var has_hphone = !$isEmptyString(ctx.CurrentItem.HomePhone);
    var has_assistant = !$isEmptyString(ctx.CurrentItem.Assistant);
    var has_calendarscheduling = !$isEmptyString(ctx.CurrentItem.CalendarScheduling);
    var has_jt = !$isEmptyString(ctx.CurrentItem.JobTitle);
    var has_dp = !$isEmptyString(ctx.CurrentItem.Department);
    var has_org = !$isEmptyString(ctx.CurrentItem.Organization);
    var has_abme = !$isEmptyString(ctx.CurrentItem.AboutMe);
    var has_resp = !$isEmptyString(ctx.CurrentItem.Responsibilities);
    var has_pp = !$isEmptyString(ctx.CurrentItem.PastProjects);
    var has_ski = !$isEmptyString(ctx.CurrentItem.Skills);
    var has_sch = !$isEmptyString(ctx.CurrentItem.Schools);
    var has_int = !$isEmptyString(ctx.CurrentItem.Interests);
    var has_vlm = !$isEmptyString(ctx.CurrentItem.ProfileViewsLastMonth);
    var has_vlw = !$isEmptyString(ctx.CurrentItem.ProfileViewsLastWeek);
    var has_query = !$isEmptyString(ctx.CurrentItem.ProfileQueriesFoundYou);
    var isSelfSrch = (has_vlm == true || has_vlw == true || has_query == true);
    var delimiter = "";
    var userPersonaId = $htmlEncode(id) + "_peopleUserPersona";
    var uSip = ctx.CurrentItem.SipAddress;
    var uEmail = ctx.CurrentItem.WorkEmail;
    var uName = ctx.CurrentItem.PreferredName;
    var uPicUrl = ctx.CurrentItem.PictureURL;
    var hoverUrl = "~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Person_HoverPanel.js";
    _#-->
    <div id="_#= $htmlEncode(container_id) =#_" class="ms-srch-people-outerContainer ms-srch-resultHover">
    <div id="_#= $htmlEncode(itemId) =#_" name="Item" class="ms-srch-people-item" onmouseover="EnsureScriptParams('SearchUI.js', 'HP.Init', event, '_#=$scriptEncode(itemId) =#_', '_#=$scriptEncode(hoverId) =#_', '_#=$scriptEncode(hoverUrl) =#_');" onmouseout="EnsureScriptParams('SearchUI.js', 'HP.Hide');">
    <div id="_#= $htmlEncode(hoverId) =#_" class="ms-srch-hover-outerContainer"></div>
    <div id="UserPersonaContainer">
    <div id="UserPersona">
    <div id="_#= userPersonaId =#_"></div>
    </div>
    </div>
    <div id="UserInfoContainer">
    <div id="ContactInfo">
    <div id="NameField">
    <!--#_
    var encodedName = (has_pn == true) ? $htmlEncode(ctx.CurrentItem.PreferredName) : $htmlEncode(ctx.CurrentItem.YomiDisplayName);
    var displayName = Srch.U.getSingleHHXMLNodeValue(hhProps, "preferredname");
    if ($isEmptyString(displayName)) { displayName = encodedName }
    _#-->
    <div id="NameValue" class="ms-srch-ellipsis ms-textLarge">
    <a clicktype="Result" id="NameFieldLink" href="_#= encodedPath =#_" title="_#= encodedName =#_">_#= displayName =#_</a>
    </div>
    </div>
    <!--#_
    if(has_jt == true) {
    _#-->
    <div id="JobTitleField">
    <!--#_
    var encodedJtitle = $htmlEncode(ctx.CurrentItem.JobTitle);
    var displayJtitle = Srch.U.getSingleHHXMLNodeValue(hhProps, "jobtitle");
    if ($isEmptyString(displayJtitle)) { displayJtitle = encodedJtitle }
    _#-->
    <div id="JobTitleValue" class="ms-srch-ellipsis" title="_#= encodedJtitle =#_"> _#= displayJtitle =#_ </div>
    </div>
    <!--#_
    _#-->
    <!--#_
    if(has_dp == true) {
    _#-->
    <div id="DepartmentField">
    <!--#_
    var encodedDept = $htmlEncode(ctx.CurrentItem.Department);
    var displayDept = Srch.U.getSingleHHXMLNodeValue(hhProps, "department");
    if ($isEmptyString(displayDept)) { displayDept = encodedDept }
    _#-->
    <div id="DepartmentValue" class="ms-srch-ellipsis" title="_#= encodedDept =#_"> <b>_#= displayDept =#_</b> </div>
    </div>
    <!--#_
    _#-->
    <!--#_
    if(has_org == true) {
    _#-->
    <div id="Organization">
    <!--#_
    var encodedorg = $htmlEncode(ctx.CurrentItem.Organization);
    var displayorg = Srch.U.getSingleHHXMLNodeValue(hhProps, "Organization");
    if ($isEmptyString(displayorg)) { displayorg = encodedorg }
    _#-->
    <div id="OrganizationValue" class="ms-srch-ellipsis" title="_#= encodedorg =#_"> _#= displayorg =#_ </div>
    </div>
    <!--#_
    _#-->
    <hr>
    <!--#_
    if(has_olocator == true) {
    _#-->
    <div id="OfficeLocator">
    <!--#_
    var encodedolocator = $htmlEncode(ctx.CurrentItem.OfficeLocator);
    var displayolocator = Srch.U.getSingleHHXMLNodeValue(hhProps, "OfficeLocator");
    if ($isEmptyString(displayolocator)) { displayolocator = encodedolocator }
    _#-->
    <div id="OfficeLocatorValue" class="ms-srch-ellipsis" title="_#= encodedolocator =#_"> <b>Office Locator:</b> <a clicktype="Result" id="NameFieldLink" href="_#= ctx.CurrentItem.OfficeLocator =#_">_#= ctx.CurrentItem.OfficeNumber =#_</a></div>
    </div>
    <!--#_
    _#-->
    <!--#_
    if(has_bolocation == true) {
    _#-->
    <div id="OfficeBaseLocation">
    <!--#_
    var encodedbolocation = $htmlEncode(ctx.CurrentItem.BaseOfficeLocation);
    var displaybolocation = Srch.U.getSingleHHXMLNodeValue(hhProps, "BaseOfficeLocation");
    if ($isEmptyString(displaybolocation)) { displaybolocation = encodedbolocation }
    _#-->
    <div id="BaseOfficeLocationValue" class="ms-srch-ellipsis" title="_#= encodedbolocation =#_"> <b>Office Location:</b> _#= displaybolocation =#_ </div>
    </div>
    <hr>
    <!--#_
    _#-->
    <!--#_
    if(has_wphone == true) {
    _#-->
    <div id="WorkPhone">
    <!--#_
    var encodedwphone = $htmlEncode(ctx.CurrentItem.WorkPhone);
    var displaywphone = Srch.U.getSingleHHXMLNodeValue(hhProps, "WorkPhone");
    if ($isEmptyString(displaywphone)) { displaywphone = encodedwphone }
    _#-->
    <div id="WorkPhoneValue" class="ms-srch-ellipsis" title="_#= encodedwphone =#_"> <b>Office Phone:</b> _#= displaywphone =#_ </div>
    </div>
    <!--#_
    _#-->
    <!--#_
    if(has_mphone == true) {
    _#-->
    <div id="MobilePhone">
    <!--#_
    var encodedmphone = $htmlEncode(ctx.CurrentItem.MobilePhone);
    var displaymphone = Srch.U.getSingleHHXMLNodeValue(hhProps, "MobilePhone");
    if ($isEmptyString(displaymphone)) { displaymphone = encodedmphone }
    _#-->
    <div id="MobilePhoneValue" class="ms-srch-ellipsis" title="_#= encodedmphone =#_"> <b>Mobile Phone:</b> _#= displaymphone =#_ </div>
    </div>
    <!--#_
    _#-->
    <!--#_
    if(has_hphone == true) {
    _#-->
    <div id="HomePhone">
    <!--#_
    var encodedhphone = $htmlEncode(ctx.CurrentItem.HomePhone);
    var displayhphone = Srch.U.getSingleHHXMLNodeValue(hhProps, "HomePhone");
    if ($isEmptyString(displayhphone)) { displayhphone = encodedhphone }
    _#-->
    <div id="HomePhoneValue" class="ms-srch-ellipsis" title="_#= encodedhphone =#_"> <b>Home Phone:</b> _#= displayhphone =#_ </div>
    </div>
    <!--#_
    _#-->
    <hr>
    <!--#_
    if(has_email == true) {
    _#-->
    <div id="WorkEmail">
    <!--#_
    var encodedemail = $htmlEncode(ctx.CurrentItem.WorkEmail);
    var displayemail = Srch.U.getSingleHHXMLNodeValue(hhProps, "WorkEmail");
    if ($isEmptyString(displayemail)) { displayemail = encodedemail }
    _#-->
    <div id="WorkEmailValue" class="ms-srch-ellipsis" title="_#= encodedemail =#_"> <b>Foundation Email:</b> _#= displayemail =#_ </div>
    </div>
    <!--#_
    _#-->
    <!--#_
    if(has_universityemail == true) {
    _#-->
    <div id="UniversityEmail">
    <!--#_
    var encodeduniversityemail = $htmlEncode(ctx.CurrentItem.UniversityEmail);
    var displayuniversityemail = Srch.U.getSingleHHXMLNodeValue(hhProps, "UniversityEmail");
    if ($isEmptyString(displayuniversityemail)) { displayuniversityemail = encodeduniversityemail }
    _#-->
    <div id="UniversityEmailValue" class="ms-srch-ellipsis" title="_#= encodeduniversityemail =#_"> <b>University Email:</b> _#= displayuniversityemail =#_ </div>
    </div>
    <!--#_
    _#-->
    <hr>
    <!--#_
    if(has_assistant == true) {
    _#-->
    <div id="Assistant">
    <!--#_
    var encodedassistant = $htmlEncode(ctx.CurrentItem.Assistant);
    var displayassistant = Srch.U.getSingleHHXMLNodeValue(hhProps, "Assistant");
    if ($isEmptyString(displayassistant)) { displayassistant = encodedassistant }
    _#-->
    <div id="AssistantValue" class="ms-srch-ellipsis" title="_#= encodedassistant =#_"> <b>Assistant:</b> _#= displayassistant =#_ </div>
    </div>
    <!--#_
    _#-->
    <!--#_
    if(has_calendarscheduling == true) {
    _#-->
    <div id="CalendarScheduling">
    <!--#_
    var encodedcalendarscheduling = $htmlEncode(ctx.CurrentItem.CalendarScheduling);
    var displaycalendarscheduling = Srch.U.getSingleHHXMLNodeValue(hhProps, "CalendarScheduling");
    if ($isEmptyString(displaycalendarscheduling)) { displaycalendarscheduling = encodedcalendarscheduling }
    _#-->
    <div id="CalendarSchedulingValue" class="ms-srch-ellipsis" title="_#= encodedcalendarscheduling =#_"> <b>Calendar/Scheduling:</b> _#= displaycalendarscheduling =#_ </div>
    </div>
    <!--#_
    _#-->
    <hr>
    </div>
    <!--#_
    if(has_resp == true || has_ski == true || has_pp == true || has_int == true || has_sch == true) {
    _#-->
    <div id="MoreInfoShort">
    <!--#_
    if(has_resp == true) {
    var encodedVal = Srch.U.getMultipleHHXMLNodeValues(hhProps, "responsibilities", 3, delimiter);
    if (Srch.U.e(encodedVal)) { encodedVal = $htmlEncode(Srch.U.getUnEncodedMultiValuedResults(ctx.CurrentItem.Responsibilities, 3, delimiter))}
    if (!Srch.U.e(encodedVal)) {
    _#-->
    <div id="ResponsibilitiesValue" class="ms-srch-ellipsis">
    <span id="FieldTitle" class="ms-soften"> _#= $htmlEncode(Srch.Res.item_People_Responsibilities) =#_ </span>
    _#= encodedVal =#_
    </div>
    <!--#_
    _#-->
    <!--#_
    } else if(has_ski == true) {
    var encodedVal = Srch.U.getMultipleHHXMLNodeValues(hhProps, "skills", 3, delimiter);
    if (Srch.U.e(encodedVal)) { encodedVal = $htmlEncode(Srch.U.getUnEncodedMultiValuedResults(ctx.CurrentItem.Skills, 3, delimiter))}
    if (!Srch.U.e(encodedVal)) {
    _#-->
    <div id="SkillsValue" class="ms-srch-ellipsis">
    <span id="FieldTitle" class="ms-soften"> _#= $htmlEncode(Srch.Res.item_People_Skills) =#_ </span>
    _#= encodedVal =#_
    </div>
    <!--#_
    _#-->
    <!--#_
    } else if(has_pp == true) {
    var encodedVal = Srch.U.getMultipleHHXMLNodeValues(hhProps, "pastprojects", 3, delimiter);
    if (Srch.U.e(encodedVal)) { encodedVal = $htmlEncode(Srch.U.getUnEncodedMultiValuedResults(ctx.CurrentItem.PastProjects, 3, delimiter))}
    if (!Srch.U.e(encodedVal)) {
    _#-->
    <div id="PastProjectsValue" class="ms-srch-ellipsis">
    <span id="FieldTitle" class="ms-soften"> _#= $htmlEncode(Srch.Res.item_People_PastProjects) =#_ </span>
    _#= encodedVal =#_
    </div>
    <!--#_
    _#-->
    <!--#_
    } else if(has_int == true) {
    var encodedVal = Srch.U.getMultipleHHXMLNodeValues(hhProps, "interests", 3, delimiter);
    if (Srch.U.e(encodedVal)) { encodedVal = $htmlEncode(Srch.U.getUnEncodedMultiValuedResults(ctx.CurrentItem.Interests, 3, delimiter))}
    if (!Srch.U.e(encodedVal)) {
    _#-->
    <div id="InterestsValue" class="ms-srch-ellipsis">
    <span id="FieldTitle" class="ms-soften"> _#= $htmlEncode(Srch.Res.item_People_Interests) =#_ </span>
    _#= encodedVal =#_
    </div>
    <!--#_
    _#-->
    <!--#_
    } else if(has_sch == true){
    var encodedVal = Srch.U.getMultipleHHXMLNodeValues(hhProps, "schools", 3, delimiter);
    if (Srch.U.e(encodedVal)) { encodedVal = $htmlEncode(Srch.U.getUnEncodedMultiValuedResults(ctx.CurrentItem.Schools, 3, delimiter))}
    if (!Srch.U.e(encodedVal)) {
    _#-->
    <div id="SchoolsValue" class="ms-srch-ellipsis">
    <span id="FieldTitle" class="ms-soften"> _#= $htmlEncode(Srch.Res.item_People_Schools) =#_ </span>
    _#= encodedVal =#_
    </div>
    <!--#_
    _#-->
    <!--#_
    _#-->
    </div>
    <!--#_
    _#-->
    <!--#_
    if(has_abme == true || has_ski == true || has_pp == true || has_int == true) {
    _#-->
    <div id="MoreInfoLong">
    <!--#_
    if(has_abme == true) {
    var encodedVal = Srch.U.getTrimmedProcessedHHXMLString(Srch.U.getSingleHHXMLNodeValue(hhProps, "aboutme"), 125);
    if (Srch.U.e(encodedVal)) { encodedVal = $htmlEncode(Srch.U.getTrimmedString(ctx.CurrentItem.AboutMe, 125)) }
    if (!Srch.U.e(encodedVal)) {
    _#-->
    _#= encodedVal =#_
    <!--#_
    _#-->
    <!--#_
    } else if(has_ski == true && has_resp == true) {
    var encodedVal = Srch.U.getTrimmedProcessedHHXMLString(Srch.U.getMultipleHHXMLNodeValues(hhProps, "skills", 3, delimiter), 125);
    if (Srch.U.e(encodedVal)) { encodedVal = $htmlEncode(Srch.U.getTrimmedString(Srch.U.getUnEncodedMultiValuedResults(ctx.CurrentItem.Skills, 3, delimiter), 125)) }
    if (!Srch.U.e(encodedVal)) {
    _#-->
    <span id="FieldTitle" class="ms-soften"> _#= $htmlEncode(Srch.Res.item_People_Skills) =#_ </span>
    _#= encodedVal =#_
    <!--#_
    _#-->
    <!--#_
    } else if(has_pp == true && (has_ski == true || has_resp == true)) {
    var encodedVal = Srch.U.getTrimmedProcessedHHXMLString(Srch.U.getMultipleHHXMLNodeValues(hhProps, "pastprojects", 3, delimiter), 125);
    if (Srch.U.e(encodedVal)) { encodedVal = $htmlEncode(Srch.U.getTrimmedString(Srch.U.getUnEncodedMultiValuedResults(ctx.CurrentItem.PastProjects, 3, delimiter), 125)) }
    if (!Srch.U.e(encodedVal)) {
    _#-->
    <span id="FieldTitle" class="ms-soften"> _#= $htmlEncode(Srch.Res.item_People_PastProjects) =#_ </span>
    _#= encodedVal =#_
    <!--#_
    _#-->
    <!--#_
    } else if(has_int == true && (has_pp == true || has_ski == true || has_resp == true)) {
    var encodedVal = Srch.U.getTrimmedProcessedHHXMLString(Srch.U.getMultipleHHXMLNodeValues(hhProps, "interests", 3, delimiter), 125);
    if (Srch.U.e(encodedVal)) { encodedVal = $htmlEncode(Srch.U.getTrimmedString(Srch.U.getUnEncodedMultiValuedResults(ctx.CurrentItem.Interests, 3, delimiter), 125)) }
    if (!Srch.U.e(encodedVal)) {
    _#-->
    <span id="FieldTitle" class="ms-soften"> _#= $htmlEncode(Srch.Res.item_People_Interests) =#_ </span>
    _#= encodedVal =#_
    <!--#_
    _#-->
    <!--#_
    _#-->
    </div>
    <!--#_
    _#-->
    <!--#_
    if(isSelfSrch == true) {
    _#-->
    <hr class="ms-srch-people-item-separator" />
    <div id="SelfSearchInfo">
    <div id="Heading">
    <a id="EditProfileLink" href="_#= $urlHtmlEncode(ctx.CurrentItem.EditProfileUrl) =#_"> _#= $htmlEncode(Srch.Res.item_People_EditProfileLink) =#_ </a>
    </div>
    <div id="Frequency">
    <span id="FieldTitle" class="ms-soften"> _#= $htmlEncode(Srch.Res.item_People_SelfSearchFrequency) =#_ </span>
    <ul id="FrequencyCard">
    <li id="MonthlyViews">
    <!--#_
    var encodedVal = (ctx.CurrentItem.ProfileViewsLastMonth == 1) ? $htmlEncode(String.format(Srch.Res.item_People_SelfSearchFrequency_ViewsMonths_Singular, ctx.CurrentItem.ProfileViewsLastMonth)) :
    $htmlEncode(String.format(Srch.Res.item_People_SelfSearchFrequency_ViewsMonths_Plural, ctx.CurrentItem.ProfileViewsLastMonth));
    _#-->
    _#= encodedVal =#_
    </li>
    <li id="DailyViews">
    <!--#_
    var encodedVal = (ctx.CurrentItem.ProfileViewsLastWeek == 1) ? $htmlEncode(String.format(Srch.Res.item_People_SelfSearchFrequency_ViewsWeeks_Singular, ctx.CurrentItem.ProfileViewsLastWeek)) :
    $htmlEncode(String.format(Srch.Res.item_People_SelfSearchFrequency_ViewsWeeks_Plural, ctx.CurrentItem.ProfileViewsLastWeek));
    _#-->
    _#= encodedVal =#_
    </li>
    </ul>
    </div>
    <!--#_
    if(has_query == true) {
    _#-->
    <div id="Keywords">
    <span id="FieldTitle" class="ms-soften"> _#= $htmlEncode(Srch.Res.item_People_SelfSearchKeywords) =#_ </span>
    <!--#_
    var encodedVal = $htmlEncode(Srch.U.getTrimmedString(Srch.U.getUnEncodedMultiValuedResults(ctx.CurrentItem.ProfileQueriesFoundYou, 5, delimiter), 84));
    if (!Srch.U.e(encodedVal)) {
    _#-->
    _#= encodedVal =#_
    <!--#_
    _#-->
    </div>
    <!--#_
    _#-->
    <!--#_
    if(!Srch.U.n(ctx.CurrentItem.LastModifiedTime))
    var lastModifiedTime = ctx.CurrentItem.LastModifiedTime;
    var encodedLastModifiedTimeId = $htmlEncode(id + "_lastModifiedTime");
    AddPostRenderCallback(ctx, function()
    Srch.U.renderFriendlyTimeIntervalString(lastModifiedTime, encodedLastModifiedTimeId);
    _#-->
    <div id="LastModifiedTime">
    <span class="ms-textSmall">_#= $htmlEncode(Srch.Res.item_People_LastModified) =#_</span>
    <span id="_#= encodedLastModifiedTimeId =#_" class="ms-textSmall ms-srch-ellipsis"></span>
    </div>
    <!--#_
    _#-->
    </div>
    <!--#_
    _#-->
    </div>
    </div>
    </div>
    <!--#_
    AddPostRenderCallback(ctx, function(){
    EnsureScriptFunc("clienttemplates.js", "RenderUserFieldWorker", function() {
    var getUserPersona = function() {
    var renderCtx = new ContextInfo();
    renderCtx.Templates = {};
    renderCtx.Templates["Fields"] = {};
    var fieldSchemaData = { "PictureOnly":"1", "PictureSize": "Size_72px"};
    var listSchema = {"EffectivePresenceEnabled": "1", "PresenceAlt": Srch.Res.item_People_NoPresenceAvailable};
    var userData = {"title": uName, "email": uEmail, "picture": uPicUrl, "sip": uSip};
    var personaControlElement = document.getElementById(userPersonaId);
    if (!Srch.U.n(personaControlElement))
    personaControlElement.innerHTML = RenderUserFieldWorker(renderCtx, fieldSchemaData, userData, listSchema);
    if(typeof(ctx.EnqueueImnRequest) == "undefined") { ctx.EnqueueImnRequest = false; }
    if (ctx.EnqueueImnRequest == false) {
    ctx.ClientControl.add_oneTimeResultRendered(function(){ if (typeof(ProcessImn) != "undefined") { ProcessImn(); } });
    ctx.EnqueueImnRequest = true;
    getUserPersona();
    _#-->
    <!--#_
    _#-->
    </div>
    </body>
    </html>

    Hi,
    According to your post, my understanding is that you have an issue about adding fields in people search results page.
    Per my knowledge, there is no issue in your steps, and the issue may be related to the search crawl in SharePoint online.
    For SharePoint server on-premise, we can start the search full crawl, however, for SharePoint online, we could not start the search full crawl manually.
    You can wait for some time to complete the search full crawl in SharePoint online, then check whether it works.
    As this is the forum for SharePoint server on-premise, I’m not familiar with the SharePoint online search crawl, for this issue, I recommend you can post a new question in the forum for Office 365/SharePoint online.
    http://community.office365.com/en-us/forums/154.aspx
    More experts will assist you, then you will get more information relation to SharePoint Online.
    Thank you for your understanding and support.
    Thanks,
    Jason
    Forum 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]
    Jason Guo
    TechNet Community Support

  • Unable to open pdf files from search results page in Office 365 site

    Hi folks,
    I am getting this issue since a while now. In office 365 site, if I click on links that points to pdf files in search results page, I get this -
    “The filename, directory name, or volume label syntax is incorrect”. 
    These pdf files are stored in the same site and I am able to open them in adobe reader directly from the document library but not from the search results page.
    I have already gone this post and doesn't help me -
    https://social.msdn.microsoft.com/Forums/sharepoint/en-US/545efcc6-b748-4df8-aee0-7f57f778ad1e/sharepoint-2010-opening-pdfs-in-search-results-the-filename-directory-name-or-volume-label?forum=sharepointgeneralprevious
    Any help or pointer is much appreciated.
    Thanks,
    Manvir
    Manvir

    Hi,
    Besides pamma has suggested, here are similar issues, you can take a look at:
    http://unsolicitedbutoffered.blogspot.com/2014/01/quick-fix-volume-syntax-error-when.html
    http://crowdsupport.telstra.com.au/t5/T-Suite-Applications/There-was-an-error-opening-this-document-The-filename-directory/td-p/197425
    Best Regards,
    Lisa Chen
    Forum 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]
    Lisa Chen
    TechNet Community Support

  • 11.5.9/OAF 5.7 : how to add new fields in iProc "search results" page

    We need to add new fields into iProc "search results" page - "Personalize Self-Service Defn" is et, we can enter the personalization screens (from both the "master" link at top/right page level or from the link above the region) - anyway cannot find how to add new fields. Do we have to go to AK developer and/or XML files or is it feasable from OAF (as it is with 11510) ? TIA.

    It depends on what fields you want to add.
    1. If Oracle has included the fields, just render them via personalizations
    2. If they are brand new fields:
    a) you will need to extend the VO (I do not know the exact name).
    b) change the query to get your extra db columns if necesary
    c) add transient attributes to the VO and map them to b).
    d) Then you need to add the items via personalization and map them to the attributes you created in c)
    Check on metalink for the lates version of OAF Dev Guide and Personalization guide.
    Thanks
    Sandeep

  • Setting Custom Master page in search results page - Publishing site

    Hi,
    I have a publishing site, in which i have a custom Master page.
    However when doing the search in the site, the search results does not show the custom Master page.
    Is it possible to set the custom created Master page for the search results page? How to achieve this?
    Thanks

    Hi Venkat,
    The search page for a publishing site is a file available in the layouts folder (I believe it is the osssearchresults.aspx if you see the address bar). It is used by all web applications and site collections in your farm. So ideally you should not change
    it. I mean you can change it to point to your master page but it is bad practice ..
    I would instead do the following
    1. Create a custom search results web part page and place it in the site collection itself (one of the document libraries)
    2. Custom search results is not difficult because all search results pages are made of a set of Out of the box search results web parts. If you add the same webparts to your page as the default search results page, you have effectively created a copy of
    it
    3. go to site settings --> search settings and change the search results page to your newly created page
    4. The newly created page by virtue of its location will automatically use the master page the rest of the site uses.
    I could not spend the time to try the above for you but I am sure the above will work.
    Thanks and Regards,
    Partha
    AvePoint

  • Problems getting files to open in browser from SP 2010 search results page

    We are in day 4 of having upgraded from MOSS 2007 to SharePoitn 2010 via database attach.
    When a user looks in their document library, and clicks on a PDF, they are asked if they want to check out and open or just open, and when they make the selection, acrobat reader opens the doc.
    When a user performs a search on the same library, and clicks on a PDF in the results page, the user is prompted if they wish to download the file, and then, after they save it, the file is downloaded and nothing else happens.
    The users do not want their disks filled with unnecessary copies of files.
    Note that I did add an "application/pdf" mime type to the allowedInlineDownloadedMimeTypes property .
    This is only occuring when using the download results page.
    Does anyone know a fix for this?
    Thank you.

    Hi lwvirden,
    Generally, if the PDF is added to the Web Application's AllowedInlineDownloadedMimeTypes property , the PDF files will open in browser when clicking them regardless of on the search result page or the document library.
    I recommend to delete the PDF from the Web Application's AllowedInlineDownloadedMimeTypes property and then re-add it to see if the issue still occurs.
    Here is a table summarizes the various PDF rendering behaviors in search and library in the link below(same for SharePoint 2010):
    http://stevemannspath.blogspot.in/2013/04/sharepoint-2013-pdf-support-and.html
    More reference:
    http://social.technet.microsoft.com/wiki/contents/articles/8073.sharepoint-browser-file-handling-deep-dive.aspx#DownloadFunctions
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Access query strings in a search results page with custom display template

    am trying to create a  custom display template in my search results page , so i went to download the itemdefault html file and renamed it and  saved as  different file.and  am started to updating.
    the issue i am facing here is : in my  search results page there are 2 query strings, which are passed by anotehr .net appln[ another asp.net appln will be sending the query string to my sp 2013 search results page]
    but, how can i  read these 2  query strings using jslink and  new token _#- ? 
             <!--#_
               var QStringResults= null;
    ctx.OnPostRender = [];
    ctx.OnPostRender.push(function(){ 
    QStringResults= getQuString(); //here am unable to read the QStringResults value 
     _#-->  
    the below is my cstomhtml file
    am unable to  get the values :
                   <a href="http://srvrname:2013/sites/CMP/_layouts/15/BIFAddInputRef/bifpage1.aspx?bif1=_#= $htmlEncode(QStringResults) =#_"> Add Input Reference </a>
    <html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"> 
    <head>
    <title>Item BIF</title>
    <!--[if gte mso 9]><xml>
    <mso:CustomDocumentProperties>
    <mso:TemplateHidden msdt:dt="string">0</mso:TemplateHidden>
    <mso:MasterPageDescription msdt:dt="string">Displays the default result item template.</mso:MasterPageDescription>
    <mso:ContentTypeId msdt:dt="string">0x0101002039C03B61C64EC4A04F5361F385106603</mso:ContentTypeId>
    <mso:TargetControlType msdt:dt="string">;#SearchResults;#</mso:TargetControlType>
    <mso:HtmlDesignAssociated msdt:dt="string">1</mso:HtmlDesignAssociated>
    <mso:ManagedPropertyMapping msdt:dt="string">'Title':'Title','Path':'Path','Description':'Description','EditorOWSUSER':'EditorOWSUSER','LastModifiedTime':'LastModifiedTime','CollapsingStatus':'CollapsingStatus','DocId':'DocId','HitHighlightedSummary':'HitHighlightedSummary','HitHighlightedProperties':'HitHighlightedProperties','FileExtension':'FileExtension','ViewsLifeTime':'ViewsLifeTime','ParentLink':'ParentLink','FileType':'FileType','IsContainer':'IsContainer','SecondaryFileExtension':'SecondaryFileExtension','DisplayAuthor':'DisplayAuthor','CMPBIFURL2':'CMPBIFURL2'</mso:ManagedPropertyMapping>
    <mso:_dlc_DocId msdt:dt="string">X3CVW7PXYF6P-3-222</mso:_dlc_DocId>
    <mso:_dlc_DocIdItemGuid msdt:dt="string">3ed12157-ea19-4591-b9cd-7a826aef35dc</mso:_dlc_DocIdItemGuid>
    <mso:_dlc_DocIdUrl msdt:dt="string">http://srvrname:2013/sites/CMP/_layouts/15/DocIdRedir.aspx?ID=X3CVW7PXYF6P-3-222, X3CVW7PXYF6P-3-222</mso:_dlc_DocIdUrl>
    </mso:CustomDocumentProperties>
    </xml><![endif]-->
    </head>
    <body>
        <script>
            $includeLanguageScript(this.url,"~sitecollection/_catalogs/masterpage/Display Templates/Search/BIFJScript.js");
        </script>
        <div id="Item_BIF2">
    <!--#_ 
            if(!$isNull(ctx.CurrentItem) && !$isNull(ctx.ClientControl)){
                var id = ctx.ClientControl.get_nextUniqueId();
                var itemId = id + Srch.U.Ids.item;
    var hoverId = id + Srch.U.Ids.hover;
    var hoverUrl = "~sitecollection/_catalogs/masterpage/Display Templates/Search/Item_Default_HoverPanel.js";
                $setResultItem(itemId, ctx.CurrentItem);
    if(ctx.CurrentItem.IsContainer){
    ctx.CurrentItem.csr_Icon = Srch.U.getFolderIconUrl();
    ctx.currentItem_ShowHoverPanelCallback = Srch.U.getShowHoverPanelCallback(itemId, hoverId, hoverUrl);
                ctx.currentItem_HideHoverPanelCallback = Srch.U.getHideHoverPanelCallback();
    _#-->
             <!--#_
               var QStringResults= null;
    ctx.OnPostRender = [];
    ctx.OnPostRender.push(function(){ 
    QStringResults= getQuString();
     _#-->  
            <div id="_#= $htmlEncode(QStringResults) =#_" name="bifItemqstring" 
                    data-displaytemplate="DefaultItem" class="ms-srch-item" 
                    >
                    <h5 style="color:ghostwhite;background-color:black">
                        <a href="_#= ctx.CurrentItem.Path =#_"> _#= ctx.CurrentItem.Path =#_</a>
                    </h5>
                </div>
                <div id="_#= $htmlEncode(itemId) =#_" name="bifItem" 
                    data-displaytemplate="DefaultItem" class="ms-srch-item" 
                    onmouseover="_#= ctx.currentItem_ShowHoverPanelCallback =#_" 
                    onmouseout="_#= ctx.currentItem_HideHoverPanelCallback =#_">
                    <h1 style="color:ghostwhite;background-color:black">
                        <a href="_#= ctx.CurrentItem.Path =#_"> _#= ctx.CurrentItem.Path =#_</a>
                    </h1>
                    <h4 style="color:ghostwhite;background-color:black">
                        <a href="_#= ctx.CurrentItem.Description =#_"> _#= ctx.CurrentItem.Description =#_</a>
                    </h4>
                    <h4 style="color:ghostwhite;background-color:black">
                        <a href="_#= ctx.CurrentItem.LastModifiedTime =#_"> _#= ctx.CurrentItem.LastModifiedTime =#_</a>
                    </h4>
                    <h3 style="color:floralwhite;background-color:green">
                        var mybifurl1= document.getElementById($htmlEncode(QStringResults));
                    <a href="http://srvrname:2013/sites/CMP/_layouts/15/BIFAddInputRef/bifpage1.aspx?bif1=_#= $htmlEncode(QStringResults) =#_"> Add Input Reference </a>
                    </h3>
                  </div>
            <div>
            </div>
                    <div id="_#= $htmlEncode(hoverId) =#_" class="ms-srch-hover-outerContainer"></div>
    <!--#_ 
    _#-->
        </div>
    </body>
    </html>
    when i run the page , i a getting the query string value as   undefined! though the custom javascript is getting called.

    i am able to get the  results  by implementing the below:
    <h4 style="background-color:black">
                        <a onclick="javascript:mycalltojs(_#=
    ctx.CurrentItem.Path=#_) > click here </a>
                    </h4>
    hope this helps  anyone

  • Get inside the document search result page

    In the document libary, there is a microsoft word document which has more than 100 pages. The user will search for  a specific sentence in one of the section inside the document using SharePoint 2013 search.
    The user will get the search document link in the search result page.
    Is there any option in SharePoint itself or using Third Party Plug in , when the user clicks on the search result link, the document will open the exact page where the search keyword is present ?

    I think it is not possible now.
    http://answers.microsoft.com/en-us/office/forum/officeonline-word_online/pass-search-keywords-through-querystring-to-office/b4d1fb39-1043-406b-92ec-b49c83e6911e

  • How do I get the top links in the search results page to display the folder?

    In the search results page, if you click on the top link from each result, it only brings up the description. Not much use as a link, so was wondering how you display the folder from this link.

    Is this for the general public or just for you?  If it is for the general public then insert this code at the top of the page:
    <TITLE>---</TITLE>
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    </HEAD>
    And also at the end of the file after the closing body tag:
    </BODY>
    <HEAD>
    <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
    </HEAD>
    </HTML>
    It is unorthodox but it works.

  • Different Files Returned when using the Drop Down list on the Search Results Page

    Hi
    I have a result set of 22 documents when I select Date (Newest) from the drop down on the search results page.  The third document down is called "LL".
    If I now select Date (Oldest) I have a result Set of 22 documents. However, when I move to the second page.  The number of documents has reduced to 20 documents and my document "LL" which I would have expected to be the third from bottom document
    is not there.
    Am I doing something wrong here ?  Search is OOTB.  I have added some refiner columns.
    Regards
    Nigel
    Nigel Price NJPEnterprises

    Hi Nigel,
    It is by design. The "About x results" is presented when the total number of results is uncertain, and that is when collapsing (i.e. duplicate detection in this case) is enabled and the result set is partially processed. By default, a result page
    shows 10 results at the time. Therefore, for result sets with less than or equal to 10 results you will always get an accurate number of results and hence “About” is omitted. For more than 10 results you will get the “About x results” on the first page until
    you get to the last page of results and only then we know the exact number of results and hence can omit the “About”.
    Note that when you page out in the result set you will notice that the X in the “About X results” can vary quite a lot. That is because the total number of results is estimated based on the collapsing done so far. This is a common way of doing it by other
    search engines as well.
    Here is a simlar post for your reference:
    http://spbreed.wordpress.com/2013/09/14/sharepoint-2013-solution-to-inconsistent-search-results-count/
    I hope this helps.
    Thanks,
    Wendy
    Forum 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]
    Wendy Li
    TechNet Community Support

  • Search form and search results page

    Hi! I really need some help with my search and search results page. I'm a newbie and am trying to get my site built. My search page will be the most important page and is quite complex. It will have 11 drop down boxes and 8 radio buttons. I have my form set up on the search page. When I try to run it now it returns all results. Because I have so many fields I didn't want to post it all but, here's what my code looks like for my first drop down box:
    <select name="area_search[]" multiple="multiple" id="area_search" form="search" >
                <option selected="selected" value="" <?php if (!(strcmp("", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Any</option>
                <option value="Downtown" <?php if (!(strcmp("Downtown", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Downtown</option>
                <option value="Jackson County East" <?php if (!(strcmp("Jackson County East", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Jackson County East</option>
                <option value="Johnson County" <?php if (!(strcmp("Johnson County", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Johnson County</option>
                <option value="Johnson County North" <?php if (!(strcmp("Johnson County North", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Johnson County North</option>
                <option value="Johnson County South" <?php if (!(strcmp("Johnson County South", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Johnson County South</option>
    <option value="Midtwon" <?php if (!(strcmp("Midtwon", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Midtown</option>
    <option value="North Kansas City" <?php if (!(strcmp("North Kansas City", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>North Kansas City</option>
    <option value="Northland" <?php if (!(strcmp("Northland", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Northland</option>
                <option value="Plaza" <?php if (!(strcmp("Plaza", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>Plaza</option>
                <option value="South Kansas City" <?php if (!(strcmp("South Kansas City", $row_rs_searchpropertyinfo['Area']))) {echo "selected=\"selected\"";} ?>>South Kansas City</option>
    </select>
    This is the code for a radio button:
    <input <?php if (!(strcmp($row_rs_searchpropertyinfo['Washer_dryer_in_unit'],"yes"))) {echo "checked=\"checked\"";} ?> name="radio_washerdryerinunit" type="radio" id="radio" form="search" value="yes"/>
    The searchresults.php page:
    <?php require_once('/Connections/Property_Info.php'); ?>
    <?php
    if (!function_exists("GetSQLValueString")) {
    function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "")
      if (PHP_VERSION < 6) {
        $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue;
      $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue);
      switch ($theType) {
        case "text":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;   
        case "long":
        case "int":
          $theValue = ($theValue != "") ? intval($theValue) : "NULL";
          break;
        case "double":
          $theValue = ($theValue != "") ? doubleval($theValue) : "NULL";
          break;
        case "date":
          $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL";
          break;
        case "defined":
          $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue;
          break;
      return $theValue;
    $var_area_search_rs_searchpropertyinfo = "%";
    if (isset($_POST['area_search'])) {
      $var_area_search_rs_searchpropertyinfo = $_POST['area_search'];
    mysql_select_db($database_Property_Info, $Property_Info);
    $query_rs_searchpropertyinfo = sprintf("SELECT property_info.Area FROM property_info WHERE property_info.Area LIKE %var_area_search%", GetSQLValueString($var_area_search_rs_searchpropertyinfo, "text"));
    $rs_searchpropertyinfo = mysql_query($query_rs_searchpropertyinfo, $Property_Info) or die(mysql_error());
    $row_rs_searchpropertyinfo = mysql_fetch_assoc($rs_searchpropertyinfo);
    $totalRows_rs_searchpropertyinfo = mysql_num_rows($rs_searchpropertyinfo);
    ?>
                      <?php
    $rs_searchpropertyinfo_endRow = 0;
    $rs_searchpropertyinfo_columns = 5; // number of columns
    $rs_searchpropertyinfo_hloopRow1 = 0; // first row flag
    do {
        if($rs_searchpropertyinfo_endRow == 0  && $rs_searchpropertyinfo_hloopRow1++ != 0) echo "<tr>";
       ?>
                      <td><table width="330px" border="0" cellspacing="7" cellpadding="2">
                        <tr>
                          <td width="300" height="275" bgcolor="#000000"><p><img src="../Properties/Thumbnail_image/<?php echo $row_rs_searchpropertyinfo['Images']; ?>" alt="" width="290" height="290" /></p></td>
                        </tr>
                        <tr style="text-align: center; font-size: 22px; color: #940000;">
                          <td width="300" height="75" bgcolor="#000000"><?php echo $row_rs_searchpropertyinfo['Area']; ?>
                            <p> </p>
                            <p><?php echo $row_rs_searchpropertyinfo['Property_Name']; ?></p>
                            </td>
                        </tr>
                        <tr bgcolor="#F7080C" style="text-align: center; font-size: 18px; color: #050505;">
                          <td height="45" bgcolor="#940000" style="font-size: 14px"><img src="/images/Detail button.jpg" alt="Property Details" onClick="MM_openBrWindow('<?php echo $row_rs_searchpropertyinfo['KCRC_detail_page']; ?>','detail','width=600,height=600')"/></td>
                        </tr>
                        <tr bgcolor="#F7080C" style="text-align: center; font-size: 18px; color: #FFFFFF;">
                          <td height="29" bgcolor="#940000" style="font-size: 14px"><a href="/checkavailability.php" target="new"><img src="/images/Check availability button.jpg" alt="Check availability" onClick="MM_openBrWindow('./checkavailability.php','availability','width=600,height=600') "/></a></td>
                        </tr>
                        <tr bgcolor="#F7080C" style="text-align: center; font-size: 18px; color: #FFFFFF;">
                          <td height="29" bgcolor="#940000" style="font-size: 14px"><a href="/scheduletour.php" target="new"><img src="/images/Schedule tour button.jpg" alt="Schedule tour" onClick="MM_openBrWindow('./scheduletour.php','schedule','width=600,height=600')"/></a></ td>
                        </tr>
                        <tr bgcolor="#F7080C" style="text-align: center; font-size: 18px; color: #FFFFFF;">
                          <td height="29" bgcolor="#940000" style="font-size: 14px"><a href="/contactus.php" target="new"><img src="http://www.kcrentalcentral.com/images/Contact agent button.jpg" alt="Contact a Rental Agent to answer any of your questions" onClick="MM_openBrWindow('./contactus.php','contact','width=600,height=600')"/></a></td>
                        </tr>
                      </table></td>
                      <?php  $rs_searchpropertyinfo_endRow++;
    if($rs_searchpropertyinfo_endRow >= $rs_searchpropertyinfo_columns) {
      ?>
                    </tr>
                    <?php
    $rs_searchpropertyinfo_endRow = 0;
    } while ($row_rs_searchpropertyinfo = mysql_fetch_assoc($rs_searchpropertyinfo));
    if($rs_searchpropertyinfo_endRow != 0) {
    while ($rs_searchpropertyinfo_endRow < $rs_browsepages_columns) {
        echo("<td> </td>");
        $rs_searchpropertyinfo_endRow++;
    echo("</tr>");
    }?>
    As I said, I'm a newbie. Any help or guidance would be very much appreciated. THanks in advance!

    Thanks for that example, but that is the design based on different technology than mine (ADF BC, and I am using ADF, EJB3/JPA). The link I provided above nowhere presents <methodIterator> nor <methodAction> and these are generated automatically in the page definition file by JDev when you drag-drop collections onto the page. So obviously that manual (online help) does not reflect the internals of current JDev 10.1.3.2 operation. As the matter of fact complete XML schema format seems to be different (although similar to certain extent) than the schema format created by JDev 10.1.3.2

Maybe you are looking for

  • Help me reset my hp mini that's on windows xp pleaseeeee

    Hello my hp mini 110 windows xp is very slow and cluttered with stuf I don't. Need but I need it to be reset to factory settings I do not want any links just tell me how to reset it back to normal state like I just got it I've tryed going into the me

  • Payment Method Program

    Hi, I have below queries for Payment Method Program 1.     What are the standard options (programs: RFFO*) available for Payment Medium Program (Like RFFOEDI1, RFFOM100, RFFOAVIS, etc)? List of all standard programs. 2.     Can we create DME file and

  • Dynamic page based on directory content/structure

    I'm trying to build a web page based the content of a directory. I'm going to try and explain this as briefly as possible, yet still make sense. There are many more file than this, but an example of the directory of the index.html's looks like this:

  • Using an external projector

    My son was just given a G4 15" PowerBook and is trying to hook it up to a projector. he has all of the necessary cables but can't get the image to appear on the screen. On his Windows laptop there was a function key that would switch the image from t

  • Jre-1_5_0_09 silent installation on SunOS 5.8, Solaris 8

    HI I tried to preform a silent installation of jre-1_5_0_09 on SunOS 5.8 machine with Solaris 8, in several ways and I ran into the following problems: 1.)Creating the Installation Configuration File: ./jre-1_5_0_09-solaris-sparc.sh -savestate instal