Custom Search Scopes in SP2010

Hi,
I have created a shared search scope in the Central Administration. I am adding this scope to the Search Drop Down display group of my team site. I want the name of this search scope to be localized based on the user's preferred display
language. How can I achieve this programmatically ?
Out of box shared scopes like 'People' do get translated based on the user's preferred display language.

Hi,
In SharePoint 2013, Search Scopes has been replaced by the Result Sources. For your requirement, here is a workaround for your reference:
http://www.brainlitter.com/2013/03/22/sharepoint-2013-search-scopes-are-gone-but-dont-fret/
http://sergeyspoint.blogspot.com/2013/04/sharepoint-2013-and-search-scopes.html
Thanks
Patrick Liang
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]
Patrick Liang
TechNet Community Support

Similar Messages

  • Sharepoint 2010 custom search for subsites

    Sharepoint 2010
    Hello, i have main site and about 30 subsites. And on each subsite about 30 document librarys.
    I created basic search center custom site with name "Search". I also created custom scope. So when i search on my main site, anything is fine and when i go to subsite document library my scope is changed to this site:document librarys name. Then
    i pu something in search line and click search. On my custom search page i can see, that all links are from correct subsite and correct document library, but my scope shows "This Site:Search". So when i put something else in my search line and click
    search, i dont get any results, because it searches only on search page. Even when i click on scope dropdown, there is no choice, only "This Site:Search". 
    Is there any solution to create a search scope, that would take the parameters from the document librarys URL from wich i am searching for and put it in the scope.
    P.S.
    Default search OSSSearchResults.aspx works fine, but i nead to change xsl code.
    I tried to put scope dropdown to "show and default to url parametr", but nothing is changed.

    Hi Dmitri,
    If you want to search on a library, you can go to the library, then search using the Search Box at the top of the page. When you search, it will go to the OSSSearchResults.aspx page, and on the page, you will find there are two search scope, one is the library,
    another is the site. If you want to search on another library, you can go to another library, then search.
    Or, you can create a custom search scope pointed to the library, and add the search scope into the Search Dropdown display group.
    More infoemation, please refer to the link:
    http://www.bentedder.com/create-a-search-scope-for-a-sharepoint-2010-list-or-library/
    http://www.youtube.com/watch?v=9rt4hrMKs3o
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • SharePoint 2013 custom search Result Type for "Documents" not showing up as option

    I'm trying to create a custom search Result Type called "Documents" that will filter to MS Office filetypes and PDF's.
    However, when I perform a search, although many of these types of files show up in the results, I don't have "Documents" as a Result Type option.
    Here are the steps I'm following:
    From my Enterprise Search Center subsite: Site Settings > Manage Result Types.
    New Result Type.
    Name: Documents
    Source: Documents (System) - this out-of-the-box Result Source appears to cover the filetypes I need.
    Types of content: I've tried leaving it blank (to match all content) and specifically picking the types I want.
    What should these results look like? Office Document Item.
    Check Optimize for frequent use.
    Save.
    I then go back to my search center and search for a common keyword. Many in-scope file show up in the search results. However, under Result Type, I don't see "Documents," even if I click "SHOW MORE."
    Please advise.
    Thanks.
    Brad

    @Mikael As you say, to display the exact results when we click a result source, we should implement logic code to check whether item should be displayed. I have followed steps nearly the same as the topic owner but I saw nothing different between Everything
    and my custom Result Type.
    Here are the steps I'm following:
    Create a custom result type, named Job, and specify a custom display template for it.
    Set its condition to filter list items that have JobName site column ( JobName is site column's managed property) equal of any "IT" or "Doctor".
    I search for "Perter", it returns 5  items with Everything. I expect that it should return 3 items since only those items contain JobName site column.
    Search is fun but rather headache sometimes, give me advise please :)
    Thanks,
    Hoan.

  • Site Collection level Search Scopes after Upgraded to 2013

    In SharePoint 2010 we have  good amount of site collection level search scopes and it has been heavily used in search scope down.
    Please correct me if any of my below statement is wrong
    1.After migration these scopes cannot be used and it will not appear in search drop down.
    2.Only opition I have is to create Result Source and Configure search navigation at Site Level?
    3.For Result Sources to appear in drop down I need to have individual search page for every custom result source.
    I would really appreciate your inputs
    Thank you
    Vijay

    1. Usually 2010 Search Scopes can be used after migrating to 2013.  What you can't do is edit them or create new ones.  However, I've had mixed luck with them.  About 75% seem to work, with the rest being broken beyond repair.
    2. If the migrated scope doesn't continue to work your only real option is a REsult Source.  To add them to the dropdown you will need to configure the navigation at the Site level.
    3. Result sources can re-use result pages used by other Result sources.  You need a Result source for each entry, but that result source may point to the same page as another result source.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • What is the Behavior.Navigation URL for creating navigation bar links for search scopes for security group and distribution groups?

    ...the search scope is used to subset the SGs and DGs. The search scope itself shows expected results. The search scope filter used is: /Group[Type='Security' or Type='MailEnabledSecurity'][(Domain = 'DomainX') or (Domain = 'DomainY')]
    Tried the following, with the GUID being the resource ID from the search scope for security groups:
    ~/identitymanagement/aspx/customized/CustomizedObjects.aspx?type=Group&searchtype=e8ed98b6-e299-4b8d-bfe5-e4b2adf1cd60
    ~/IdentityManagement/aspx/groups/Groups.aspx?type=Group&searchtype=e8ed98b6-e299-4b8d-bfe5-e4b2adf1cd60
    Thanks

    are you talking about redirect URL in search scope ? FIM will automatically add the searchtype querystring
    for custom groups search scope you can use :
    ~/IdentityManagement/aspx/groups/AllGroups.aspx
    and configure you search scope to use the same UsageKeywords as for the security groups
    and restart your IIS server using the command "IISRESET"
    in your case if you want to create navigation bar link to your group-type search scope use may use this format:
    http://{your fim server}/IdentityManagement/aspx/groups/AllGroups.aspx?searchtype={your searchscope guid}&content=%2a
    ex : http://fimserver/IdentityManagement/aspx/groups/AllGroups.aspx?searchtype=47e0a973-0ab4-46f5-815f-f5028c1af58e&content=%2a

  • Return custom search results from a list

    Hello all!
    I'm currently on a Windows 7 migration project where we need a custom search function for our SP2010 page.
    Basically, the user will enter there machine barcode into the search box and query information from a list. This query will only return information relevant to that users machine barcode. For example, the user searches there barcode and the return results
    ONLY displays information for that user/barcode, information such as delivery date, delivery location, migration POC, etc..
    What is the best approach to this scenario?
    I'd like to do the least amount of custom coding as possible aka not using Visual basics.
    Thanks in advance!

    If you create a custom column, probably Managed Metadata, called Machine number, you can then search for items in hte list which have that value.
    This would work in both a search center, if you were to map that column to become a mapped property and then add it to the refiners bar, and on the list using metadata navigation in list settings > advanced.
    Zero code.

  • Issue with custom search fields in agent inbox

    Hi All,
    I am working on CRM agent inbox 7.0. The issue I am facing is like this:
    I have added custom search fields in inbox. When give a combination of standard search field and custom search field, the result is only based on standard field. The value of custom field is not considered.
    Is this a standard behaviour? Are standard fields given higher priority that custom fields?
    Any pointers on this would be highly helpful.
    Thanks,
    Narendra

    Hi Naren,
    Did you add custom field using AET? If yes then while adding custom field using AET did you make it search and result relevant?
    There is nothing like priority in standard SAP fields and custom fields.
    Please let me know so that I can further help you.
    Thanks,
    Bhushan

  • Deleted items showup in custom search

    We are using custom search portlet for search functionality on our site. The problem is, items that were deleted from a page in the past are also showing up in search results. And when we click on the item in search result, it throws page not found error.
    I checked the database and these items are there in wwv_things table. Any way to automatically remove deleted items from index tables?

    Which version of portal are you working with? Thanks.

  • Custom Search help in Record Working Time

    Hi,
    We have a requirement to add a custom field on RECORD Working Time ( ESS). This field has been added and custom search help is assigned to the data element of the field. The values in the F4 help should vary based on employees department.
    The related code for this requirement is written in the serach help exit. The F4 help is working as expected from backend ( ECC) but not in Portal (ESS).
    I have added the custom field in TCATS_SHLP_ITS. After maintaining this table all the values in F4 help are displaying , whereas it should only display the values under employees department in Record Working time.
    I understand the class cl_xss_cat_value_help_general is responsible for the search help in ESS is there any user exit or enhancement available for this class in order to control the serach values on ESS.
    Thanks in advance.
    regards,
    Pradeep

    note that search help of CAT2 and record working time are different!
    these are teh steps
    please modify the following in the table TCATS_SHLP_ITS as follows:
              1. Execute the T-Code SM31
              2. Enter the table name TCATS_SHLP_ITS.
    or check the class
    CL_XSS_CAT_VALUE_HELP_GENERAL
    or check
    CL_XSS_CAT_VALUE_HELP*
    take an example from Sap note 914125

  • Custom search using boolean attribute set to True gives no result

    I am setting up an auto-query using the custom search portlet. This is to show all items where a boolean custom attribute is checked, ie = True.
    In step 3 I have tried to set the operator to Equals to and the default value to True. This gives no results even though several items have this attribute set to True.
    The Auto Query check box is checked.

    Found that True = 1 in database. When set to this the search works.

  • How can I remove google custom search bar from about:newtab page

    When I open Firefox or a new tab I have it set to about:newtab which is great and all. Just recently I noticed a Google search bar on the new tab page though, that it immediately sets my cursor to. I prefer typing in the normal address bar at top. If I don't think to take that extra tedious step to click on the address bar before typing it opens to Google Custom Search Engine. Which does not have the images, maps, etc tabs along top. Making a simple task of researching something or other purpose just that much more annoying to do, because I'll have to type into the address bar anyways.
    So I was hoping there is a way to remove this annoying Google Custom Search Bar from my about:newtab?
    Or at the least make my cursor start in the address bar, not the Google Custom Search Bar.
    This is a screen-cap of the Search Bar. http://gyazo.com/d75ccdea9b9d0bb4a3d347664be73771

    Sometimes a problem with Firefox may be a result of malware installed on your computer, that you may not be aware of.
    You can try these free programs to scan for malware, which work with your existing antivirus software:
    * [http://general-changelog-team.fr/downloads/viewdownload/20-outils-de-xplode/2-adwcleaner ADWCleaner]
    * [http://www.microsoft.com/security/scanner/default.aspx Microsoft Safety Scanner]
    * [http://www.malwarebytes.org/products/malwarebytes_free/ MalwareBytes' Anti-Malware]
    * [http://support.kaspersky.com/faq/?qid=208283363 TDSSKiller - AntiRootkit Utility]
    * [http://www.surfright.nl/en/hitmanpro/ Hitman Pro]
    * [http://www.eset.com/us/online-scanner/ ESET Online Scanner]
    [http://windows.microsoft.com/MSE Microsoft Security Essentials] is a good permanent antivirus for Windows 7/Vista/XP if you don't already have one.
    Further information can be found in the [[Troubleshoot Firefox issues caused by malware]] article.
    Did this fix your problems? Please report back to us!

  • How to create a custom search portlet that groups results by category

    Hello,
    Is it possible to create a custom search portlet whose search results are displayed on a page grouped by Category? Basically the results page should have Category heading followed by search results.
    I realize this is not canned functionality but any ideas on how to accomplish this using PLSQL APIs is also welcome.
    Thanks.

    hi,
    one workaround i could think of is using the CM views to search for content that belongs to a category and display it in a custom way.
    http://www.oracle.com/technology/products/ias/portal/html/plsqldoc/pldoc904/wwsbr_api_view.html
    this only allows you to search for the meta-data available in the CM views but not the content of an item that is available when doing a search.
    in the next major portal release we will have a publich search API that can be used for these type of requirements. you can execute your search and format the results in the way you want.
    regards,
    christian

  • Search scopes taking long time to load SharePoint 2010

    Hi!
    It takes very long time (more than 5-10 mins) for the Search Scopes page to load. This is very annoying and proves to be very much NON-productive while working on search related tasks.
    Please help if you came across any such issue.
    Thanks,
    Owens G. Jesse

    Hi Owens ,
    According to your description, my understanding is that only your Search Scopes page loads very slowly.
    For your issue , you can enable Developer Dashboard for SharePoint 2010 with PowerShell first.
    With Developer Dashboard, you can find out where the Search Scopes page loading  time was spent at server side.
    Reference:
    http://blogs.technet.com/b/patrick_heyde/archive/2009/11/16/sharepoint-2010-enable-using-developer-dashboard.aspx
    Please inform me freely if you have any questions.
    Thanks

  • Custom search help with F4IF_INT_TABLE_VALUE_REQUEST to retrieve 2 columns

    Hi all,
    i have a problem to retrieve selected value from a custom search help. I need to retrieve 2 columns from the selected line. eg. there are A,B,C,D column in the search help. I need to get the B and D. can anyone help? Thanks

    For achieving this follow the following 4 steps:
    1. While calling F4IF_INT_TABLE_VALUE_REQUEST pass the importing paramter return_tab  to make the data selected by the user IN SELECTION screen. Remember that without this the user entry is avaliable only at START OF SELECTION.
    2. Use this value to READ TABLE your internal table to get the  value of other column.
    3. Load an internal table with values you want to assign to selection screen fields.
    4. Assign  values to the field in selection field using Fn Module: 'DYNP_VALUES_UPDATE'.
    Example:
    DATA: ......,
        lit_fields     type table of dynpread,
        ls_fields      type dynpread,
        lit_ret_tab    type table of ddshretval,
        ls_ret_tab     type ddshretval.
    . call function 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
          retfield        = 'VARI'
          dynpprog        = sy-cprog
          dynpnr          = sy-dynnr
          dynprofield     = 'P_VARI'
          value_org       = 'S'
        tables
          value_tab       = lit_abc
          return_tab      = lit_ret_tab
        exceptions
          parameter_error = 1
          no_values_found = 2
          others          = 3.
    check sy-subrc eq 0.
    *-----get the entered value of field vari
    read table lit_ret_tab into ls_ret_tab index 1.
      lv_vari = ls_ret_tab-fieldval.
    check sy-subrc eq 0.
    *-----get value of the other column vari_d
    read table lit_abc into ls_abc with key vari = lv_vari.
      lv_vari_d = ls_abc-vari_d.
    *----- Append to an internal table with values you want to assin to selection screen fields.
    ls_fields-fieldname = 'P_VARI'.
      ls_fields-fieldvalue = lv_vari.
      append ls_fields to lit_fields.
      ls_fields-fieldname = 'P_VARI_D'.
      ls_fields-fieldvalue = lv_vari-d.
      append ls_fields to lit_fields.
    *---- Assign  values to the field in selection field
    call function 'DYNP_VALUES_UPDATE'
        exporting
          dyname               = sy-cprog
          dynumb               = sy-dynnr
        tables
          dynpfields           = lit_fields
        exceptions
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          undefind_error       = 7
          others               = 8.

  • Custom search help in sap field in standard transactions.

    I have a requirement that I have to add a custom search help in XREF2 of bseg table either in fb02-f-43.
    For FB02.
    Display document.
    Select a Line Item.
    Go to Additional Data tab in menubar,a pop-up will come, where we will get the Reference1 fields .
    My requiremnt is to add a custom input help having 3 constant values.
    For F-43.
    Give account , date etc in first screen.
    Go to next screen give the amount.
    Go to more data will get the fields in left side-no pop-up will come.
    Help needed

    hi, Jkuma,
    we met the similar situation with you while developing a anpplication form for HR.
    our conclustions are:
    1. it's not feasible to put all the data into the form, it will make the form too big and slow, so it must be a online interactive form
    2. you may put a search field to let the user to input some kind of criteria and do the search on the r3 side and return the hit list on the form , but it's not so easy to develop a table control on the form using javascript to get the selected one.
    3. so we built a 'selection screen' , using webdynpro for abap,
    it will show up before the form, while can use ddic search help, to make the selection, then put all the selected entries into the adobe form for further processiong.
    how this is helpful hint for you.
    br.
    jun

Maybe you are looking for

  • S_ALR_87012168 : specific layout

    Hi, I look for a specific layout in Tcode S_ALR_87012168 : Due date analysis for open items i want to display in one list all the selected customers with thier daily intervals. Please is it possible to make this layout ? if yes, How ? Regards.

  • Can i get a refund on itunes match.......it's really bad

    I purchased iTunes match over a week ago and I'm still not happy with it. There's far too many songs that are either still waiting or won't match/upload at all. If it was a product I could return to a shop for a refund I would have taken it back by n

  • The Strange Case of the Missing Shared Devices...

    Dear Forum, I am currently having intermittent trouble with the connection of shared devices. The network consists of a MBP, Qnap TS109 and a Canon printer hooked up via LAN to a WAG200G. The Qnap serves music to a PS3 (WLAN) and the Mac and also ser

  • How do I FIX members in a Business Rule to those set in outline security?

    Let's say.. - I've granted write access to one user a branch of members in one dimension. - I include a Level 0 selection of that dimension in a data form in the Page view, which correctly allows input only to those members for that user. How can my

  • Aperture Dual Display Mode Poor?

    One of the big reasons I picked up Aperture was its ability to utilize my dual display set-up, but the implementation in Aperture seems hamstrung to me. I have a 22" Cinema Display as my main screen with a 17" Studio Display to it's left. What I'd LI