SPT Blog

M365 Conference Las Vegas December 2022

What a great conference!  It was interesting to see conferences coming back to the MGM Grand.  It looks like they combined 3 conferences together at once, Dev Intersections, M365, and AI.  Lots of great sessions on Microsoft Viva, Teams, SharePoint, and Power Platform including Power Automate and Power Apps.  Some really nice UI demos with MS Lists, inline approvals and bulk editing, emojis and animations.  I'll be updating this post as I go through my notes more.

By |2022-12-12T18:43:25+00:00December 12th, 2022|Uncategorized|0 Comments

Cleaning the cache on SharePoint On Prem servers

https://blogs.msdn.microsoft.com/jamesway/2011/05/23/sharepoint-2010-clearing-the-configuration-cache/ There were many common issues that could occur in WSS v3 and MOSS that would require you to clear the configuration cache on your servers. While less common, these issues can still turn up occasionally on SharePoint Server 2010 (And Foundation). While the resolution for these issues might be the same, the steps are a bit different. The main thing to note is that the Configuration Cache is located in a different directory on Windows Server 2008 then it was in Windows Server 2003. The new path for the Configuration Cache under Windows Server 2008 is: %SystemDrive%\ProgramData\Microsoft\SharePoint\Config\ The overall steps remain largely the same: 1.Stop the Timer service. To do this, follow these steps: 1.Click Start, point to Administrative Tools, and then click Services. 2.Right-click SharePoint 2010 Timer, and then click Stop. 3.Close the Services console. 2.On the computer that is running Microsoft SharePoint Server 2010 and on which [...]

By |2022-12-12T15:21:07+00:00June 27th, 2018|Uncategorized|0 Comments

SharePoint Conference 2018 Notes

Notes from the SharePoint 2018 Conference, Las Vegas The 2018 Microsoft SharePoint Conference was hosted at the MGM in Las Vegas this year after being merged with Ignite for the last few years. Attendence was much smaller than previous years with about 2,500 plus attendees versus closer to 10,000-20,000 in years past. Most of this is probably attributable to the merging the SharePoint conference with the Microsoft Ignite conference, although I would suspect the increasing percentage of SharePoint Online customers has something to do with it as well. Gone are the days of server side object model code, and every farm having dedicated Sharepoint IT Pros. Below are some of the announcements and takeaways from the conference. ⦁ Announced the release of SharePoint Spaces - mixed reality support for SharePoint while using a VR headset such as Oculus Rift, Samsung, or MS Holo Lens. ⦁ SharePoint On Premises 2019 to [...]

CSOM SharePoint Online error: The server does not allow messages larger than 2097152 bytes

If you get the following error with CSOM while trying  to upload documents to SharePoint Online: The server does not allow messages larger than 2097152 bytes The reason is that CSOM limits SharePoint Online to 2MB file uploads by default if using the "ReadAllBytes" method. Use the ContentStream property instead: public void UploadDocumentContentStream(ClientContext ctx, string libraryName, string filePath) { Web web = ctx.Web; // Ensure that the target library exists. Create it if it is missing. if (!LibraryExists(ctx, web, libraryName)) { CreateLibrary(ctx, web, libraryName); } using (FileStream fs = new FileStream(filePath, FileMode.Open)) { FileCreationInformation flciNewFile = new FileCreationInformation(); // This is the key difference for the first case - using ContentStream property flciNewFile.ContentStream = fs; flciNewFile.Url = System.IO.Path.GetFileName(filePath); flciNewFile.Overwrite = true; List docs = web.Lists.GetByTitle(libraryName); Microsoft.SharePoint.Client.File uploadFile = docs.RootFolder.Files.Add(flciNewFile); ctx.Load(uploadFile); ctx.ExecuteQuery(); } }   source: https://msdn.microsoft.com/en-us/pnp_articles/upload-large-files-sample-app-for-sharepoint    

By |2022-12-11T19:44:48+00:00May 23rd, 2017|Uncategorized|0 Comments

Datasheet View error and solution: The list cannot be displayed in Datasheet view for one or more of the following reasons

Error message: The list cannot be displayed in Datasheet view for one or more of the following reasons: - A datasheet component compatible with Microsoft SharePoint Foundation is not installed. - Your Web browser does not support ActiveX controls. - A component is not properly configured for 32-bit or 64-bit support.   Symptom: When trying to click datasheet view in SharePoint 2010 with Windows 10, IE 11, and  Office 2016 (Excel 2016 x64).   Solution: You just need to install the 32 bit Data Connectivity Components.  https://www.microsoft.com/en-us/download/details.aspx?id=23734  

By |2016-11-29T22:18:08+00:00November 29th, 2016|Uncategorized|2 Comments

SharePoint TODAY column in calculated fields and auto updating it

There has been much discussion around using a [TODAY]  column in SharePoint Lists since SharePoint Lists and Libraries have been around. Other than being able to use [Today] to set a DEFAULT value, users have always asked if they could use it in a calculated field. There are workarounds well documented in various threads that detail creating a field called "Today", then creating a calculated field ([CalculatedToday]) that references the "Today" field, and finally removing the "Today" field in order to be able to use "[Today]" in a calculated field. The question that follows is always, "how do I get the [CalculatedToday] to update every day or on a scheduled basis?" Again, there are numerous articles documented on the internet that suggest adding and removing a [Today] field and SharePoint will update all the [CalculatedToday] fields with the current Date. Administrators have created scripts and even timer jobs to do this automatically. This method [...]

By |2015-01-27T21:41:13+00:00January 27th, 2015|Office 365 Installations, Sharepoint on Premise|3 Comments

Adding bootstrap apps inside a Page Viewer Webpart

Problem:  Adding a bootstrap app inside a page viewer web part in SP2010 causes the formatting to be messed up. Reason:  SP 2010 does not have the right compatibility mode required on the master page. Solution: Open the site in SharePoint Designer Copy the v.4 master page for the site to a new master page and add the following line as the first "meta" tag:  <meta http-equiv="X-UA-Compatible" content="IE=10" /> Click save as default master page on the ribbon.  Keep in mind this applies to all pages to the site.    

By |2014-12-18T18:58:58+00:00December 18th, 2014|Uncategorized|0 Comments

Cleaner List View Boxed style using jQuery

I'm sure we've all customized Lists in SharePoint to create different types of views. While most of the Styles to choose from aren't always practical, the Boxed view is an interesting view because it creates a Table along with a row of all your properties and values, for each List item. A common issue with this view is that if you have empty values, it takes up space on the screen and is too "ugly" to use. This is particularly true if your list or library is associated with many Content Types because different Content Types may not populate certain fields. There's also that hideous column/filter bar that doesn't seem to have any value on a view like this. By adding the jQuery below, you can make the Boxed view much more presentable. It will not display columns that have empty values or unchecked (yes/no) values. $("table.ms-listviewtable tr td.ms-stylebox table tr").each(function() { [...]

By |2022-12-11T19:44:48+00:00May 20th, 2014|Uncategorized|13 Comments
Go to Top