Scope to search List Items

I need to create a search scope that would limit the results to only the list items in all the custom lists of a particular site.
I created a search scope and added a "Web Address" rule type, set the "Folder" to the site I need searched and set the "Behavior" to Include.
This gets me everything in the site.
Gut feeling tells me that I need to also create a "Property Query" rule type and set it to "Require" to filter out only the list items, but I'm not sure what to put for property restrictions.
Appreciate some help on this...

You may try ContentClass, info care of Dan Attis
here: http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=3255619&SiteID=1
and here: http://www.devcow.com/blogs/jdattis/archive/2007/12/20/the-contentclass-and-isdocument-properties-along-with-the-welcome-page-caveat.aspx

Similar Messages

  • SharePoint 2013 search list item with item id

    Hi all,
    I have a custom SharePoint list with many list items.
    Now I like to search for a specific item in that list with the standard SharePoint item id.
    Example:
    If I enter in search: '1394'
    Result = None
    If I enter in search: 'ListItemID:1394'
    Result = Success!
    How can I search for the item id without typing 'ListItemID' because the user is not able to do this...
    Any ideas? Thanks in advance.
    Regards, Simon

    You should create new Result Source.
    http://technet.microsoft.com/us-en/library/dn186229.aspx
    Include the incoming query in the new text by using the query variable "{searchTerms}".

  • No topic pages show when clicking on search list items

    After generating WebHelp (Using Robohelp HTML 7) - using
    search generates a list for a search term but upon clicking any of
    the items on the list nothing happens - the topic page stays
    totally blank - having spent ours on this I would appreciate any
    suggestions

    Hi,
    This may be a resolved topic, but I found it today when
    searching for a solution to the same problem. In my case the
    problem was not caused by (and not solved by) the Mark of the Web
    checkbox: instead, it was, I believe, an apostrophe in a directory
    name in the path to the output files. I moved the files to another
    network location that did not have the apostrophe in the directory
    name and the search results linked correctly.
    If the problem was a directory name, I'm surprised that
    everything but the search feature worked okay, then again I've
    heard that bad characters can have unpredictable effects.
    Before anyone scolds me for bad folder naming habits, it
    wasn't me. It's a network drive named by someone else and shared by
    the writers. I avoid any punctuation in file and folder names other
    than hyphens and underscores.
    Regards,
    Tom

  • Search for list items by Created Date using caml

    Hi all,
    I'm trying to find list items with specific attributes using caml.
    I created a caml query that uses Last_x0020_Modified and File_x0020_Size for searching items.
    then i tried adding Created and Created_x0020_Date both either as Lookup or as DateTime to the caml.
    But since i added Created/Created_x0020_Date my query fails with 500 Internal Server Error.
    Can someone tell me what I'm doing wrong?
    here is my complete Entity I'm sending to SharePoint 2013:
    {'query' : { '__metadata': { 'type': 'SP.CamlQuery' }, 'ViewXml': '<View Scope="Recursive">
    <Query>
    <Where>
    <And>
    <Leq>
    <FieldRef Name="Last_x0020_Modified" />
    <Value Type="Lookup">2015-02-25T10:10:03</Value>
    </Leq>
    <Geq>
    <FieldRef Name="File_x0020_Size" />
    <Value Type="Lookup">1</Value>
    </Geq>
    <Leq>
    <FieldRef Name="Created" />
    <Value Type="DateTime">2015-02-25T10:10:03</Value>
    </Leq>
    <Eq>
    <FieldRef Name="FileDirRef" />
    <Value Type="Text">/sites/DennisDevSite/alib/Ordner1</Value>
    </Eq>
    </And>
    </Where>
    </Query>
    </View>' } }
    Thx in advance
    Dennis

    Try appending "Z" to DateTime. Change 
    <Value Type="DateTime">2015-02-25T10:10:03</Value>to <Value Type="DateTime">2015-02-25T10:10:03Z</Value>
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • Item level ststus not showing search list for agent inbox

    Hi,
    while selecting item level ststus in agent inbox it is not showing records in search list.so many records existed in system based on item leval ststuses.
    currently working on crm 7.0
    can u please help me out to solve this issue
    Thanks & Regards
    kishore kumar

    Hi,
    i performed all settings regarding map inbox etc.still i am not able to see results list based on item level ststus.these ststus profile assaigned to item catageory
    Thanks & Regards
    Kishore Kumar

  • PDf files are not directly coming in search results, rather coming as a list item \

    I have shared search from one farm and 2 other farms are consuming it. PDF search is working fine for one consuming farm but for the hosting farm and the other consuming farm it is showing the result as list item but not as a direct link to the document.
    Any suggestion pls
    When the other consuming farm uses the own dedicated search service then pdf files are coming in search result but when it is pointing to the shared proxy it is not working. But for one consuming farm it is working fine.

    Hi ,
    Whether you crawled the same content source using the Shared Search service application. If not, please crawl a same content, test again and compare the result.
    In addition, whether you configured PDF correctly for the Shared Search, please try to configure it again as the link:
    http://www.codeproject.com/Articles/82546/How-to-configure-PDF-iFilter-for-SharePoint-Server
    Here are two similar posts for you to take a look at:
    http://social.technet.microsoft.com/Forums/en-US/fb170ef6-d0fc-4044-a54d-87695066a5d2/search-results-pdf-files-showing-item-not-link-to-document?forum=sharepointadminprevious
    http://social.technet.microsoft.com/Forums/en-US/c540b280-135a-43ba-91b6-d8e408df25dd/search-returning-link-to-dispform-instead-of-the-link-to-pdf-document?forum=sharepointadminprevious
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Is it possible to submit a list item and at same time query/search the results if parameters are matched.

    Hello,
    Is it possible to submit a list item and at same time query/search the results if parameters are matched.
    Example - user logon to site enter search parameters and hit submit button. Once done parameters gets saved in list and shows search results on page. I have been asked to do this with
    SP designer and InfoPath doesn’t work due items limits.
    Please suggest.
    Thanks,
    Manish
    Manish

    Hi Manish,
    may i ask if you need,
    when user account click the login button, it will be authenticate the user and then it will show search result page?
    may i know how the keyword of words to be put? is it together with the user account box, password and keyword?
    or it will be like, after user authenticate, it will redirect to search page, so that user may use the search page to input the keyword?
    Regards,
    Aries
    Microsoft Online Community Support
    Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • Items Search List error

    Hallo Experts
    After 2007 Upgrade Items search list ( in a document or directly in Item master screen).
    The customers search list is ordered by description.
    When typing 'P' in the Find field the system goes to the last Item starting with 'N' and not items starting with 'P'. All other letters in the alphabet works fine. I have changed the last item starting with an 'N' but then it just highlights the next 'N' item.
    Any sugestions will be much appreciated.
    Kind regards
    Erika

    Hi Erika ,
    All your thread are related with your upgrade scenario.
    I  think your upgrade didn't go well. Probably you need to do the upgrade again .
    I guess you have to do reupgrade .
    You might have to log a support to SAP for further instruction .
    Hope this helps
    Bishal

  • How to filter list items by current system time in search result wp or result source SharePoint 2013

    I want to display Items with PressDate less than or equal
    to current time in my search result webpart in SharePoint 2013.
    It is working fine for current date but not considering current time.
    {searchTerms} ContentType="ABC" PressDateTime<{Today+1}
    Above query not supporting for Now(), due to that it
    is showing items which are less than or equal to current (today's) date.
    How can I compare time with current system Time?..Thanks in advance.
    Regards, --NP

    You can achieve the same by using a Current Date Offset in a CAML Query to Filter List Items.
    Have below links for your reference.
    Sharepoint Tips And Tricks
    CAML Query to Date prior to 30 days from today
    Thanks.

  • List Item Search Capability Is only Available in Default Style Views

    Hello,
            I am using SharePoint 2013 and I am impressed with the List Search Capability that is available when you use the Default Style view option.  What I am not impressed with is that the capability in not in all
    the other styles like shaded.  Is there any method that I can use to activate that functionality throughout all of my lists using any type of style like shaded.  For my organization it is a 508 compliance issue.
    Thank You
    PRSharePoint

    Hi,
    It is by default that view styles other than default has no inline Search box. In SharePoint 2013, if you need to customize list view style, you need to use JSlink property to change the fields' view:
    http://zimmergren.net/technical/sp-2013-using-the-spfield-jslink-property-to-change-the-way-your-field-is-rendered-in-sharepoint-2013
    http://blog.vgrem.com/2013/04/14/customize-the-rendering-of-a-list-view-in-sharepoint-2013-displaying-list-items-in-accordion/
    http://sharepoint.stackexchange.com/questions/101329/list-styling-in-sharepoint-2013
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • Using REST API: Query search box to return list items

    Hey,
    My goal is to create a search box which returns the items (matching to the name) from a list.
    Bonus: The return would happen without requiring user to click a
    Search button or such.
    To achieve this I assume the SharePoint 2013's REST API should be used. I'm completely inexperienced in using the REST API so all kind of suggestions are available.

    Hi,
    Here are some articles about SharePoint 2013 REST API for your reference:
    Get started with the SharePoint 2013 REST service
    http://msdn.microsoft.com/en-us/library/office/fp142380(v=office.15).aspx
    How to: Complete basic operations using SharePoint 2013 REST endpoints
    http://msdn.microsoft.com/en-us/library/office/jj164022.aspx
    SharePoint 2013 – CRUD on List Items Using REST Services & jQuery
    http://www.plusconsulting.com/blog/2013/05/crud-on-list-items-using-rest-services-jquery/
    Working with SharePoint list data - OData, REST and JavaScript
    http://blogs.technet.com/b/fromthefield/archive/2013/09/05/working-with-sharepoint-list-data-odata-rest-and-javascript.aspx
    Best regards
    Dennis Guo
    TechNet Community Support

  • Custom List Item Pages in Search Result

    Hi there,
    We are using SharePoint 2013 and have built a custom web part that displays a series of items from a list. When you click on one of the items, it takes you to a custom page that displays the selected list item, styled with our company branding. This works
    perfectly. However when a user performs a search, the search results includes the link to the SharePoint list item, and not the custom branded page. We'd like to have the search results include this custom page, instead of the standard SharePoint dispform.aspx
    page. Is there anyway to exclude the dispform.aspx and include our CustomItem.aspx in this search results? If so, how is this possible?
    For instance, a standard search returns the result:
    https://mydomain.com/Lists/Announcements/DispForm.aspx?ID=23
    Our custom branded page, which we want included in Search results is this:
    https://mydomain.com/AnnouncementsDetail.aspx?ID=23
    Thanks in advance!
    cflbasser

    Does you custom page have a managed property associated with its location, say 'myURL'?  I think you should be able to achieve this by customizing one of the Search Display Templates.  There are a couple of things involved here.  For Result
    Display rendering, Item_Default.html display template will have a "ctx.RenderBody(ctx)" call, in this case calling Item_CommonItem_Body.html template to display each item. 
    Take a look through Item_CommonItem_Body.html and there should be a place where instead of the OOTB managed property like Path or Url, you could put in your custom managed property to be displayed.  It's best to not update the default display templates
    but create custom ones and use custom result types with them.  In this scenario, you are not touching what's being indexed, but simply changing the UI layer.
    Another idea would be to use CEWS (Content Enrichment Web callout) and simply take the existing managed property responsible for printing out the link (like URL or Path), re-write it using some regex or similar logic and output it to the existing managed
    property or a new one.  You could have a trigger to only do this in specific scenarios to narrow this down, such as only to fire if an input path prefix matches a condition. 
    I would recommend doing this with Display Templates if possible, since introducing CEWS can have a performance impact on crawls, depending on how many items will need to be touched.

  • Indexing and Searching pdf files which are used as attachment in an Announcemnet list item

    Hi all,
    I am using a SharePoint 2013 online environment and trying to search and find pdf files which are attached to a announcement list item. However it does not find anything when I search for the name of the pdf file or the content of the pdf file.
    When I attach a word to the list item it gets indexed and it find the file.
    thanks and appreciate every kind of advice.

    Are you able to search for pdfs in other locations? SharePoint 2013 comes with an iFilter out of the box unlike 2010 which needed configuration.

  • Large list items are not crawling

    Recently we have migrated SharePoint 2007 application to SharePoint 2013. In that we are having a list which contains 40000+ items and each item have unique permissions set based on the business requirement.
    After migration, we have ran full crawl on the web application. After the crawl, the list items are not crawled and displayed in the search results. When checked in the crawl log, there is no entry related to the list items.
    Based on suggestions from the blog and microsoft we have changed the FilterProcessMemoryQuota and DedicatedFilterProcessMemoryQuota to 500 MB from 100 MB.
    Still, the items are not crawled. Later we have modified some of the items in the list and ran the incremental crawl. The list items which are modified are crawled and available in the search results.
    We have scheduled the incremental crawl to run on every night and full crawl to run every week end (saturday) night. What happened is the incremental crawl that run after full crawl deletes all the items which are modified and crawled before the full crawl
    with a message "Deleted by the gatherer ( This item was deleted because its parent was deleted. )". This happens only with the incremental crawl run after the full crawl, but the subsequent incremental crawls add the items to the
    search results until full crawl run.
    Please advise on this.
    Ramkumar

    40k items with individual permissions? That's going to have significant performance impact across your content database and is getting close to the hard limit(?) of 50k scopes per list http://technet.microsoft.com/en-us/library/gg128955(v=office.15).aspx
    Having said that...
    Your full crawl is picking up the items but the first incremental crawl is subsequently deleting them. Are you really using Incremental crawl or is this continuous crawling? Are all list items being deleted or merely some of them?
    I'd normally put this down to the crawler not being able to identify the items, which may be the case here, but this sounds a little more interesting.

  • How do I change multiple list items at once in a SharePoint list with ribbon button

    Hi
    I have a sharepoint list and a ribbon button that open a dialog box with buttons to set color on a row
    The problem is that i can only selecet one item at once to set the color. 
    How can i do so it could set all or a couple items att once to the color i want 
    I want to do this with javascript
    here is the code i use to get the item id and the color code is in a seperate js file
    'use strict';
    var clientContext, hostweburl, parentContext, parentWeb, selectedItem, itemId, listId;
    clientContext = new SP.ClientContext.get_current();
    hostweburl = decodeURIComponent(getQueryStringParameter("SPHostUrl"));
    listId = decodeURIComponent(getQueryStringParameter("SPListId"));
    itemId = decodeURIComponent(getQueryStringParameter("SPListItemId"));
    parentContext = new SP.AppContextSite(clientContext, hostweburl);
    parentWeb = parentContext.get_web();
    selectedItem = parentWeb.get_lists().getById(listId).getItemById(itemId);
    $(document).ready(function () {
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(OnSuccess, OnFail);
    function OnSuccess() {
    $("#Blue").click(function () {
    selectedItem.set_item('Color', 'Blue');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });
    $("#Green").click(function () {
    selectedItem.set_item('Color', 'Green');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });
    $("#Red").click(function () {
    selectedItem.set_item('Color', 'Red');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });
    $("#Transparent").click(function () {
    selectedItem.set_item('Color', 'No Color');
    selectedItem.update();
    clientContext.load(selectedItem);
    clientContext.executeQueryAsync(function () { window.parent.postMessage('CloseCustomActionDialogRefresh', '*'); }, function (sender, args) { alert('Error:' + args.get_message()); });

    Check if below can help you
    http://sp2010batchedit.codeplex.com/
    http://sharepoint.stackexchange.com/questions/35935/use-view-ribbon-custom-action-on-multiple-list-items
    http://webcache.googleusercontent.com/search?q=cache:XqMO-PRLHQIJ:dannyjessee.com/blog/index.php/2014/06/enabling-custom-ribbon-buttons-dynamically-based-on-multiple-selected-item-values-using-refreshcommandui-and-jsom/+&cd=1&hl=en&ct=clnk&gl=in
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <CustomAction Id="DannyJessee.TestCustomAction"
    Location="CommandUI.Ribbon"
    RegistrationId="100"
    RegistrationType="List">
    <CommandUIExtension>
    <CommandUIDefinitions>
    <CommandUIDefinition
    Location="Ribbon.ListItem.Actions.Controls._children">
    <Button Id="DannyJessee.MarkItemsFinishedButton"
    Command="cmdMarkItemsFinished"
    Image16by16="/_layouts/images/kpinormallarge-0.gif"
    Image32by32="/_layouts/images/kpinormallarge-0.gif"
    LabelText="Mark as Finished"
    TemplateAlias="o2" />
    </CommandUIDefinition>
    </CommandUIDefinitions>
    <CommandUIHandlers>
    <CommandUIHandler Command="cmdMarkItemsFinished"
    CommandAction="javascript:MarkItemsFinished();"
    EnabledScript="javascript:EnableFinishedButton();">
    </CommandUIHandler>
    </CommandUIHandlers>
    </CommandUIExtension>
    </CustomAction>
    <CustomAction Id="DannyJessee.TestScript"
    Location="ScriptLink"
    ScriptSrc="/_layouts/15/CustomRibbonButton/CustomAction.js" />
    </Elements>
    If this helped you resolve your issue, please mark it Answered

Maybe you are looking for

  • DB Connection failed in Netweaver 2004s ABAP

    When I try to start Netweaver 2004s ABAP, I am getting error message as "DB Connection failed". I have used the system for two days and executed transaction 'sgen'. Now the disp+work is getting started and stopped immediately. Please give me a soluti

  • Problems printing 11 by 17

    The publication is created using In Design on 11 by 17 paper.  When she tries to print it shows up in the upper left corner in 8 1/2 by 11 format not filling the entire 11 by 17 page.  We have verified we have changed the paper size in the setup of i

  • Modifying the cost center when posting an MM invoice

    Hi All, my client wants to change the Cost Center assignment field when posting an invoice coming from MM process (PR>PO>SES).   I'm now using transaction MIRO to make some test and I see the field is 'not modifiable'. I tried to see if i could sort

  • CS6 Workspace won't open correctly.

    I recently upgraded from CS5 to CS6 on my PC and now every time I launch CS6 and open any project, all the panels in the workspace just open on top of each other in the middle of the screen. None of the presets seem to work either. Has anyone experie

  • Changing 'Path Not Found ()' error

    Hi, Can anyone point me to where I can change the 'path not found ()' message a user gets when trying to access Dashboards and they have no access to any dashboards ? I've scanned all the files in the OracleBI\web\msgdb\l_en and I cant find anything