Hot answers tagged

3

Could it be part of the "New SharePoint Document Library Experiences"? Leaving as an answer as it is too long for a comment. New SharePoint Document Library Experiences MC44849 We are changing the experience for SharePoint Online document libraries. You’ll begin seeing this new feature starting April 6. How does this affect me? In the new ...


2

Create a view in your list. Set a filter on the view to filter the data so the total number of items displayed in the view is less than the threshold, based on e.g. a date range, a number, by item id etc. Then after you can use the ListItemCollectionPosition class to implement paging list item retrieval according to the position of items relative to their ...


2

I ran into this same thing and was able to get this to work by replacing the commented out lines with the others. # Add-Type -Path ([System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client").location) # Add-Type -Path ([System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Client.runtime").location) ...


2

It's achievable through PnP PowerShell CmdLets, you need to install the msi before using it. SPOAppPackage -Path c:\files\demo.app -Force Refer to other switch parameters for more options. More details here


2

Just regenerate the token. Add the App For SharePoint nuget package to your console app. Install-Package AppForSharePointWebToolkit Then write the code to generate the token and context object. Uri siteUri = new Uri(siteUrl); string realm = TokenHelper.GetRealmFromTargetUrl(siteUri); string accessToken = ...


2

Not saying that this is necessarily the problem, but I have never liked dynamically loading scripts by writing a script tag into the head. So my first inclination would be to get rid of the loadJS function and just load the chart.js script normally: <canvas id="myChart" width="600" height="400"></canvas> <!-- just load the chart.js script ...


2

Yes, you can do, But for this, you have to use the 3rd party tools. There is no OOTB method which support direct migration from SharePoint on-prem to SharePoint online. Try ShareGate or Metalogix or any other.


1

Based on the error status, SharePoint is saying no personal site exists for the user. Did you check whether Mysites is properly configured and you are able to access the page? I have faced the same issue and resolved it by recreating the User Profile in my dev UPA You can also try some of the solutions proposed here ...


1

Using Client Object Model, You can query large list by using ListItemCollection Property ClientContext clientContext = new ClientContext("YOURURL"); List list = clientContext.Web.Lists.GetByTitle(“Tasks”); ListItemCollectionPosition itemPosition = null; while (true) { CamlQuery camlQuery = new CamlQuery(); camlQuery.ListItemCollectionPosition ...


1

This might be duplicate of List with > 5000 items working with Paging? Please have a look and let me know whether it is helpful or not Thanks


1

using (ClientContext context = new ClientContext("http://SharepointURL/")) { try { Web web = context.Web; FileCreationInformation newFile = new FileCreationInformation(); newFile.Content = System.IO.File.ReadAllBytes(@"C:\test.txt"); newFile.Url = "test.txt"; List docs = web.Lists.GetByTitle("CustomList"); ...


1

The script editor web part will not execute in Google Chrome thanks to Chrome's built-in XSS Auditor. This is a feature of Chrome that is designed to mitigate Cross-site Scripting (XSS) attacks. There are ways to workaround this, but IMO a better solution is to just use JS Link. Upload the script file that you are wanting to run on the page, and then link ...


1

I presume you want to color the list like this: You can execute this in the Browser Console, or use TamperMonkey (Chrome) or GreaseMonkey (FireFox) to execute it by default on the Users page var users=document.querySelectorAll("div[data-value='ListItem']"); for(var n=0;n<users.length;n++){ var user=users[n]; var userString=user.outerHTML; ...


1

The default top left global nav link should be the title of the site. What is your site title? Can you ensure your site is set to structural nav and try renaming your site?


1

if (_spPageContextInfo.serverRequestPath.contains("DispForm.aspx")) // View form if (_spPageContextInfo.serverRequestPath.contains("EditForm.aspx")) //Edit form if (_spPageContextInfo.serverRequestPath.contains("NewForm.aspx")) //New form You can try replacing contains with endsWith(), it should work better. ExecuteOrDelayUntilScriptLoaded("SP.js", ...


1

You could either try with a wildcard Path:"https://sitename.sharepoint.com/projects/*" contentclass:STS_Web SiteTitle <> projects Or got with the URL Depth property: Path:"https://sitename.sharepoint.com/projects " contentclass:STS_Web SiteTitle <> projects UrlDepth=1 And to make it a little bit smoother, go with Path:{Site.URL} UrlDepth=1 ...


1

As far as I know, there is now way to do this in the manner in which you would want. The way I see it operating is both tenants are configured to allow external sharing with authenticated users. When user A from tenant A wants to share with user B from tenant B, user A sends an external sharing invitation to user B's email address. User B logs in with the ...


1

It is completely based on the plan of your Office 365 Account. You can only send invites up to 10,000 external users (meaning user's that is outside your organization or user's not licensed within the organization) per month If you are using Office 365 Enterprise plan. This does not limit the access to the site collection but it pertains to the number of ...


1

You need to enable external sharing on your first tenant site and need to invite second tenant by email address.


1

Exchange Task Sync has been completely dropped from the product. It became unavailable in SPO in November 2014 (?) and has been dropped from SharePoint Server 2016. It also requires a Sever to Server trust (S2S) which is not possible between SharePoint on-prem and Exchange Online (or visa versa).



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