Sharepoint 2013 Timeout content

Hi,
My webpart page after timeout and clear all content  after 100 seconds.
SPSecurity.RunWithElevatedPrivileges(delegate()
                    using (SPSite site = new SPSite(siteurl))
                        using (SPWeb theWeb = site.OpenWeb(weburl))
                            System.Threading.Thread.Sleep(120000);
                            if (HttpContext.Current == null)
                                HttpRequest request = new HttpRequest("", SPContext.Current.Web.Url, "");
                                HttpContext.Current = new HttpContext(request, new HttpResponse(new StringWriter()));
                                HttpContext.Current.Items["HttpHandlerSPWeb"] = theWeb;
                            HttpContext.Current.Response.Redirect(currenturl); //can not redirect 
page cannot redirect. 
Webpart Page  this content is just staying.
(White Page)  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=windows-1252" http-equiv=Content-Type></HEAD>
<BODY></BODY></HTML
please help

Hi,
To handle a long operation in SharePoint, we can take use of SPLongOperation:
http://www.ashokraja.me/tips/Handling-Request-Timeout-Error-in-SharePoint-while-executing-a-long-running-process
Or we can increase the Execution Timeout as below:
http://geekswithblogs.net/DennisBottjer/archive/2009/04/13/increase-sharepoint-execution-timeout.aspx
Best regards,
Patrick
Patrick Liang
TechNet Community Support

Similar Messages

  • Hosting SharePoint 2013 and content separation (Windows Server 2012)

    I have a windows 2012 server which hosts a ASP.NET 4.5 MVC website.
    I am interested in installing SharePoint 2013 on the same standalone server (which is a virtual cloud server, and easily scalable). I would like to be able to create separate instances of sharepoint for each of my customers (around 10), and provide them
    with a custom URL ie. customer.abc.com (where abc.com is my domain). These sites will be created programmatically when a user signs us to my site (they only require basic SharePoint functionality, i.e. the creation of team sites, notifications etc.)
    So:
    1) Can I install SharePoint 2013 at no extra cost on windows server 2012? (what are the limitations)
    2) Is it possible to create separate instances of sharepoint 2013 (in terms of config and content DB's)
    3) I'm sure there are many but what are some other considerations

    1) With SharePoint Foundation, SharePoint itself does not cost anything, but you must purchase User CALs for employees of your company, and User CALs for non-employees or a Windows External Connector license.
    2) No, you need to use multi-tenancy instead - http://www.harbar.net/articles/sp2010mt1.aspx
    Note that you must have Active Directory in this environment and the Server 2012 VM you currently have must be joined to the Active Directory domain.
    Trevor Seward
    Follow or contact me at...
    &nbsp&nbsp
    This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • Sharepoint 2013 - WSS content LOG file very very big

    Hi there.
    Sharepoint 2013 with latest updates.
    WSS CONTENT database size is cca 110GB, LOG FILE is 90GB.
    Even if we did FULL backup of databes that does not decrease LOG file size.
    Any hints how to lower the size of LOG data file?
    With best regards
    bostjanc

    Hi Bostjan,
    I wonder whether the issue can be resolved by shrinking log file.
    Shrinking data files recovers space by moving pages of data from the end of the file to unoccupied space closer to the front of the file. When enough free space is created at the end of the file, data pages at end of the file can deallocated and returned
    to the file system.
    Here is the reference for Shrink a File in SQL 2012 for your convenience:
    https://technet.microsoft.com/en-us/library/ms190757(v=sql.110).aspx
    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]

  • SharePoint 2013 Custom Content Type with Site Column custom validations

    Hello,
    Can somebody please suggest me how I can create custom content type with site columns with custom validation to site columns programmatically?
    Thanks,
    Praveen Kumar Padmakaran

    Hi,
    From your description, my understanding is that you want to create content type with site column with validation.
    You could create a site column, and add some validation to the site column. After you could create a custom content type, please add the site column with validation to the content type. Please refer
    to this code below:
    static void Main(string[] args)
    // replace your url
    using (SPSite site = new SPSite("http://sp/sites/sp2013"))
    using (SPWeb web = site.OpenWeb())
    //define the type of the field
    SPFieldType type = SPFieldType.Number;
    // create a site column
    SPField field = CreateSiteColumn(web, "newTest", type, "");
    // add custom formula for the field
    SPFieldNumber fieldNumber = web.Fields.GetField("newTest") as SPFieldNumber;
    fieldNumber.ValidationFormula = "=[newTest]>5";
    fieldNumber.ValidationMessage = ">5";
    fieldNumber.Update();
    SPContentTypeId parentItemCTypeId = web.ContentTypes[0].Id;
    // create custom content type
    SPContentType contentType = CreateSiteContentType(web, "newContent", parentItemCTypeId, "Custom Content Types");
    // add the site column to the content type
    AddFieldToContentType(web, contentType, field);
    // add fiedl to contenttype
    public static void AddFieldToContentType(SPWeb web, SPContentType contentType, SPField field)
    if (contentType == null) return;
    if (contentType.Fields.ContainsField(field.Title)) return;
    SPFieldLink fieldLink = new SPFieldLink(field);
    contentType.FieldLinks.Add(fieldLink);
    contentType.Update();
    // create a custom content type
    public static SPContentType CreateSiteContentType(SPWeb web, string contentTypeName,SPContentTypeId parentItemCTypeId, string group)
    if (web.AvailableContentTypes[contentTypeName] == null)
    SPContentType itemCType = web.AvailableContentTypes[parentItemCTypeId];
    SPContentType contentType =
    new SPContentType(itemCType, web.ContentTypes, contentTypeName) { Group = @group };
    web.ContentTypes.Add(contentType);
    contentType.Update();
    return contentType;
    return web.ContentTypes[contentTypeName];
    // create a site column
    public static SPField CreateSiteColumn(SPWeb web, string displayName,SPFieldType fieldType, string groupDescriptor)
    if (!web.Fields.ContainsField(displayName))
    string fieldName = web.Fields.Add(displayName, fieldType, false);
    SPField field = web.Fields.GetFieldByInternalName(fieldName);
    field.Group = groupDescriptor;
    field.Update();
    return field;
    return web.Fields[displayName];
    You could refer to these articles:
    C# code to create Site Column, Content Type, and add fields to Content Type
    http://spshare.blogspot.jp/2013/10/c-code-to-create-site-column-content.html
    How to do custom validation for site column in SharePoint
    http://www.c-sharpcorner.com/uploadfile/anavijai/how-to-do-custom-validation-for-site-column-in-sharepoint/
    Best Regards,
    Vincent Han
    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].

  • Uploading multiple documents into sharepoint list item with REST in sharepoint 2013 using content editor web part :

    hi ,
    i am trying to upload multiple document files into sharepoint list item. I followed below link for implementaion.
    http://techfindings-prem.blogspot.in/search/label/jquery.multifilejs
    It was working for sharepoint hosted app.
     This complete code is written within content edito web part.
    It was working when i was in root site collection with below change (hard coded the root level url) in code in "UploadFile" function.
    var scriptbase = "http://servername" + "/_layouts/15/";
                console.log(' File size:' + bytes.length);
                $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
                    var createitem = new SP.RequestExecutor("http://servername");
                    createitem.executeAsync({
                        url: "http://servername/sites/cpg/" + "/_api/web/lists/GetByTitle('SalesRecord')/items(" + attachmentitemid + ")/AttachmentFiles/add(FileName='"
    + fileName + "')",
                        method: "POST",
                        binaryStringRequestBody: true,
                        body: binary,
                        success: fsucc,
                        error: ferr,
                        state: "Update"
                    function fsucc(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(data + ' uploaded successfully');
                        deferred.resolve(data);
                    function ferr(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(fileName + "not uploaded error");
                        deferred.reject(data);
    But the issue came in picture when i was working with the other site collection instead of root one. The url was like below.
    "http://servername/sites/cpg/". This time i need to be there within "cpg" site collection. 
    Now if i hard code the url as i did above my code gets break here while come to below line
     $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
    I am getting error when i used below code:
    var scriptbase = "http://servername" + "/_layouts/15/";
     $.getScript(scriptbase + "SP.RequestExecutor.js", function () {
                    var createitem = new SP.RequestExecutor("http://servername");
                    createitem.executeAsync({
                        url: "http://servername/sites/cpg/" + "/_api/web/lists/GetByTitle('SalesRecord')/items(" + attachmentitemid + ")/AttachmentFiles/add(FileName='"
    + fileName + "')",
                        method: "POST",
                        binaryStringRequestBody: true,
                        body: binary,
                        success: fsucc,
                        error: ferr,
                        state: "Update"
                    function fsucc(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(data + ' uploaded successfully');
                        deferred.resolve(data);
                    function ferr(data) {
                        //alert( data.statusText + "\n\n" + data.responseText);
                        console.log(fileName + "not uploaded error");
                        deferred.reject(data);
    Please hekp in this case. This complete code is written within content edito web part. 
    Regards:
    Sanjay Joshi

    Hi,
    According to your post, my understanding is that you have an issue about upload multiple documents files into library vai REST API.
    As you have said, you have used the hard code url in your code.
    How about use the _spPageContextInfo.webAbsoluteUrl method to get the url?
    I have used this method to get the url, then use the code in the article you have pasted within a content editor web part to upload the files.
    You can replace the hard code url with the _spPageContextInfo.webAbsoluteUrl method, then check whether it works.
    Thanks,
    Jason
    Jason Guo
    TechNet Community Support

  • SharePoint 2013 Folder Content Types

    Hi,
    In SP2013 I have library with a default content type (IT Library Content Type) that I want to change when a file is placed in a particular folder in this library.
    The default content type order for this folder has been changed to a different content type 'Issues' and should be the only content type shown when the edit page is presented. However, when a file is added to this folder, a Content Type selection
    listbox is presented showing 'It Library Content Type' as the default selection with the 'Issues' content type available for selection.
    Desired behavior is to have 'Issues' content type columns presented, with no content type selections seen, when the Edit Page is shown.
    Thanks

    Hi,
    As you said about Folder content type in SharePoint, I supposed that you were talking about Document Set content type.
    If I misunderstood, please feel free to correct me.
    If that is the case, the issue is by design that the default content type will be available when uploading or editing documents inside the document set even though the content type is not added in the allowed content types in Document Set settings. And the
    default content type of the library will be set the default selection when editing or uploading documents inside the document set.
    As a workaround, I recommend to set the allowed content type as the default content type in the document library.
    Best regards.
    Thanks
    Victoria Xia
    TechNet Community Support

  • Sharepoint 2013 App Content Blocked

    Working to get apps working correctly in our on prem sharepoint deployment. Seems like I have everything working correctly but... I keep getting the error message below when I go to access an app. From what I've read I believe its something with how I've
    entered the DNS CNAME for the apps (sub) domain but no matter what I try I can't figure it out. Any suggestions would be appreciated. 

    If I'm reading your response right, then the answer is no.  Here's the problem.  YOur regular SharePoint site and the wildcard cert you normally use is for servicebrands.net.  But your Apps domain is a subdomain apps.servicebrands.net.  The
    SSL cert for servicebrands.net is not valid for the subdomain Apps in servicebrands.net.  For that you would need an SSL cert specifically for *.apps.servicebrands.net.  if you were going to any web page in apps.servicebrands.net the address would
    be something.apps.servicebrands.net so *.servicebrands.net isn't a valid SSL cert.  So if SUB is a sitename (sub.serviceapps.net) in your example above, then yes the cert would work.  but not for sub.apps.serviceapps.net.  You need a different
    SSL cert if you use a full subdomain.
    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.

  • Good books on Business solution or content management by SharePoint 2013 OOB Apps or functionality along with examples

    Hi,
    Any help?
    Thanks
    srabon

    Hi,
    I recommend you the book named Beginning SharePoint 2013: Building Business Solutions:
    http://www.amazon.com/Beginning-SharePoint-2013-Building-Solutions/dp/1118495896
    Practical SharePoint 2013 Enterprise Content Management:
    http://www.amazon.com/Practical-SharePoint-Enterprise-Content-Management/dp/1430261692
    Best Regards,
    Lisa Chen
    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]

  • Sharepoint 2013 - Which Server Should Run Microsoft SharePoint Foundation Sandboxed Code Service

    We have just deployed Sharepoint 2013 and also CRM 2011..
    Our Sharepoint 2013 Environment has a WFE and an APP server and we have a CRM 2011 box.
    We have been getting the following error in IE when Users in CRM are clicking on the Document Link under accounts which links to Sharepoint 2013
    "This Content cannot be displayed in a frame
    To help protect the security of information you enter into this website, the publisher of this content does not allow it to be displayed in a frame."
    It seems like it is a IE Security Issue, but I am suspecting it could be the Microsoft SharePoint Foundation Sandboxed Code Service.
    Which server should be running the Microsoft SharePoint Foundation Sandboxed Code Service| WFE or APP.
    Also which server should run the Windows Service: SharePoint User Code Host
    Thank you in advance.

    Hi,
    Please have a look at the following post:
    http://technet.microsoft.com/en-us/library/jj219591.aspx
    As it describes, the recommendation is for both services to start it on the Web Front End servers.
    Cheers,
    Vincent

  • Issue in Custom Blog site definition based on SharePoint 2010 blog site definition after migrating the sites to SharePoint 2013 and site collection upgrade

    I have created a custom blog site definition using SharePoint 2010 blog site definition with Configuration ID 31 in onet.xml (new value). This was working fine for SharePoint 2010.
    We created new SharePoint 2013 farm and deployed the all Custom solutions in
    14/15 folders. After migrating the sites to SharePoint 2013 using Content DB approach, site created previously using my custom definition are working fine.
    But after running site collection upgrade these sites stop working. When I post a comment then comments not getting listed on post detail page. However comments are getting added to Comments List but
    PostTitle column  of Comment is not getting populated.
    Also, when we create a new site in SharePoint 2013 using my custom blog template then that is also not getting provisioned.  default.aspx and look-up between post and comment list are not working.
    If any one has faced such issue then please share your findings and any solution to fix this.
    Thanks in Advance :)

    Hi ,
    According to your description, my understanding is that the blog based on custom blog site definition didn’t work correctly after migrating custom blog site definition to SharePoint 2013.
    If you customized the Onet.xml file in a previous version's site definition, you should modify some sections in the file to work in the current version, like  <BaseTypes> and  <ListTemplate>  etc. More information, please refer
    to the link below:
    http://msdn.microsoft.com/en-us/library/office/aa543837(v=office.14).aspx
    For that the PostTitle column  of Comment is not getting populated, please try to modify the view, then compare the result.
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • SharePoint 2013 - SQL Server BCS Model Incremental Crawl content doesnt show up in Search results

    SharePoint 2013 - SQL Server BCS Model Incremental Crawl content doesn't show up in Search results, Incremental crawl is working fine, i.e., its picking up newly added records in table to the Search, but the newly added content is not available in search
    results page.
    But when i do a Full Crawl, search results are showing up with appropriate content.
    What could be the issue here?
    Suresh Kumar Udatha.

    This time on the Full crawl I got only 62 warnings and 12 errors and ~537.000 success. Warnings were about truncating the crawl documents because their content length exceed the configured for crawl. The 12 errors were "Processing this item failed because
    of a timeout when parsing its contents." and "The content processing pipeline failed to process the item.". I think 12 errors is not much to re-execute full crawl. Site collection has one SP Site Group (with Read Permission Level). In this site group I have
    only one AD Group added, so permission change is not a possible reason for re-crawl, plus nobody changed anything in this ad group. All documents are stored in 2 document libraries and there are no sub-sites. I want to access these documents trough search
    (custom managed property restriction kql) but this way I have no mechanism to fast re-crawl only error documents from the first full-crawl (those 12). This is very strange and put SP 2013 Search almost unusable for my scenario.
    Thanks,
    Darko
    Darko Milevski http://mkdot.net/blogs/darko/

  • Error while crawling LOB contents SharePoint 2013

    Error while crawling LOB contents SharePoint 2013
    I have Configured the BDC Service application using SQL external content. The connection was successful and I am able to see the external content in the List "BDC Demo" . But when I search in the BDC Demo site it gives nothing.
    So I checked in the crawl logs and identified that it shows " 1 " under error. to further drill down the issue , I went to click on "1" and see the error message : Error while crawling LOB contents SharePoint 2013 .
    I have created an external DB named BCSDemo_DB for which I have granted my search Service account read& write permission.
    I have added the same account under administrators for both secure store and BCS service applications. 
    I have done index reset , done a full crawl but the error still occurs.
    Can someone please advise if I am missing something.
    Regards

    Hi Aravinda,
    According to your description, my understanding is that you got an error when you crawled SQL database table in SharePoint 2013.
    This error is caused by the fact that the default content access account does not have any rights to access the metadata store in the Business Data Connectivity Service Application.
    Or it is caused by the default content access account has no rights on the SQL database.
    For fixing it, you need to grant the default content access account permission on metadata store in the Business Data Connectivity Service Application and the SQL database. You can refer to the link below:
    http://www.sharepointinspiration.com/Lists/Posts/Post.aspx?ID=5
    After that, do a full crawl for the content source.
    Best Regards,
    Wendy
    Wendy Li
    TechNet Community Support

  • SharePoint 2013 On-Premises - Search not crawling Korean content, but all other languages

    We are facing an issue in a SharePoint 2013 site where I have lots of PPT files with different languages and also managed metadata tags tagged with them.
    We are facing issue with Korean content PPT files where We are not able to search these files by their managed properties. Somehow SharePoint search is not able to crawl these Korean content PPT files with managed properties.
    if we remove content from these files and do a crawl and search the file with managed property we get the result but if I put a small paragraph of Korean language and do the crawl it doesn't appear in search results with same query after the crawl.
    Following are the server and site configuration details we are using:
    Windows Server 2012 standard with SharePoint 2013 Enterprise Server installation
    All our tags and managed properties are in English language only.
    We are using SharePoint search API where I am passing query to SharePoint to fetch the result for example below is the query we are sending:
       Ex.
    ( parentlink:"site URL*”)AND ( owstaxIdLanguage:"Korean"))
    Following is the search result with different scenarios
    Content   in PPT file
    Search   using
    Result
    English
    File name in search box
    Worked
    English
    Using managed property
    Worked
    Korean
    File name in search box
    Sometimes works
    Korean
    Using managed property
    No result
    Following are the list of scenarios we tried to fix the Korean content issue:
    Did a full crawl on all libraries multiple times
    Did a full crawl on individual libraries
    Changed library level settings to allow items to appear in search result, followed  by a full crawl on individual library
    Tried changing font for Korean content to generic font (Arial Unicode MS) per suggested by our PPT expert and crawled the content.
    Installed Korean language pack on CM2 server and did a full crawl after uploading Korean content PPTs on UAT site

    http://social.technet.microsoft.com/Forums/exchange/en-US/ec9febf7-8d69-42e9-b2dc-b6e5b0b46a89/sharepoint-2013-search-crawl-not-working-properly-with-korean-content?forum=sharepointsearch
    Enabled "Always index all Web Parts on this site" in site settings > site visibility
    Do we see some error in crawl logs in search
    Is it a variation site? If yes, was the managed property data manually updated or it was done by system
    What if you create a new list\column and check if crawl works on that column
    If this helped you resolve your issue, please mark it Answered

  • Content search webpart in sharepoint 2013 paging is not not working for anonymous users on IE9, IE10 and Firefox

    Dear All,
     Issue in CQWP paging on IE9, IE10 and Firefox
    We have created CQWP in SharePoint 2013 for images rollup and its paging perfectly working for authenticated users on all browsers but it’s not working on public facing site for specific browser
     while we are trying to click on paging getting 
    something went wrong and correlation  with correlation id
    We did log analysis and getting different kind of problem description on every click some time contents authentications error, sometime memory
    Once I put webpart inside the  <!--MS:<ZoneTemplate>--> its completely stop working
      so we placed webpart outside  <!--MS:<ZoneTemplate>--> currently
    Strange point is its working on IE11. Please help us its highly appreciated
    Code Details :
    <div data-name="WebPartZone">
    <!--CS: Start Web Part Zone Snippet-->
    <!--SPM:<%@Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"%>-->
    <div xmlns:ie="ie">
    <!--MS:<WebPartPages:WebPartZone runat="server" AllowPersonalization="false" ID="x5d2d1828b2b44612974f72caded2bcd3" FrameType="TitleBarOnly" Orientation="Vertical">-->
    <!--MS:<ZoneTemplate>-->
    <!--ME:</ZoneTemplate>-->
    <!--ME:</WebPartPages:WebPartZone>-->
    </div>
    <!--CE: End Web Part Zone Snippet-->
    <!--CS: Start Content Search Snippet-->
    <!--SPM:<%@Register Tagprefix="spsswc" 
    Namespace="Microsoft.Office.Server.Search.WebControls" Assembly="Microsoft.Office.Server.Search, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>-->
    <!--SPM:<%@Register Tagprefix="a2e8ead9d" 
    Namespace="Microsoft.Office.Server.Search.WebControls" Assembly="Microsoft.Office.Server.Search, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>-->
                            <!--MS:<spsswc:ContentBySearchWebPart runat="server" AlwaysRenderOnServer="False"
    ResultType="" NumberOfItems="12" DataProviderJSON="{&#34;QueryGroupName&#34;:&#34;Default&#34;,&#34;QueryPropertiesTemplateUrl&#34;:&#34;sitesearch://webroot&#34;,&#34;IgnoreQueryPropertiesTemplateUrl&#34;:false,&#34;SourceID&#34;:&#34;8413cd39-2156-4e00-b54d-11efd9abdb89&#34;,&#34;SourceName&#34;:&#34;Local
    SharePoint Results&#34;,&#34;SourceLevel&#34;:&#34;Ssa&#34;,&#34;CollapseSpecification&#34;:&#34;&#34;,&#34;QueryTemplate&#34;:&#34;path:\&#34;http://thepubauth.viacom.com/sites/vh1press/Shows/Show assets\&#34;
    PictureURL:\&#34;/sites/vh1press/Shows/Show assets/{Page.ID}/\&#34; (ContentTypeId:0x0101009148F5A04DDD49cbA7127AADA5FB792B00AADE34325A8B49cdA8BB4DB53328F214* OR ContentTypeId:0x010102*)&#34;,&#34;FallbackSort&#34;:[{&#34;p&#34;:&#34;LastModifiedTime&#34;,&#34;d&#34;:1},{&#34;p&#34;:&#34;Title&#34;,&#34;d&#34;:0}],&#34;FallbackSortJson&#34;:&#34;[{\&#34;p\&#34;:\&#34;LastModifiedTime\&#34;,\&#34;d\&#34;:1},{\&#34;p\&#34;:\&#34;Title\&#34;,\&#34;d\&#34;:0}]&#34;,&#34;RankRules&#34;:null,&#34;RankRulesJson&#34;:&#34;null&#34;,&#34;AsynchronousResultRetrieval&#34;:false,&#34;SendContentBeforeQuery&#34;:true,&#34;BatchClientQuery&#34;:true,&#34;FallbackLanguage&#34;:-1,&#34;FallbackRankingModelID&#34;:&#34;&#34;,&#34;EnableStemming&#34;:true,&#34;EnablePhonetic&#34;:false,&#34;EnableNicknames&#34;:false,&#34;EnableInterleaving&#34;:false,&#34;EnableQueryRules&#34;:true,&#34;EnableOrderingHitHighlightedProperty&#34;:false,&#34;HitHighlightedMultivaluePropertyLimit&#34;:-1,&#34;IgnoreContextualScope&#34;:true,&#34;ScopeResultsToCurrentSite&#34;:false,&#34;TrimDuplicates&#34;:false,&#34;Properties&#34;:{&#34;TryCache&#34;:true,&#34;Scope&#34;:&#34;{Site.URL}&#34;,&#34;ListId&#34;:&#34;00000000-0000-0000-0000-000000000000&#34;,&#34;UpdateLinksForCatalogItems&#34;:true,&#34;EnableStacking&#34;:true},&#34;PropertiesJson&#34;:&#34;{\&#34;TryCache\&#34;:true,\&#34;Scope\&#34;:\&#34;{Site.URL}\&#34;,\&#34;ListId\&#34;:\&#34;00000000-0000-0000-0000-000000000000\&#34;,\&#34;UpdateLinksForCatalogItems\&#34;:true,\&#34;EnableStacking\&#34;:true}&#34;,&#34;ClientType&#34;:&#34;ContentSearchRegular&#34;,&#34;UpdateAjaxNavigate&#34;:true,&#34;SummaryLength&#34;:180,&#34;DesiredSnippetLength&#34;:90,&#34;PersonalizedQuery&#34;:false,&#34;FallbackRefinementFilters&#34;:null,&#34;IgnoreStaleServerQuery&#34;:false,&#34;RenderTemplateId&#34;:&#34;DefaultDataProvider&#34;,&#34;AlternateErrorMessage&#34;:null,&#34;Title&#34;:&#34;&#34;}"
    BypassResultTypes="True" ItemTemplateId="~sitecollection/_catalogs/masterpage/Display Templates/Content Web Parts/DT_Images.js" GroupTemplateId="~sitecollection/_catalogs/masterpage/Display Templates/Content Web Parts/Group_Content.js"
    ResultsPerPage="9" SelectedPropertiesJson="[&#34;PublishingImage&#34;,&#34;PictureURL&#34;,&#34;PictureThumbnailURL&#34;,&#34;Path&#34;,&#34;Title&#34;,&#34;Description&#34;,&#34;SecondaryFileExtension&#34;,&#34;ContentTypeId&#34;]"
    HitHighlightedPropertiesJson="[&#34;Title&#34;,&#34;Path&#34;,&#34;Author&#34;,&#34;SectionNames&#34;,&#34;SiteDescription&#34;]" AvailableSortsJson="null" ShowBestBets="False" ShowPersonalFavorites="False"
    ShowDefinitions="False" ShowDidYouMean="False" PreloadedItemTemplateIdsJson="null" QueryGroupName="Default" RenderTemplateId="~sitecollection/_catalogs/masterpage/Display Templates/Content Web Parts/Control_ListWithPaging.js"
    StatesJson="{}" ServerIncludeScriptsJson="null" Title="Content Search" FrameType="None" SuppressWebPartChrome="False" Description="&#60;%$Resources:Microsoft.Office.Server.Search,CBS_Description;%&#62;"
    IsIncluded="True" ZoneID="ImportedPartZone" PartOrder="0" FrameState="Normal" AllowRemove="True" AllowZoneChange="True" AllowMinimize="True" AllowConnect="True" AllowEdit="True"
    AllowHide="True" IsVisible="True" DetailLink="" HelpLink="" HelpMode="Modeless" Dir="Default" PartImageSmall="" MissingAssembly="&#60;%$Resources:core,ImportErrorMessage;%&#62;"
    ImportErrorMessage="&#60;%$Resources:core,ImportErrorMessage;%&#62;" PartImageLarge="" IsIncludedFilter="" ExportControlledProperties="True" ConnectionID="00000000-0000-0000-0000-000000000000" ID="g_9f61c988_228e_4f91_8d67_04314f144f48"
    ChromeType="None" ExportMode="All" __MarkupType="vsattributemarkup" __WebPartId="{9f61c988-228e-4f91-8d67-04314f144f48}" WebPart="true" Height="" Width="">-->
    <!--ME:</spsswc:ContentBySearchWebPart>-->
    <!--PS: Start of READ-ONLY PREVIEW (do not modify)--><div ms-webpart-chrome-fullWidth "><div webpartid="00000000-0000-0000-0000-000000000000" haspers="true" id="WebPartWPQ1" width="100%" noindex
    " onlyformepart="true" allowdelete="false" ><div style="display: none;"></div><div componentid="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_9f61c988_228e_4f91_8d67_04314f144f48_csr"
    id="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_9f61c988_228e_4f91_8d67_04314f144f48_csr" style="display: none;"></div><noscript>&lt;div id="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_9f61c988_228e_4f91_8d67_04314f144f48_noscript"&gt;It
    looks like your browser does not have JavaScript enabled. Please turn on JavaScript and try again.&lt;/div&gt;</noscript><div id="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_9f61c988_228e_4f91_8d67_04314f144f48"><div><div
    id="WebPartWPQ2_ChromeTitle"><span title="" id="WebPartTitleWPQ2"><h2 style="text-align:justify;"><nobr><span></span><span id="WebPartCaptionWPQ2"></span></nobr></h2></span></div><div
    webpartid="00000000-0000-0000-0000-000000000000" haspers="true" id="WebPartWPQ2" width="100%" ms-WPBorder noindex ms-wpContentDivSpace " onlyformepart="true" allowdelete="false" ><div componentid="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_9f61c988_228e_4f91_8d67_04314f144f48_ctl00_csr"
    id="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_9f61c988_228e_4f91_8d67_04314f144f48_ctl00_csr"><div id="DataProvider" name="Control"></div></div><noscript>&lt;div id="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_9f61c988_228e_4f91_8d67_04314f144f48_ctl00_noscript"&gt;It
    looks like your browser does not have JavaScript enabled. Please turn on JavaScript and try again.&lt;/div&gt;</noscript><div id="ctl00_ctl00_PlaceHolderMain_ComponentMain_ComponentPropertyGrids_g_9f61c988_228e_4f91_8d67_04314f144f48_ctl00"></div><div></div></div></div></div><div></div></div></div><!--PE:
    End of READ-ONLY PREVIEW-->
    <!--CE: End Content Search Snippet-->
          </div>

    Hi,
    In the “Property Mappings” of the Content Search Web Part, we can see that the Picture field will only display the value retrieved from “PublishingImage;PictureURL;PictureThumbnailURL”,
    because there is corresponding column in OOTB Document Library holds the valid value of a thumbnail image for a document, that’s why documents from Document Library display no thumbnail image in a Content Search Web part.
    If you want to display thumbnail images for documents of Document Library, you can add a custom Picture column to hold the thumbnail image of a document, set the “Property
    Mappings” to display this custom Picture column.
    By doing this, every time uploading a document to this library, setting a thumbnail image(provided by common users, not generated by SharePoint automatically) for
    that custom Picture column, in the Content Search Web Part, the thumbnail image will display.
    Thanks
    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]

  • How to delete Content Source in Sharepoint 2013 Search Service

    I want to delete Default Content Source in Search
    Service in SharePoint 2013 but delete button is disable?Please see the below image. Content Source Type=SharePoint Sites
    How to do it?
    If In Content Source type=Files than delete button enables but
    not for the Content Source type=Sharepoint sites
    Vishal Goyal

    Hi,
    try to remove it using powershell
    $searchapp = Get-SPEnterpriseSearchServiceApplication "NameofSearchAPp"
    Remove-SPEnterpriseSearchCrawlContentSource -SearchApplication $searchapp -Identity "Name"\Regards
    Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer

Maybe you are looking for

  • Iphoto library and time machine backup on a same drive ?

    Hi I want to free up some space on my MBP so I am planning to move my iphoto library from MBP to an external hard drive. Can I also use the same external drive to keep Time Machine backups ? In short if I buy a large size external drive can I use it

  • Modifying Payment terms in AR Invoice

    Hi Experts, Is there a way we can modify the payment terms in an AR invoice that comes from PA. I am talking about the Transactions screen of Receivables. Any help is greatly appreciated. Thanks SA

  • Setting user key from a business event

    Hi, Is there an easy way that I can set the user key for a workflow instance via BES? My event will create a new process instance, taking the event key as the item key. However, in order to make searching etc. a bit easier, I want to set the user key

  • Loading new data in cfwindow

    Here's the problem. Have a page that lists a bunch of records. Each record has a link to edit the record and I've set the code up to add the record ID to the url of the page that will open up in cfwindow: <a href="javascript:;" onClick="ColdFusion.Wi

  • How to completely remove WSUS on Windows 2012 R2?

    Hello guys, I see plenty of details about clean up previous version of WSUS, but I cannot find any place with more advanced details about the latest one. Mostly, people advice to completely reinstall the system from scratch. Any clue? Cheers, Marek