We’re rewarding the question askers & reputations are being recalculated! Read more.
11

Via Central Administration: Manage web applications / Select the web application, then from the drop down list 'General Settings' select 'Resource Throttling' / change the value of 'List View Lookup Threshold' Or via PowerShell: $wa = Get-SPWebApplication http://YourSharePointSite $wa.MaxQueryLookupFields = 20 $wa.Update()


8

The Following code will Display all Libraries and Folders of each Library in Treeview private void frmForm1_Load(object sender, EventArgs e) { using (ClientContext clientcontext= new ClientContext("http://your server")) { //Load Libraries from SharePoint clientcontext.Load(clientcontext.Web.Lists); clientcontext.ExecuteQuery(...


7

The following extension method demonstrates how determine whether file exist or not: using Microsoft.SharePoint.Client; namespace SharePoint.Client.Extensions { public static class WebExtensions { public static bool TryGetFileByServerRelativeUrl(this Web web, string serverRelativeUrl, out File file) { var ctx = web....


7

Go to advanced settings for the library and check "Per-Location View Settings". Here you should be able to set that the top in your hierarchy only uses a view that shows the column, and then set another view for all the others sub folders. Configure the availability of views for a location in the site hierarchy Per-location view settings don't work at ...


5

You are missing a couple of rows in a working script. First, after setting the oList variable you need to load it: clientContext.load(oList); Then you need to fetch the value by calling: clientContext.executeQueryAsync( Function.createDelegate(this, onQuerySucceeded), Function.createDelegate(this, onQueryFailed) ); Now, you need to create the ...


5

You need to use SPList.GetItems(SPView) method to get items from the view. Example: $web = Get-SPWeb http://aissp2013 $list = $web.Lists["YourList"] $view = $list.Views["ViewName"] $items = $list.GetItems($view) foreach($item in $items) { #Play with item } UPDATE Scrrenshot:


5

I figured it out! You need to use dialogReturnValueCallback which executes a function after the EditForm window closes. Go here for details on answer: SharePoint Modal Help - pass value back to parent when closing Here is the appropriate code from that link: //you create the Modal dialog like so... //Dialog Opening function OpenDialog() { var options ...


5

This file type may be blocked by your administrator. If you have administrative rights then you can enable it from Central Administration. This are called as Blocked File Types For this you can follow following steps : Open Central Administration Click Security tab In General Security click Define blocked file types On the Blocked File Types page, if you ...


5

It isn't really an issue either way, but the preferred approach is to create a list or library like "ChangeRequests' then after it is created, rename it to "Change Requests". Emailing a link shouldn't cause problems, the browser will handle it correctly. It is really more of a personal preference than anything, but CAML casing it makes it easier to read in ...


5

In my experience, the only heavy load on the server is the initial implementation of the policies and expiration. The first run can go on for a while if you have a lot of files to remove. There are 2 timer jobs that run this process, the first marks documents for expiration that meet retention policies and the other comes through and cleans them up. The ...


5

PowerShell to create Sharepoint Picture Library: ############################################################################################################################################ #Script that allows to create a new list in a SharePoint Online Site # Required Parameters: # -> $sUserName: User Name to connect to the SharePoint Online Site ...


5

You can use below syntax $select=Editor/Title&$expand=Editor/Id You query will turn into https://servername/_api/web/lists/getbytitle('MyLibrary')/Items?$select=Title,InternalName,Editor/Title&$expand=Editor/Id


5

You need to use expand with the this Editor field. In the $expand, you should specify the person field you want to expand. $select=Editor/Title&$expand=Editor Try below query: https://servername/_api/web/lists/getbytitle('MyLibrary')/fields?$select=Title,InternalName,Editor/Title&$expand=Editor


5

You could consider the following options Option 1. 1) modify the query to include additional information. Since Ratings properties belong to ListItem resource, append the following expression: $expand=ListItemAllFields to the endpoint url 2) once the data is returned perform the filtering by on the client side by Ratings field Example: var url = ...


4

SharePoint has some boundaries like Boundaries: Static limits that cannot be exceeded by design Thresholds: Configurable limits that can be exceeded to accommodate specific requirements Supported limits: Configurable limits that have been set by default to a tested value For more information see the best practise for designing large lists


4

From experience : As stated by others, you can have a view that returns more than the threshold (default 5000). There are three things that can be used to achieve this : Paging. Flat view with no filer/grouping/total. Filter/Grouping/Total, but you cannot use one of those on columns that are not indexed. If you need to do so, do it before reaching the ...


4

top left icon is a list similar to a table. It consists of columns and rows. each column is a field like "title", "description" or you can add your own custom field like integer, date/time, text or what ever you needs may be. any type of list you create will have the image above. the next one to the right is a document library specifically for image. Its ...


4

I also wondered further about the session cookie making the classic user experience and it was cookie named "splnu" with value 0. By removing it and pressing refresh button it switched back to setting by admin that was the new user experience. For convenience it is good to use a kind of cookie manager extension in your browser - I used the cookie inspector ...


3

You could consider the following approaches to determine whether file exists or not. Query based You could construct CAML query to find list item by its Url as demonstrated below: var listTitle = 'Documents'; var fileUrl = '/project/shared documents/orders/order.docx'; var ctx = SP.ClientContext.get_current(); var list = ctx.get_web().get_lists()....


3

Actually, it doesn't matter that much if the end result is one item, a dozen or 4999. The SQL database must have fewer than 5000 items in the subset to be returned by the first filtering operation in the query to avoid table lock escalation. In your case, if the requirements don't change, you're fine, because the database shall filter documents by folder ...


3

Whether or not Checkout is required has to be activate/de-activate on the list itself. It's not possible to do that on each individual file or folder. I would recommend to move such files to a specific library that does not use mandatory check-out (but still uses versioning).


3

I've seen many references to file.Exists not working in CSOM but the problem is typically caused by trying to do context.Load(file). If the file doesn't exist you can't load the file so the test itself breaks the result. The following code works, however. var file = web.GetFileByServerRelativeUrl(serverRelativeUrl); web.Context.Load(file, f => f => f....


3

I think it takes some time to get familiar with these icons. They can be changed programmatically, but basically, the tabular one represents the Custom List App, Folder with a file in front should be Document Library template, With Media libraries having media in front of the folder. Link lists have link icons, Tasks lists have tasky-looking icon. Actually ...


3

The name of the cookie is "spInu" with a value of 0. Deleting that one will restore the modern UI without having to clear all cookies.


3

You can open this library in explorer mode (works on in IE) ==> Then cut the files from the PDF_Files folder and paste it one level up , just like in normal windows folder.


3

Add-PSSnapin "Microsoft.SharePoint.PowerShell" Start-SPAssignment -Global $SPWeb = Get-SPWeb -Identity $Web $listTemplate = $SPWeb.ListTemplates["Picture Library"] $SPWeb.Lists.Add($ListUrl,$Description,$listTemplate) $list = $SPWeb.Lists[$ListUrl] $list.Title = $ListTitle $list.Update() $SPWeb.Dispose() Stop-SPAssignment -Global


3

$clientContext = New-Object Microsoft.SharePoint.Client.ClientContext($url) $credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($username, $securePassword) $clientContext.Credentials = $credentials if (!$clientContext.ServerObjectIsNull.Value) { Write-Host "Connected to SharePoint Online site: '$Url'" -ForegroundColor ...


3

Open site in designer->All Files-> select Document Library please check the below image


3

LEFT function: LEFT returns the first character or characters in a text string, based on the number of characters you specify. Syntax: LEFT(text,num_chars) Note: Sometimes comma(,) does not work in formula (I am not sure but it is based on something language on your site). So in that case use semicolon(;) instead of comma(,). Reference: LEFT ...


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