All things Sharepoint

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 [...]

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

SharePoint List ID and View ID Calculator

Simply paste the Url from the "Modify View" page in SharePoint and it will generate the List ID and View ID for you.   List ID:       View ID:        I got tired of doing this in notepad, so I built this as an easy way to get a SharePoint List ID or View ID from a Url. For the list ID, go to List Settings, and copy the Url, and paste the url in the box. For the list ID and the View ID, go to a list view, and click "Modify View," and copy the url in the box. Paste the url in the box and press 'Submit'

By |2022-12-11T19:44:48+00:00October 14th, 2013|Sharepoint on Premise|16 Comments

Fun with custom SharePoint Ribbon buttons using the built-in image formatmap32x32.png

  While creating a new ribbon button, you will have to pick the button image.   This handy image is located here: http://yousite/_layouts/en/images/formatmap32x32.png Now you will need to reference the top left corner of the image: Open it in MS Paint and hover the top left corner of the image to get the approximate values. Each image is 32x32 pixels, so you can just start multiplying by 32 to go across and same to go down to get the exact values. So, for example, go 448 px down and 384 px from the left This image for the check mark is located at Image32by32Top="-448" Image32by32Left="-384" (down at the bottom right corner)     For the formatmap16x16.png image just divide by 2.   Here is a portion of the Elements.xml that references the button image location: <CommandUIDefinition Location="Ribbon.ListItem.Workflow.Controls._children"> <Button Id="SurfPoint.SharePoint.Ribbon.NewControlInExistingGroup.Notify" LabelText="Approve Records to Delete" ToolTipTitle="Approve Records to Delete" ToolTipDescription="Check all records [...]

By |2022-12-11T19:44:49+00:00September 14th, 2013|Sharepoint on Premise|1 Comment

Migrate a SharePoint workflow from Visual Studio 2008 to Visual Studio 2010

This is a useful article when converting a custom workflow project from Visual Studio 2008 to Visual Studio 2010: http://blogs.msdn.com/b/bethmassi/archive/2010/01/15/migrating-a-2007-workflow-to-visual-studio-sharepoint-2010.aspx In a nutshell, Go ahead with the conversion wizard Add a new Project (2010 Sequential Workflow Project) to the solution Rename the Workflow1  folder to the new name - Very Important, you have to keep this folder in order for the workflow to be in the feature, so just rename it. Copy the old workflow.cs file to the new folder in the new project. This will bring over the designer file and rules file (if applicable). Delete the worflow1.cs and update the class name to the new class name Copy over all other files that are not related to packaging such as Utility classes. Copy default namespaces to new project. Check your default namespaces, namespaces in Elements.xml, assembly versions Update namespace in new project on the .cs file, and .designer.cs file. [...]

By |2022-12-11T19:44:49+00:00August 29th, 2013|Sharepoint on Premise|0 Comments

Debugging Custom Event Receivers – Strange Error on custom Event Receiver SharePoint 2010. .c__DisplayClass2.b__0()Object reference not set to an instance of an object.

Debugging Custom Event Receivers. Here's a weird error that took some time to figure out. Generic "Object reference not set to an instance of an object." Error on a custom SharePoint 2010 event receiver. If I went through the UI to change a field on a list, the event receiver fires fine. But, if a workflow changed the field it threw the error below. I finally found if I attached the OWSTimer process to Visual Studio, it would debug, but still not show the exact problem. The solution is to find the Log On account for OWSTimer in the Services console (services.msc) and then to grant that account permissions on the list that the event receiver is running on. Edit -checking the permissions of the OWSTimer account is just one possible solution.  What I found out was that the list was hanging on to old event receivers as well.  I [...]

By |2022-12-11T19:44:49+00:00May 23rd, 2013|Sharepoint on Premise|0 Comments

Missing All People Links in SharePoint 2010

We used this to delete users from the site collection in SharePoint 2007. It was gone in 2010, but really just "hidden." Simply paste the following URL into your browser and change the site name and you wll get the All People page back.  Useful for deleting users from the site collection. http://My2010Site/_layouts/people.aspx?MembershipGroupId=0&FilterField1=ContentType&FilterValue1=Person

By |2013-05-07T15:31:37+00:00May 7th, 2013|Sharepoint on Premise|0 Comments

Hide Left Navigation in SharePoint 2010

Here's a quick reusable way to hide the left navigation.  Create a text file called "HideLeftNav.txt" in a document library.  Add the following css code: <style type="text/css"> /*--Hide Quick Launch --*/ #s4-leftpanel{ display:none } .s4-ca{ margin-left:0px } </style>    Edit the page you want to hide the nav on, add a content editor webpart. Then, simply reference the url to the HideLeftNav.txt file and you are done.  

By |2013-04-08T21:29:04+00:00April 8th, 2013|Sharepoint on Premise|0 Comments

How to turn off “Cannot be blank” yellow boxes on SharePoint 2010 Infopath custom list forms

 Find and make a backup copy of the Core.JS file(14templatelayoutsinc) Edit the Core.JS file(14templatelayoutsinc) Find the function called ErrorVisualization_ShowShortMessage Add "return;" as the first command in the function.ErrorVisualization_ShowShortMessage(b,a,g){return;ULSrLq:;var h=g[2],d="",e=null;if(!  Reset IIS  http://sharepointfeaturesandfailures.blogspot.com/2008/03/turn-off-hover-over-screen-tips-on.html

By |2022-12-11T19:44:49+00:00December 3rd, 2012|Sharepoint on Premise|0 Comments

Metro Tiles in SharePoint 2010 and SharePoint 2013

Here's a kind of fun web part I found on Codeplex. You can jump on the tiles bandwagon in SharePoint 2010. It's packaged nicely in 2 wsp files and creates a list to hold the data. Built in images are very nice. It's called the Metro Grid webpart and they have done a nice job on the packaging and icons. http://spmetrogrid.codeplex.com/  

By |2022-12-11T19:44:49+00:00November 20th, 2012|Sharepoint on Premise|0 Comments
Go to Top