Hot answers tagged

5

Workflows The last option I'd go with is the workflow: workflows are slow, buggy, do not work at all when there's a lot of them running, complicated to debug, and most of all they completely disturb the users since they're visible in the UI (with a messy UI). Why would a background task be visible in the UI? In adition, conceptually, your task is not a ...


4

There should be a tiny (i) like icon to the right of your library title. Click on that, and you should get the description!


4

There are some information about this behaviour. See here and here. You can change e.G. the Performance Levels for your crawls. Powershell Cmdlet: Get-SPEnterpriseSearchService | Set-SPEnterpriseSearchService –PerformanceLevel "PartlyReduced" For the setting to take effect do an IISReset or restart the Search Service in Central Admin Performance Level ...


4

The OData provider for the REST API is configured to limit the number of items in a response to 100. If there are more items the response will contain a continuation. In a JSON response the continuation will be a property named __next. var url = appUrl + "/_api/Web/Lists/getByTitle('Order Details')/Items"; var message = jQuery("#message"); ...


3

So first thing, you need to have the Microsoft SPLA to be in compliant for this type of solution. Second, you could limit access to specific groups via User Policies on the Web Application(s). If you're managing the SharePoint farm, you could install Active Directory Users and Computers on the SharePoint server and monitor that Security Group for user count. ...


3

Go to http://siteUrl/_layouts/15/people.aspx?MembershipGroupId=0. From here, you can delete a user from the Site Collection. It should be noted that the user will remain in the User Information List (dbo.UserInfo) table in the Content Database the Site Collection resides in. This is for referential integrity purposes. They are simply marked as deleted.


3

To be honest, based on the requirements: Check if a column named "Review Date" of an item is met (Review date = today), and if so, to change the item status to be "In Progress". Then to send an email to the "Assigned To" user , that there is an item assigned to him with “Review Date” that have been met. I would go for a Workflow. Why? ...


3

8 GB is way below the minimum for a standalone SharePoint server in production. See this Technet Article. After you "solve" this issue you will face many more until you add RAM and resources.


3

You want to do it the other way. Content types created on a subsite is not inherited by the parent site. Create the content types on the parent site and they will be available on all the sub sites below it. Or create a content type hub and manage all your content types from there and publish them to all your sites. Publish a content type from a content ...


3

Their are couple of ways to see the description of Document Library. Method # 1 For all sharepoint versions, you can go to document library settings page and you will see the description on that page. this is for all versions of SharePoint. Method # 2 For SharePoint 2007 and 2010, you can see this, once you click on the document library, the description ...


3

You just need a small change to your PowerShell script. $web = Get-SPWeb http://webUrl $groupOwner = $web.SiteGroups["GroupA"] #this group will own "GroupB" $groupTarget = $web.SiteGroups["GroupB"] $groupTarget.Owner = $groupOwner $groupTarget.Update() For all groups in a web: $web = Get-SPWeb http://webUrl $groupName = "SharePoint Group Name" #this will ...


3

(A code-only option, as an extra, not necessarily a suggested answer but one for others who will in future come across this question) I'm surprised nobody's brought up the pretty awesome Patterns and Practices Remote Timer Job Framework https://github.com/OfficeDev/PnP/tree/master/Solutions/Core.TimerJobs.Samples Basically it's a .NET library that lets ...


3

If you want to manually navigate to the doc set, here's the correct URL: ...


2

The Site Collection Feature Document ID Services, when activated generates a Unique ID for a Document. The format of this ID is something like PNR6U3ASXZE2-1206519163-68. In your question you have specified a URL in which you are passing a query string value document_id. I am not sure what value you get in it, and how you get it? I am sure about 2 things ...


2

https://msdn.microsoft.com/en-us/library/office/jj669283.aspx might be what you're looking for. http://<sitecollection>/<site>/_api/ProjectServer/Projects('projectid')/deleteObject()


2

You should instead run: Clear-SPLogLevel This will re-set all categories to Medium. That said, there are instances where higher level verbosity is logged, but not in the manner your screenshot shows.


2

IE 11 will support all of the same features as IE 10, however IE 11 is only supported with SharePoint when the SharePoint site(s) is added to Compatibility View. There should be very little to no reason to explicitly test IE 11 functionality with SharePoint 2013.


2

Short answer, no. If you have versioning disabled in the document library, the new file will replace the old. If you have versioning enabled in the document library, the new file will be added as a version of the old. You could develop an item adding event receiver that checks the file name and changes it if duplicates are found, but I don't think this is ...


2

Instead of a count column you could have multi-value user column. The count of likes is the number of values in that column. So if the users ID is in the field, he will not be allowed to press like again. Example: $.ajax({ url: URL + "/_api/web/lists/getbytitle('FeedLikes')/items? $select=Title,Users/ID&$expand=Users/ID" ...


2

Farm solutions are only unavailable if SharePoint Online is a consideration. SharePoint 2016 continues to fully support not only custom Timer Jobs, but Full Trust Code Solutions, as well. I feel that FTC solutions should be used when and where appropriate for customers who continue to use SharePoint On-Prem. If you can find alternative solutions that do not ...


2

If using the database attach method to migrate content from a 2010 farm to a 2013 farm, then you'll want to either convert the 2010 web application to claims mode before the move, then migrate the databases to a claims mode 2013 web application (this is Microsoft's recommendation), or create a classic mode web application using PowerShell in 2013, attach the ...


2

Without fully knowing your list data structure, I'm thinking your query string should be formatted along the lines of : <Where> <Or> <Contains> <FieldRef Name='SeriousHarmQ1' /> <Value Type='MultiChoice'>Loss of consciousness</Value> </Contains> ...


2

Instead of SPList you should use SPPictureLibrary. I mean SPList picLibCity = (SPPictureLibrary) spWeb.Lists["City"]; And instead of ImageURL, you should use ServerUrl. I mean foreach (var row in EmpList) { if (row.City!= null) { string group = row.city; SPItem lookupItem = picLibCity.GetItemById(group.LookupId); string ...


2

If you staying within same active directory then no need to worry about it. Whatever method you select either Content DB move or 3rd party migration. One thing, how you move your User profile service.https://technet.microsoft.com/en-us/library/jj839719.aspx?f=255&MSPPError=-2147217396


2

Calling SPLimitedWebPartManager.Web.Dispose() will dispose of the SPWeb object used by SPLimitedWebPartManager while calling SPLimitedWebPartManager.Dispose() would dispose the SPLimitedWebPartManager itself. Keep in mind that you should never dispose of objects you haven't created yourself! SPLimitedWebPartManager.Web is created by another object called ...


2

For upgrading site collections from 2010 to 2013, you must follow content database attach upgrade process. Below are the key steps in the process: Make sure the 2013 farm has all the custom farm level solutions which are present in the 2010 farm.You must deploy the solutions to both 14 hive and 15 hive. Below is the powershell command to do that. ...


2

Editing Newform.aspx is not a Good Practice. Instead of editing default new form, Create a new form. This form will have all the code for each columns. You can add your CSS class to those columns for the Table and define your CSS for that class. Editing default form or default CSS is never considered as good practice. How to Create a Custom New form


2

So you have asked quite a heavy question(s) and I will do my best to answer them for you. Farm Solution So basically this is where you can do nearly anything you want. You have access to all SP artifacts (lists, items, list instances, Content Types, etc). You can add business logic directly to your lists and their items and manipulate data quite easily. ...


2

One of the peculiarities of the add-in model is that when you declaratively create things like content types within the add-in solutions that you're working with, they are only available within the add-in (or app) web. This is true for both SharePoint hosted and Provider Hosted add-ins. To make the content type available within your host web you could use ...


2

As mentioned by @jubblerbug, this can occur if you already have .NET Framework 4.6 installed before SharePoint 2013 (e.g. if you installed Visual Studio 2015 first). I couldn't use Microsoft's workaround as the option to remove .NET Framework 4.5 was disabled, and the ability to uninstall the .NET 4.6 update wasn't there either. So I used Process Monitor to ...



Only top voted, non community-wiki answers of a minimum length are eligible