Tag Info

New answers tagged

0

Either add the safecontrol to your config file or update the SearchResults.aspx page layout's top section. <%@ Page language="C#" Inherits="Microsoft.SharePoint.Publishing.PublishingLayoutPage,Microsoft.SharePoint.Publishing,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> <%@ Register Tagprefix="SharePoint" ...


0

Finally, I found how to modify the code. I change this var x1 ='<xsl:value-of select="$information"/>'; To var info = thisitem.parentNode.getElementsByTagName('div'); var x=info[0].innerHTML; "thisitem" is a variable value It works!!!!


1

You need Moderation Status (ModStat) for this to work. You need map crawled property to managed property. Crawled property = ows__ModerationStatus. "Require Content approval" must be enabled on library (Library Settings > Versioning Settings > Enable "Require content approval for submitted items"). Map that crawled property to managed property for ex. ...


0

As far as I know, the Ranked Results table are your results. In other words, by removing the Ranked Results you are eliminating the content you are trying to show. If you don't want the part to load before the query wrap the whole query like this: {? your query } SO if your query is {searchboxQuery} Content Type:Post make it {? {searchboxQuery} Content ...


0

I found the answer: First, javascript:moreless(this,'{productiondescription}') does not work, I delete '{productiondescription}' Second, I delete fullText in function moreless(abc,fullText) Third, I add full description and short description to XSLT, and then I add the following code to JS and hide full description. I know it is not a good idea but I ...


0

I deleted and readded the search results webpart, and everything is the way it's supposed to be. As far as I could tell, I hadn't changed anything with that webpart.


1

Please confirm, that PreferredName is enabled for sorting in the Search Service Application! SSA > Search Schema > Managed Properties > Search for "PreferredName" > Sorting Enabled


0

In the search results webpart you need to enable the "show sort dropdown" for this to work (setting the JSON sort order). If this is not ticked, the webpart will not listen to the sort order you specify in the JSON. You can though, hide the sort dropdown with some css if you need to sort on another property, but do not want to enable your users to change ...


4

I'm afraid your hypothesis: Does it recognize search result webparts and skips indexing those? is the good guess. Actually, to be precise, the Web part does recognize the crawler, not the other way arround! Looking at the SharePoint code with ILSpy, we can see that: ContentBySearchWebpart inherits from DisplayScriptWebPart DisplayScriptWebPart has ...


1

You can use the path property. For example path:http://site/lists/list/folder


0

We discovered some anomalous behavior in our environment that sometimes breaks filtering by path. We have a ticket open with Microsoft to figure out why it sometimes works continuously for weeks and then stops working for weeks. Additionally, I learned the Path managed property is set to "Complete Matching" so it will only work when the path is provided ...


0

Do you mean that you want to display the Path managed property? That would be pretty easy since it is already being presented as the link to the document. Just modify the Display Template and surface the Path as text.


0

I exported the webpart and edited the xml. I changed this property: "TrimDuplicates":false I uploaded the webpart and now it works great! But why do I need to edit this in xml?? Isnt there another solution in the GUI of sharepoint?


0

Thanks, you pointed me in the right direction. I only added the no conflict option. var j = jQuery.noConflict(); j(document).ready(function () { jRoot = _spPageContextInfo.webAbsoluteUrl; j.getScript(jRoot + "/_layouts/15/SP.js", function () { PageLoadTrigger(); }); });


0

To your question, the answer is No (It is a setting). Try going to Site Settings, under Search, Result Types. See if PDF is part of the priority sequence given here. If not, you can add a new result type for PDF. Which content type appears before or after is set by the priority given on this page, which you can configure. Also, verify the same for site ...


0

Thanks for Javier for his detailed explanation. I have tried his method, but it worked for a while then it broke. What I did to resolve the issue is: ...


0

A managed property against your tagging column should be enough to fulfill your requirement. Follow the below steps to get your content returned by searching against the tagging fields. Create a page by tagging -> Crawl your content source (site) -> Crawled property will be created (for tagging column) -> Create a search managed through UI or PowerShell. ...


0

You need to create a Result source, a Query rule and a Managed Property mapped to Tags column. Result Source would define that Search should return values form pages directory. Use path identifier here. Query rule will define that your keyword matches managed property. Follow this link


0

not sure if it is a js script file that is not running but I had a same sort of problem with sp.js file (SP.ClientContext was not working). Solved it with this: $("document").ready(function () { var scriptbase = _spPageContextInfo.webAbsoluteUrl + "/_layouts/15/"; $.getScript(scriptbase + "sp.js", function () { //rest of my code }); ...


0

If deleted site collections still showed in the search result, then make sure following things. A full Crawl against the content source(which belongs to deleted site collections) If after couple of crawls items still Showed in the result then reset the search index. Another thought, please make sure the deleted sites also removed from Central admin...run ...


1

If it was a crawled property it would be easy. Just map it to Title. Since you are using Content Enrichment you can use your service to Update the Title Managed Property rather than (or in addition to) the custom property. Alternatively, you can create a Display Template and Result Type rule for your result then just edit the template to use your new ...


0

Their are many ways to handle the large lists. Here are few Options: Create index for the column to be filtered by. For example, create an index on “State” column, then create a view filtered by “State”. But if the items for this view is more than $5,000, it does not work; It only works on views with less than 5,000 items. Use folders to hold items; Each ...



Top 50 recent answers are included