Search Results Details

I've been considering migrating from Windows to Mac for the past year and have had the chance to test drive my girlfriend's machine, and my mom's also.
So far I find limitations that really seem discouraging and I'm wondering if the latest OS has fixed the limitation of search results in Finder: Can you display the file size, path, and other attributes in the search results?
Frankly I was stunned to find that I could search for say, files over 32MB but then not see their location in the Finder search results list.
Windows has had this ability as far back as I can remember, v3.1?

file path was always available in search results. it's displayed at the bottom. the number of other attributes you can list in search results was increased in snow leopard although it's not huge. switch to column or coverflow flow in a finder search window. then go to view->menu->show view options and check the boxes for columns you want to see. for some reason the size column is listed but is grayed out. that looks to be a bug. the following workaround lets you add the size column to the search results
http://www.macosxhints.com/article.php?story=2009083113534843

Similar Messages

  • Jump directly to search-result details if only one (1) hit

    I have a report where the user can limit the number of records shown via a couple of text fields. (do a search so to speak)
    In the report the user can click a link and see details for the given record.
    My customer would like the users to be taken directly to the details if the users search results in only one record.
    Has anyone done something similar ?
    best regards
    Christian

    This would be a way to do it:
    Say you have three pages:
    Page 1 - Search page (where you enter your search criteria and click a "Search" button)
    Page 2 - Search results page (lists multiple found records and has drill-down links to view details of any particular record)
    Page 3 - Record details page (shows details for just one record. This would be the page you are taken to when you drill down into a particular record from Page 2.)
    On Page 1 have an After Submit PL/SQL Process looking something like this:
    DECLARE
    recordCount number;
    uniqueRecordId number;
    BEGIN
    select count(*) into recordCount from your_table where some_column = :P1_YOUR_SEARCH_CRITERIA_ITEM and some_other_column = :P1_YOUR_SECOND_SEARCH_CRITERIA_ITEM);
    if recordCount = 1 then
    select ID into uniqueRecordId from your_table where some_column = :P1_YOUR_SEARCH_CRITERIA_ITEM and some_other_column = :P1_YOUR_SECOND_SEARCH_CRITERIA_ITEM;
    owa_util.redirect_url('f?p='||:APP_ID||':3:'||:APP_SESSION||'::::P3_ID:'||uniqueRecordId);
    else
    owa_util.redirect_url('f?p='||:APP_ID||':2:'||:APP_SESSION);
    end if;
    END;
    So if only one record is matched then you are automatically taken to Page 3 where the details of this one record can be shown (and you know which record to display as its ID has been passed in :P3_ID.) If more than one record (or zero records) are returned then you are taken to the search results page (Page 2) where your search results can be displayed as normal.
    Hope that's of some help,
    Andrew

  • Add hyperlink on the field txt in Search Result List to access Detail View

    Hi, SDN fellows.
    I have a PCUI requirement stated the following:
    1) In the line item of the Search Result List (table), there is one hyperlink in field 1.
    2) When click on the hyperlink, it will trigger the action to open up Detail View (Object Data Pattern 1 - ODP1) of the line item.
    3) Problem: When the value of the field is null, there will be no hyperlink to open up the Detail View.
    4) For work around, my requirement is to make the other fields (i.e. field 2) to have a hyperlink to trigger the action for opening the Detail View of the line item.
    I am not strong in PCUI. Please advise how to do so, while I am exploring the guide in the PCUI Book.
    Thanks,
    Kent

    Hello Kent,
    check out the settings of the Field Group element where the link is already active. Copy that settings to the Field which you want to be linked too.
    Regards
    Gregor

  • How to display the detailed navigation with the Search Results

    Hello Gurus,
    I was able to display the search results in the same frame rather than opening the new window and getting it displayed. Now when the search results are displayed, my detailed navigation and portal favorites etc.. all the iviews are automatically suppressed.
    Please help me displaying the search results with Navigation Panel.
    Regards
    V.

    Hi Vaibhav,
    What do you mean by suppressed?
    Is it gone, or just closed?
    If it is just closed, you can try 2 things:
    1. Check if the property "Initial State of Navigation Panel" of the page has any influence.
    2. There is a javascript method that opens it.
    You can see it by importing the file '<b>com.sap.portal.layouts.framework.par.bak</b>'.
    Navigate to
    System Administration -> Support -> Support Desk -> Portal Runtime -> Browse deployment
    then the folder
    ROOT/WEB-INF/deployment/pcd
    and press download.
    Import from par to Developer Studio, and check the javascript files under dist/PORTAL-INF for a function called something like 'expandTray'.
    Hope that helps,
    Yoav.

  • Remove details for web page object types in search results

    Within the search results, the first 200 characters are displayed for documents, web pages, etc.. Web pages show the HTML code. Is there a way to hide these details for web pages but have them visible for all other object types?

    The solution can be found in this thread: http://discussions.apple.com/thread.jspa?threadID=2456976
    Download Secrets at http://secrets.blacktree.com/
    Install the prefspane, select Safari in the left hand list, and uncheck "Use new URL completion list".
    You need to log out and log in again for it to work.

  • How to redirect search results to a webapp detail page

    Hello there, I am in the process of creating an interconnected series of webapps and I am trying to get the list view of one webapp to display on the detail view of another webapp. This is a bit difficult due to the fact that the webapps are dynamic and users will be submitting them.
    Here is essentially what I am trying to do:
    On the list view of webapp#1 I have a hidden form, that when submitted should display the search results of webapp#2 on the detail page of webapp#1. In order for this to work I have redirected my search form results as such:
    As you can see I have replaced the redirect URL with that of the detail view of webapp#1. This method of redirect has failed to work, when the search is performed I am redirected to a 'page not found' page. I have discussed it with BC Support and they say that it cannot be done in this way. If there is anyone out there who has an idea of how to go about this, I would be grateful. Unfortunately the best way to get my desired results is to submit a search for the relevant itemid that displays a list of the correct webapp items. I also cannot create an inline search for the results directly on the detail page of webapp#1 because I don't want the page to reload. If you know of a way to achieve what I am trying to do I would be grateful.
    Thank you for any and all help!

    Hi Prakash,
    SharePoint indexes each list item with the display form of the items in the lists.
    Although the web part is added to the page, the items in the web part are still be indexed from the original list. That is because the web part is rendering the items from the database where the original list stores.
    So per my knowledge, we can only get the list items with the display form in the search results.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Error while adding a 'Ext No' field to Activities Search Result List on UI

    Hi Experts,
    The requirement is to add a new display field u2018External Nou2019to the activities SEARCH Result list.
    At the moment activities are displayed with start date, end date and category, now the user want to display External No as well.
    The details for that
    Target:
    Component:BT126S_APPT
    View:bt126s_Appt/ApptSR
    Context Node:BTQRACT
    New attribute 'EXTERN_ACT_ID' to be added to the context node.
    Source: component: BT125H_TASK
    View: BT125H_TASK/TaskDetailsOV
    ContextNode:BTACTIVITYH
    Attribute:Struct.Extern_Act_Id
    BOL Relation:
    BOL ENTITY: BTQRAct
    BOL Attribute: BTADVSAct -> BTOrderHeader -> BTHeaderActivityExt/EXTERN_ACT_ID
    When i tried to added the attribute to the context node BTQRACT, it gave me the error 'method CL_BT126S_A_APPTSR_CTXT CREATE_BTQRACT DOES NOT EXIST.
    please give me some inputs.
    Regards
    Krishna

    Hi steve,
    Still my issue was not resolved, could you help me to find the exact error.I have enhanced the component, view and context node, still i couldn't able to add attributes to the context node BTQRACT.I tried to add several fields, but it is giving the same error 'METHOD CL_BT126S_A_APPTSR_CTXT' CREATE_BTQRACT DOES NOT EXIST'. I have checked the OSS messages and found 2 relavant to this component. I have implemented both the Sap Notes 1363752, 1226612. Still after implementing the OSS note, i am getting the same error.My guess is one of the method is missing. Please help me out?
    Regards
    Krishna

  • How do I get a 'search results' window to pop up?

    I have a master/detail form that contains a master block (say dept), and a
    detail block (say emp). I would like to be able to query by emp name, but when
    I execute the query, I would like a 'search results' box to pop up that contains the name I
    queried for, as well as some other emp info, and the dept no. There might be
    multiple records that match my query, and I'd like them all to be listed (or
    list 10 or so, with a scrollbar). I'd like a push button next to each record
    that will take me back to the master/detail form with that record displayed.
    Can you help me get started? I've tried some things, but can't seem to figure
    it out. I'm using Forms 6i. THANKS!

    How about basing a default block on a view that combines EMP and Dept.
    Have a multi record block and let Forms do the work for you.
    In enter query mode you'll be able to fetch based on any item, and the block will be populated with the details that match the criteria.
    Now when you double click a record you can for example pass the empno to another block that will display the information you need.

  • Trying to search on Google, or to access a search result, often crashes my Firefox. This has gone on for months. When will you fix it?

    The report tab says my OS is Windows NT, but it's actually XP Home. (Yes, that's how old my computer is -- and that's why I'm looking for a solution other than just trying to see how updated a version of Firefox the computer can handle.)
    The problem doesn't happen every time I try to search Google (or every time I succeed in getting to a page of search results and try accessing one of them). But it happens quite a lot, and often multiple times in succession. And when I try to use Crash Reporter to tell you, I get one of two responses:
    (1) the standard autobot-reply suggesting an upgrade and this path; or, more often,
    (2) nothing.
    I don't want to abandon you -- and it would be hard to replace the computer at the moment. So what (to coin a phrase) can Mozilla do for me?
    [UPDATE: The troubleshooter program won't install -- says it's not compatible with my old version of Firefox (3.6.20, says the About option in the Help menu). And the "show details" link at the bottom of this page won't reveal your "educated guesses about [my] current browser and operating system", so I can't do more to correct them -- sorry.]

    Hmm . . . I think maybe the CPU is okay, but I would appreciate any time and effort you folks could spare to confirm my work.
    Wikipedia lists a "3300+" model twice in its article on Sempron processors. One is a "Socket A (Socket 462)" model named Barton and with a listed 130ns speed. The other is a "Socket 754" model named Palermo with a listed 90ns speed. The latter sounded familiar, but my left hand has worn off anything readable from the sticker next to the "mouse area" so I couldn't confirm it that way.
    Checking the properties of the CPU (through my hardware configuration) revealed an interesting ID string which suggested my CPU was "family 15 model 44". And re-searching for that (via Yahoo, since I couldn't risk another Google crash) brought me to a late-2009 AMD Processors forum entry where some other expert answered a question by identifying that family and model as "AMD Sempron64 socket 754, e.g Sempron 2600+, Sempron 2800+, including all latest core stepping versions of desktop model Semprons, socket 754."
    If that's correct, and I've followed along the road properly, then my CPU is also in that family, and in that socket -- which would mean it '''was''' one of the processors built to work with SSE2. And that, in turn, would mean it should be able to run the v21 of Firefox you mention -- right?
    I don't know how much slower or faster v21 may be -- and I won't want to dump even the Mozilla-abandoned v3.6.20 until I see what if any side-effects there may be. But maybe there's an end in sight.
    (If you have any hints for me on this score, I would appreciate them. Likewise if you have any idea why it took months of Reporting Crashes before I got any response at all, even from the autobot. But most of all, I would greatly appreciate your help in getting over what may be the final obstacle to finding out if it's possible for me and my old PC to run v21 . . . and in finding out what choices I have if that '''''doesn't''''' work.)

  • 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

  • Is it possible to select multiple files on the W8.1U1's SEARCH RESULTS window page? For instance, if 10 CPP files are found by the seraching mechanism, can I select all 10 files and have them open in Visual Studio at once?

    TIA.

    Brandon, this forum member is known since a long time ago an arrogant (he thinks he knows more than every other) and stupid(*) (full of misconceptions). His first post is a very good example of what I just wrote. How does he dare to suggest to use File
    Explorer, if W8.1 already has a system built for doing just this search?  Do I have to open File Explorer in the folder (or somewhere near) the item I'm looking for? What about the other items in folders above it? This suggestion is stupid(*). He even
    asserts that I'm using Modern UI! I'm not! I'm using the desktop, but his misconceptions make him write such idiocies(*) with such arrogance: asserting what he doesn't know (arrogancy and stupidity). And more, this guy is no one to say he/he/he to me, because
    I know he is what you deleted from my posts, and more, he is often crying, moaning and snivelling like a spoiled child in this forum and messing up any thread posting stupid(*) images of programs imagined/designed/developed by others. All posts from him in
    this thread must be trashed (you should do it). He has nothing to contribute POSITIVELY in this thread, but just to MESS IT UP.
    (*) stupid, I can write, after all, you didn't delete this word from this ... poster.
    Now, look at the first reply: this forum member has no idea how much stupid is his 'work around'. And this 'work around' does not answer my question and even does address the environment I mentioned: W8.1 U1 search results window page, and not File Explorer!
    His second post just reassures me he has no idea what is the searching mechanism I'm talking about. He even mentions Win-w(!) which proves he totally ignore what is the searching mechanism I'm talking about. A user like this one, must have many monitors to
    keep him busy looking at them, and having excuses for not read and learn technical documentation. It's ignorance about technical aspects of computer issues that makes him post bad bug report and a bad idea in Connect site:
    Using Get-Date -Format "CyM" to work around some bugs
    https://connect.microsoft.com/PowerShell/feedback/details/884502/using-get-date-format-cym-to-work-around-some-bugs
    Only total ignorance about PowerShell makes someone post such bad 'bug' report. He got critics about his bad post, but I'm sure he doesn't understand.
    Column headers for alias should include DisplayName instead of just Name
    https://connect.microsoft.com/PowerShell/feedback/details/908152/column-headers-for-alias-should-include-displayname-instead-of-just-name
    In fact, the information displayed is already DisplayName, but this guy has no technical knowledge to understand what is happening.
    These 2 forum members just messed up a thread that should be free of negative contributions, besides off topic.

  • How do I display search results in a new window?

    Our current search feature (http://mainedreamvacation.businesscatalyst.com/business-search) displays the search results in the same page. When someone clicks to see the details page, the goes "back" the browser displays an alert asking the user if they want to re-submit the form.
    Is there a way for the search results to display in a new window? My hope is that by loading results into a new window, a user could click to see the detail, then return without the alert message.
    I'm open to simply suppressing the alert message, but I don't think that's possible.
    I should point out that this is NOT a site search. Also, I have tried  {module_webappsresults,,_blank} without success.
    Thanks!

    Hi Tim,
    The approach would be similar to customizing this for normal site search. 
    You'll need to locate the page where you inserted the web app search access the html and locate the pageID in the form action.  Use the same method found in the site search to apply the specific page.
    - http://helpx.adobe.com/business-catalyst/partner/add-search-form.html> Point to the results page
    **Ensure you please the {module_webappsresults} on the custom page to have the content display as well. 
    Kind regards,
    -Sidney

  • How to create a Display template for people search results

    Hi,
    I've just installed Sharepoint 2013 and started to play around with it. Seems to be many improvements - among these are the ability to create Display templates.
    On my publishing page there is a default "employee lookup" app which returns prefferred name, title and department as default when I try to search.
    I would love to return mobile number aswell so I have tried to do the following:
    I made a copy of Display _Catalogs/Masterpages/Display Templates/Search/Item_Person.html
    Edited that one with the following:
    1. Added 'MobilePhone':'MobilePhone' to the "Managed Property mapping" in the top of the html   document:
    <mso:ManagedPropertyMapping msdt:dt="string">'AboutMe':'AboutMe','AccountName':'AccountName','BaseOfficeLocation':'BaseOfficeLocation','Department':'Department','HitHighlightedProperties':'HitHighlightedProperties','Interests':'Interests','JobTitle':'JobTitle','LastModifiedTime':'LastModifiedTime','Memberships':'Memberships','MobilePhone':'MobilePhone','PastProjects':'PastProjects','Path':'Path','PictureURL':'PictureURL','PreferredName':'PreferredName','Responsibilities':'Responsibilities','Schools':'Schools','ServiceApplicationID':'ServiceApplicationID','SipAddress':'SipAddress','Skills':'Skills','UserProfile_GUID':'UserProfile_GUID','WorkEmail':'WorkEmail','WorkId':'WorkId','YomiDisplayName':'YomiDisplayName'</mso:ManagedPropertyMapping>
    2. Set a var in the <body> with:
    var has_MobilePhone = !$isEmptyString(ctx.CurrentItem.MobilePhone);
    Created the following based on "DepartmentField":
    if(has_MobilePhone == true) {
    _#-->
    <div id="MobilephoneField">
    <!--#_
    var encodedMobilePhone = $htmlEncode(ctx.CurrentItem.MobilePhone);
    var displayMobilePhone = Srch.U.getSingleHHXMLNodeValue(hhProps, "MobilePhone");
    if ($isEmptyString(displayMobilePhone)) { displayMobilePhone = encodedMobilePhone}
    _#-->
    <div id="MobilePhoneValue" class="ms-srch-ellipsis" title="_#= encodedMobilePhone =#_"> _#= displayMobilePhone =#_ </div>
    </div>
    <!--#_
    Saved the document to the masterpage galary and edited the search result page to (people search core results webpart) to "use a single template to display items" and selected my display template.
    Now the search result is still working but I get no mobile numbers to show up in the user info (only in the details which is default).
    Anyone has some bright ideas of what i'm missing?. I'm not used to code (which might be the cause :-)). If you also have an idea on how to make the value of the number = Mobile: <mobilenumber>. So the "Mobile:" static text is displayed
    aswell.
    Thanks a lot for your time.

    Hello,
    I did the same with my new SharePoint 2013 (I would like to display the mobile phone too) but without any chance. Have you done anything else ?
    This is my User Property "CellPhone" :
    http://www.cladstrife.com/CellPhone_Prop.png
    The ManagedPropertyMapping :
    <mso:ManagedPropertyMapping msdt:dt="string">'AboutMe':'AboutMe','AccountName':'AccountName','BaseOfficeLocation':'BaseOfficeLocation','Department':'Department','HitHighlightedProperties':'HitHighlightedProperties','Interests':'Interests','JobTitle':'JobTitle','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','WorkId':'WorkId','YomiDisplayName':'YomiDisplayName','CellPhone':'CellPhone','HomePhone':'HomePhone'</mso:ManagedPropertyMapping>
    The "if_exist" variable :
    var has_cphone = !$isEmptyString(ctx.CurrentItem.CellPhone);
    And the "display" code :
    <!--#_
    if(has_cphone == true) {
    _#-->
    <div id="CPhoneField">
    <!--#_
    var encodedCPhone = $htmlEncode(ctx.CurrentItem.CellPhone);
    var displayCPhone = Srch.U.getSingleHHXMLNodeValue(hhProps, "CellPhone");
    if ($isEmptyString(displayCPhone)) { displayCPhone = encodedCPhone}
    _#-->
    <div id="CPhoneValue" class="ms-srch-ellipsis" title="_#= encodedCPhone =#_"> Mobile: _#= displayCPhone =#_ </div>
    </div>
    <!--#_
    _#-->
    If I delete the test lines in the display code (if(has_cphone == true) it show "Mobile:" but without any mobile number.
    Thanks for your help if any idea :)
    Best regards
    Gabriel

  • How Can I View Only The Search Results

    I'm very frustrated trying to display only my 5 star rated images so that I can export them.  WhenI search I get all the five star images plus all the other images in stacks with them.  How can I just ge the search result images?

    For that you would need to unstack your images from the stack. If your image is a part of the stack and it meets the desired search criteria ( in your case 5 star), then complete stack is shown in the search results.
    If you want to bypass complete stack out of your search , you can use Find by Details (Metadata) search as -
    Rating is 5
    And
    Stack is not in a stack

  • 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

Maybe you are looking for