Make Search Managed Property ViewsLast7DaysUniqueUsers Sortable

Hello,
I am implementing Most Read Pages functionality, so want to have OOB - Search Managed Property "ViewsLast7DaysUniqueUsers" as a Sortable. But it is non-editable in O365. Also, I cannot see any crawled property
being mapped to this managed property.
Can anyone please suggest?
Regards, Nanddeep Nachan

I better thought of using ViewsLifeTimeUniqueUsers or ViewsRecentUniqueUsers
Regards, Nanddeep Nachan

Similar Messages

  • Search managed property date format dd/mm/yyyy instead of mm/dd/yyyy

    All regional settings in the site collections and the search site have been set to English(Australia), and the date format is correct within them however when I try to perform a search on a managed date property date:dd/mm/yyyy I do not get the expected
    results. I only get the correct results when searching date:mm/dd/yyyy.
    I found some articles regarding SP2010 and this issue, the correct answer was a link to a TechNet article with information about how to modify the XSLT in the results web part in the search centre. I could not find the XSLT in the results web part properties
    in SP2013 so I don't know if this information is redundant or if there is an easier way.
    It really seems like such a simple and common request so I can only imagine that its too obvious to blog about considering the time I've put into google on this one, and am I'm missing something here?
    Thanks,

    Hi karlostavitch,
    This issue seems to be caused by Query Language. Query Language is not the language of the Browser interface, but the language submitted to web sites. By default, the property of search results is null, the locale will be inferred from the browser language.
    You can change query language by exporting the Search web part, then adding query language property to the file.
    More information, please refer to the link:
    http://blog.orbitone.com/post/Language-sensitive-search-results-in-SharePoint
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to use search REST api to get custom managed property data for anonymous user?

     
    I am trying build a public portal with anonymous access and i am trying to read some
    content from custom managed property using search REST api in sharepoint 2013. I have tried to enable all possible attributes of the managed prop. Like searchable,queryable,safe etc. also i am including queryparametertemplate in my REST api search query. But
    still i am not able to retrieve the managed prop. For an anonymous user. The same query returns the value if i am logged in.
    Any Help is greatly appreciated. 
    Thanks,
    Rakesh
    Thanks, Rakesh

    Hi Rakesh,
    To enable anonymous Search REST queries, we need to create queryparametertemplate.xml and upload it to the correct library in SharePoint.
    From your description I can know that you have created the file, then I recommend to check the things below:
    Please use “QueryTemplatePropertiesUrl” instead of “queryparametertemplate” in the Search REST API query as following: &QueryTemplatePropertiesUrl='spfile://webroot/queryparametertemplate.xml'.
    Make sure that the Query Properties you need have been added to the QueryProperties element in the queryparametertemplate.xml file.
    Make sure that the query parameters you need have been added to the WhiteList element in the
    queryparametertemplate.xml file. For example, if you want to use Refiners in the REST API, then the Refiners should be added to the
    WhiteList element in the queryparametertemplate.xml file as following:
    <a:string>Refiners</a:string>.
    You can also debug setting properties in anonymous Search Rest queries following the link below:
    http://www.mavention.com/blog/debugging-setting-properties-anonymous-search-rest-queries
    More references about anonymous Search REST:
    http://blog.mastykarz.nl/configuring-sharepoint-2013-search-rest-api-anonymous-users/
    http://msdn.microsoft.com/en-us/library/office/jj163876%28v=office.15%29.aspx#bk_AnonymousREST
    Thanks,
    Victoria
    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]
    Victoria Xia
    TechNet Community Support

  • Content Search Web Part and Managed Property

    Do I have to have cross-site collection publishing feature turned on for the Content Search Web Part to show a managed property?
    I have a list and a column in that list called Colors. I created a managed property out of the crawled property for Colors column. On a page within the same site-collection, I added a content search web part (displays items from the earlier list) and
    trying to display the managed property for Colors to show up for each of the items. For some reason, Colors value is not being displayed for the items.
    Any ideas?

    Thanks, Peter, appreciated. Here is my problem:
    I created a site column and added it to the list. Added an item that has a value for this site column. System automatically generated a crawled property for the site column and also a managed property. Do I still have to perform step # 5 from above?
    Now when I go into the content search web part and change the query to use this managed property as a refiner, it does not work.
    I will try the debugging as you suggested.
    In the meanwhile, Please let me know if you know of anything wrong I am doing.
    UPDATE: I debugged it using IE Dev. Toolbar and the value for that managed property is being returned as null. What could be going wrong? How can I further troubleshoot this problem?

  • No search result using managed property from a column of a published infopath form

    Hi,
    I'm trying to use a managed property in the advanced search to retrieve only words from a column of a published InfoPath form. We are using FAST Search and verify that the column are being crawled by checking the crawled property in Central Admin but still
    cannot retrieve search result for the managed property. We also do a full crawl before testing the search. Thank you..

    Hi Rommel,
    When we create a column from a list (not site column), then we need create list item with this column value, then we need to full crawl, then the the crawled propery ows_listColumnName will be generated, then create a managed property to map this
    crawled property(start a full crawl again if needed), then add the custom managed property in advance search web part property, then check again.
    Here is an article about how to add the custom managed proerpty in advanced search web part, you can take a look.
    http://waelmohamed.wordpress.com/2011/05/31/add-custom-search-properties-in-your-advanced-search-sharepoint-2010/
    Thanks
    Daniel Yang
    TechNet Community Support

  • O365 CSOM (javascript) 'SiteOwners' managed property in Search results

    The requirement is to pull SiteOwners [secondary site collection admins] for each site on Office 365 tenancy, using CSOM (JavaScript).
    The following is the code
    var keywordQuery = new Microsoft.SharePoint.Client.Search.Query.KeywordQuery(context);
    keywordQuery.set_queryText('contentclass:"STS_Site" contentclass:"STS_Web"');
    keywordQuery.set_trimDuplicates(false); //returns sub-sites
    var Managedproperties = ['Title', 'Path', 'SiteDescription', 'ParentLink', 'Rank', 'SiteLogo', 'SiteName', 'Author', 'SiteID', 'WebId', 'SiteOwners', 'AuthorOWSUSER', 'WebTemplate'] //'People','SiteMembers'
    var kwqProperties = keywordQuery.get_selectProperties();
    for (var i = 0; i < Managedproperties.length; i++)
    kwqProperties.add(Managedproperties[i]);
    var searchExecutor = new Microsoft.SharePoint.Client.Search.Query.SearchExecutor(context);
    searchresults = searchExecutor.executeQuery(keywordQuery);
    context.executeQueryAsync(onQuerySuccess, onQueryFail)
    Though "SiteOwners" [secondary site collectin admins] are defined for each site, the value for "SiteOwners" is always empty ("").
    Though calls can be made to individual sites to pull the siteowners, want to avoid multiple calls by making use of Indexed search data.
    Any suggestion/help please.
    Sai

    The SiteOwners managed property has no crawled property mapped to it. There does not appear to be a specific site owners crawled property. I would suggest using the Author managed property. It appears to be the same as the site owner. Some side loaded
    or installed third party apps will have System Account as the author, this would be correct since a timer job deploys the app.
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

  • Query with an integer managed property

    Hello everyone,
    A (I hope) simple question. How to do search with a managed property of type Integer (or non-text type in general)?
    Here is what I am doing and fail to make function so far.
    Create a column of type Number with a Document Library; name it LocalNumColumn.
    Crawl once to have it as a crawled property: ows_LocalNumColumn.
    Map it to one of the out-of-box predefined managed property: RefinableInt00.
    Re-crawl to populate the managed property, though not sure if necessary.
    It works with the Refinement web part. I am able to refine a search result, choosing a defined threshold.
    But that's it. I cannot use it in any other way, such as with the Content Search web part.
    A query like "path:"..."  (IsDocument:"True" OR contentclass:"STS_ListItem") RefinableInt00>1000" returns with "We didn't understand your search terms. Make sure you're using the proper syntax".
    The same response from /searchcenter/Pages/results.aspx?k=RefinableInt00%3E1000.
    I do not know whether this is a syntax issue or the way I prepare the numeric property.
    Any insight?
    Thank you, Kazu

    Hi,
    The problem is with RefinaableInt00, which is just the retrieve and refine as shown in the below screenshot.
    You need to make this refinable property to include search as well then only you are able to search in the search results.
    Edit the property and select search option and then do the full crawl.  The results will appear as per your expectation.
    The best practice in my opinion is to create the custom Managed Property with all settings set like Queryable, Search, Refinable etc and map your crawl property.
    Please mark it answered, if your problem resolved or helpful.

  • Single value managed property with type Decimal

    Hi,
    Is there any way to configure queryable decimal managed property that is single value? RefinableDecimal00 etc. properties are all multivalue which doesn't seem to work in a search query as a filter (is there some way to make it work?).
    I'm trying to search for items with rating > 0 (AverageRating).

    Hi
    did u import util.date() in the component.
    did u write correct functionality in development for date.
    send test mail i will send one word doc related to this
    Regards
    Sunil
    [email protected]

  • Correct term for the Safe attribute in creating New Managed Property

    Hi,
    I'm creating a new managed property through Powershell and XML. I need to set the Safe attribute to true. Do you know the correct term for the Safe attribute? I have tried "Safe" and "SafeForAnonymous" but still didn't worked.
    <Property ManagedName="ArticleStartDateOWSDATE" CrawlName="ows_q_DATE_ArticleStartDate">
          <Crawl Category="SharePoint" PropSet="ed280121-b677-4e2a-8fbc-0d9e2325b0a2"  Variant="31" IsEnum="false" />
          <Managed Type="1" Queryable="true" Refinable="false" Retrieve="true" FullText="false" RemoveDup="false" Respect="false" Multi="false" sortable="true"
    WordBreaker="false" SafeForAnonymous="true"/>
        </Property>
    Regards,
    Napster

    Hi Napster,
    How do you create managed metadata with PowerShell?
    If you use PowerShell cmdlet New-SPEnterpriseSearchMetadataManagedProperty to create a new custom Managed Property, both parameters
    -Safe $true and
    -SafeForAnonymous $true could work, and ManagedPropertyInfo has property SafeForAnonymous, so it should be better to use SafeForAnonymous.
    Please try to get the correct attribute name and value from XML file, then pass it to the PowerShell cmdlet  New-SPEnterpriseSearchMetadataManagedProperty parameter -SafeForAnonymous, then check results again.
    Here are some useful articles about this topic you can take a look.
    http://blog.kuppens-switsers.net/sharepoint/creating-managed-crawled-properties-using-powershell/
    http://sadomovalex.blogspot.com/2014/02/powershell-script-for-creating-and.html
    http://technet.microsoft.com/en-us/library/ff608089(v=office.15).aspx
    http://msdn.microsoft.com/en-us/library/microsoft.office.server.search.administration.managedpropertyinfo_properties(v=office.15).aspx
    Thanks,
    Daniel Yang
    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] 
    Daniel Yang
    TechNet Community Support

  • Custom Manage Property does not pick up the value from mapping crawl property

    Hi All,
    I have created a custom list with the column name that's called "category".
    Then I ran full crawl and I saw the "ows_category" crawl property is created.
    Then I create the manage property names as "Category" and map with the "ows_category" and run the full crawl again. (Retrivable, Searchable, Refinable options are checked)
    After full crawl, I searched Category:keyword but it returned 0 result. 
    But when I search keyword, that list item is retuned
    I tried to debug with the spsearch2013 tool and there is no "Category" manage property in the return XML.
    It seems the Manage Property does not pick up value from the crawl property. (Something might be wrong with the index schema)
    Do you have any suggestion?
    Do I need to reset the index?
    Best Regards,
    Andy

    Hi Andy,
    When you search ‘category’ in crawled properties(Central Administration->Search Service Application->Search Schema), you will see ows_Category is mapped to DiscussionCategory, like the screenshot:
    So, I suggest you create a new column using another name, then test again, compare the result.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • How to use viewslifetime managed property to get the list of sites which are least accessed?

    Hi,<o:p></o:p>
    I am trying to get the subsites of a site collection which are least accessed. I am using ViewsLifeTime managed property in a content search web part with a condition like this:
    ViewsLifeTime < 0
    OR
    ViewsLifeTime = 0.
    However, It is not giving any results. I even tried with ViewsLifeTime < 10. I have some subsites which are accessed less than 10 times. I came to know this when I saw the value of ViewsLifeTime
    property.
    Can anyone suggest how to add a condition on ViewsLifeTime property?
    Thanks in advance.

    Hi Mohan,
    Here is a thread with similar issue for your reference:
    http://social.technet.microsoft.com/Forums/en-US/770f100d-eadb-45d1-9305-15f11cf9038d/ctxcurrentitemviewslifetime-is-showing-null?forum=sharepointsearch 
    If you would like to get site usage report in SharePoint 2013, there is OOTB feature for you to view popular trends report for a site, you could refer to the link below:
    http://blogs.technet.com/b/tothesharepoint/archive/2014/01/28/view-and-configure-usage-analytics-reports-in-sharepoint-server-2013.aspx
    In addition, custom script for usage report for SharePoint sites might be more helpful to your requirement to know access times:
    http://blog.falchionconsulting.com/index.php/tag/audit/
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Managed property value is not returned in item template for ArticleStartDateOWSDATE

    Environment: SharePoint 2013 online
    Related parts: Search Result web part (OOB), Display template for search result items
    Base type: article page
    I have a search result page, it has a search result web part on it, for the display template, it is using a default for list, using  "single template to display items" option to point to a custom item template.
    The search returns list of articles, just title and abstract, it works fine. 
    We need to add "Article Date" to be displayed. "Article Date" is a OOB site column under "Publishing Columns".
    I found its field name is ArticleStartDate, then from search schema, I found the corresponding managed property name is "ArticleStartDateOWSDATE", the mapped crawled property is "ows_q_DATE_ArticleStartDate".
    In order to display it, I added managed property mapping to the item template to map to ArticleStartDateOWSDATE.
    The code is like,
    <mso:ManagedPropertyMapping msdt:dt="string">&#39;Title&#39;:&#39;Title&#39;,&#39;,&#39;MyArticleStartDate&#39;:&#39;ArticleStartDateOWSDATE&#39;</mso:ManagedPropertyMapping>
    var ArticleDate = $getItemValue(ctx, "MyArticleStartDate");
    The value of variable (ArticleDate) is empty when try to display it.
    Please let me know if you re-create this issue or have a solution to display the value. 
    BTW, on "Content search" web part, I can map ArticleStartDateOWSDATE to "Line 3", and display its value. So I know the managed property itself should be fine.
    Thanks in advance,
    John
    John Architect

    I think your input value is wrong,, when I did HTML decode of your Managed properties :
    &#39;Title&#39;:&#39;Title&#39;,&#39;,&#39;MyArticleStartDate&#39;:&#39;ArticleStartDateOWSDATE&#39;
    It gives :
    'Title':'Title',','MyArticleStartDate':'ArticleStartDateOWSDATE'
    i.e. wrong, if you see there is extra comma in between.
    try giving :
    &#39;Title&#39;:&#39;Title&#39;,&#39;MyArticleStartDate&#39;:&#39;ArticleStartDateOWSDATE&#39;
    or directly 'Title':'Title','MyArticleStartDate':'ArticleStartDateOWSDATE'
    get2pallav
    Please click "Propose As Answer" if this post solves your problem or "Vote As Helpful" if this post has been useful to you.

  • Problem with Path Managed property in alternate zones - also we have identified problem with Product catalog in alt zones

    Hi All,
    I'll start "one step back". Note we have resolved this issue but it is worth mentioning:
    Yesterday we set up the product catalog. We were having a lot of inexplicable problems with it initially. After much troubleshooting, we found that it was because we were browsing the SharePoint site via the "Internet Zone" rather than the "Default
    Zone" when we "Connected" our site to the product catalog. Issues experienced:
    1) "Catalog Item URL Format" displayed error "Properties <Managed Property> specified by the shared catalog could not be found in the search schema" when attempting to connect to the catalog, despite that managed property being
    configured correctly. The catalog would connect despite the error, and the navigation worked fine.
    2) The search Result Source for the catalog would not return any results. Configuring the query and selecting "Advanced Mode" would show SPSiteURL:http://externalURL.domain.com. Changing SPSiteURL manually to
    http://InternalURL resulted in results being returned as expected.
    After much troubleshooting, we found that if were browsing SharePoint using the default zone (http://InternalURL) when we connected the Product Catalog, the result source then worked properly (internally and externally).
    Ok, so now onto our current problem:
    The Product Catalog appeared to be working properly (internally and externally) after figuring out that we needed to connect it from the Default Zone. However, we have found a remaining glitch, which doesn't appear to be Product-Catalog-specific. Consider
    the following scenario:
    1) We click a category in our Product Catalog, such as Electronics
    2) A list of our electronic devices are presented via the "Category" display page
    3) If we click on a specific item, a different URL is returned internally vs externally. We only get the friendly managed navigation URL when browsing via the Default zone. And of course totally different pages load based on which URL you get.
    Internal (when browsing via Default zone):
    http://InternalURL/catalog/PRODUCT-CATEGORY/PRODUCT-NAME
    External (when browsing via Internet zone):
    http://ExternalURL.domain.com/catalog/Lists/Products/DispForm.aspx?ID=1
    We have reviewed the display template, and the "Path" managed property is simply being used to render the link. Furthermore, we have configured the Content Search web part's "Property Mappings" to show the "Path" MP, and it
    displays the same (wrong) result externally.
    This tells us that the Path MP is not correctly rendering "Friendly URLs" when using managed navigation.
    Any help/ideas?
    Our environment:
    SharePoint Version: 15.0.4667.1000
    Default Zone: http://InternalURL
    Internet Zone: http://ExternalURL.domain.com
    We are NOT using host named site collections
    We ARE crawling the Default zone URL in our content source
    Thanks,
    Tommy

    Hi,
    We have now also observed the same issue with a Managed Property of type “Hyperlink/Picture”. The picture returns the wrong URL externally.
    This post describes the same issue, however the poster found that setting UseAAMMapping=True doesn’t work in 2013:
    http://sharepoint.stackexchange.com/questions/104806/set-the-useaammapping-property-of-a-managedproperty-object-map-an-url-of-a-h
    We checked, and our Picture MP had UseAAMMapping=False. We set it to True, did a full crawl, and see no change in behavior. Path already had UseAAMMapping=True.
    More info:
    http://macslui.blogspot.com/2013/02/sharepoint-2010-problem-in-image-result.html
    https://camerondwyer.wordpress.com/2014/08/04/beware-sharepoint-2013-search-results-and-the-listurl-property/#comment-2606
    Thanks,
    Tommy

  • Crawled Property OFFICE:7 (document template) is not crawled and thus not mapped to managed property

    Hi,
    our customer (SharePoint Enterprise 2013) wants to crawl the information which Office template was used for creation of a Word/Excel/PowerPoint file for refining in his searchcenter.
    We did some research on that topic and found out, that this information should be crawled in the buildin crawled category OFFICE in the crawled porperty 7. But so far any attempts to get any mapping working on this crawled property have been insufficient/frustrating...
    What we did:
    Map the crawled property to the RefinableString00 Refiner, add this refiner to the refiner web Panel and then do a full crawl. So far the refiner does not show up, and when using the "Query tool" we see that the managed property is empty and not
    filled. For Debugging I tried to map nother crawled property to this refiner OFFICE:2 => Title of OFFICE:4 => Author which worked out just fine. So the refiner configuration seems to work but the crawler somehow does not seem to get the template Information
    out of my documents. I even opened the uploaded word documents in Word to control if the template Information is correctly readable and you can see in the properties of the file, that normal.dot is filled out.
    We even controlled the properties of the crawled property, it´s "isMappedToContents" is set to true.
    with Kind regards, I really Do hope someone has a clue
    David

    All the content which is crawled will be part of search results by default including all the data in the list and documents. Mapping crawl property with Managed property helps if you want to execute a keyword query : Title(column)=SharePoint or
    Title;SharePoint
    You will typically need to do this kindda mapping if you want to
    1. filter data based on column in Advanced Search Web Part
    2. Add your custom column as part of search results on result page.
    3. Add column based FILTER on Search result page.
    ********* Please mark as ANSWERED if you find this useful.************  

  • Managed Property in Refinement - why not use the automatically-created site column managed property

    Hi,
    I read that although SharePoint 2013 automatically creates managed property for site column (OWS_Q_TEXT_COLUMNNAME) - in the refinement i should use a managed property and map to the ows_columnname. why?
    what's the difefrence?
    what is best - to create a new managed property (and set it as refinable) or use the OOB Refinementstring0, Refinementstring1 etc.)?
    keren tsur

    You are probably talking about this blog post.
    http://blogs.technet.com/b/tothesharepoint/archive/2013/11/11/how-to-add-refiners-to-your-search-results-page-for-sharepoint-2013.aspx
    The reason you want to use the ows_columnname crawled property is because it is of the correct data type. The other is always text. If the site column is a date or a decimal then using the OWS_Q_TEXT... crawled property,will cause the refiner not to display
    the appropriate control, for example a slider control for a date type refiner.
    http://sharepointfieldnotes.blogspot.com/2013/05/understanding-and-getting-sharepoint.html
    Blog | SharePoint Field Notes Dev Tools |
    SPFastDeploy | SPRemoteAPIExplorer

Maybe you are looking for

  • CFChart images broken when creating a PDF document with SSL

    I have a report that I create with Coldfusion, that includes a number of CFChart objects.  I recently installed a new SSL certificate, and now all the charts show up as broken links.   It shows up fine if I try and display this as HTML. On the chance

  • SONY ERICSSON DOESNT SUPPORT MAC

    Its REALLY unbelievable. Since i was a child i used to buy all the time SE mobile phones. BUT now it is the last time! I recently bought an iMAC and i tried to tranfer a MOVIE from my MAC to the phone with Media Sync software. (It is the MEdia GO but

  • UCCX 8.0 Accessing ECC Vars through custom Java

    In a UCCX script, how can I access the ECC Vars within custom Java? I  know how to pull them in the UCCX script using the "Get Enterprise Call  Info" step.  I want to grab all of the ECC key value pairs without  knowing how many there are or their na

  • TextEdit doesn't paste images

    Hello. The problem occurs when i'm trying to paste the content from Chrome browser to TextEdit. Text pastes good, but the images don't display nor as images, nor as links. Snow Leopard didn't have such problem. Can you help me solve this pb? Thx

  • View in Journals

    Hi I need to input some journals in HFM. Some of these are periodic while some are YTD amounts. The system as of now only takes the default as set for the scenario and does not ask for the view dimension while input/ load of a journal Is there some w