Download multiple files in One Drive for Business

It’s amazing that Microsoft doesn’t yet have an easy way to download multiple files or folders from One Drive, but here is the best solution currently available.

Via https://onedrive.uservoice.com/forums/262982-onedrive/suggestions/9255150-multiple-file-download-onedrive-for-business

Guys, there is a solution to the problem to download multiples files and/or folders from OneDrive for Business. I stumbled on it in another forum after reading through this one. You have to use Internet Explorer (not Edge, FF, Chrome, etc) Once you have logged into your OneDrive for Biz web page, look on the bottom left corner. There should be a link to “Switch to Classic View” there. Once you are back in Classic View, click the gear at the top right corner. Turn the Ribbon “On”, it’s the first option. Once the Ribbon is on, click “Library” and then “Open with Explorer”. This will launch your OneDrive for Biz share in a native Windows Explorer window. Obviously, from there, the possibilities to manipulate files and folders are endless. Not a seamless solution, but being able to open OneDrive for Biz in Explorer is also an awesome option, no client necessary. Hope this helps!

  1. Launch Internet Explorer

  2. Go to Settings and Turn On the Ribbon: https://i.imgur.com/ACItUbI.jpg

  3. Click “Library” and then “Open with Explorer” https://i.imgur.com/WQdjhMV.jpg

Advertisements

HTML & CSS: Make anchor tag hover override span text color

I recently had a project where I could not figure out the proper way to get his to work for a few hours. I wanted to create a button that had text in two different colors, but when the button was hovered both text elements would change color at the same time.  The link and fiddle below were very helpful.

http://jsfiddle.net/tRRRV/1/

http://stackoverflow.com/questions/14321466/need-different-color-of-span-in-anchor-for-alink-same-for-ahover

SharePoint user with full control cannot edit a page

I was recently having an issue where SP 2013 users with Full Control of a site would receive a page access error when trying to edit the page.

To fix this you need to give users proper access to the page layouts and master pages.

Go to the top level of the site then:
Site settings > Master pages and page layouts

View the “Library Settings” and then the “Permissions for this document library”. In my case, this library had unique permissions and only a special admin group had access. Set the permissions to inherit and it should then fix the issue.

SharePoint 2013 | Literal content (‘ ‘) is not allowed within a ‘System.Web.UI.UpdatePanelTriggerCollection’

Literal Content
When recently updating a masterpage I received the error:

Literal content (‘ ‘) is not allowed within a ‘System.Web.UI.UpdatePanelTriggerCollection’

This was caused by an multiple html non-breaking spaces that somehow got added to the file when editing the page in SharePoint Designer. It appeared around line 354 and there were multiple “ ” in the code.

How to view the site template in SharePoint 2013

Microsoft should make it more transparent about which SharePoint site template is used to create a site, but they didn’t … so here is how to locate it.

View the source code of a page and search for “sitetemplateid”.  The value listed will be a code for the template … something like “BLANKINTERNET#0” or “STS#1”.

Take that template code and look it up here to find the corresponding template for the code.

sitetemplateid

Via https://nickhobbs.wordpress.com/2013/05/18/sharepoint-how-to-check-which-site-template-was-used-to-create-a-site-just-using-a-web-browser/

SharePoint Designer crashes when switching to Advanced Mode

I recently was editing a post.aspx page that would crash whenever switching to Advanced Mode to edit the code.

I found a fix from http://morshemesh.blogspot.com/2011/08/how-to-fix-sharepoint-designer-crash.html that was pretty simple.

Go to File > Options > General > Page Editor Options > IntelliSense > Remove check from HTML, ASP.NET from both Auto Popup and Auto Insert.

That’s it. Now I can used Advanced Mode to edit without crashes using SharePoint Designer 2013.

Update: Another trick that works is to check out the file in Designer and then right click to edit the file in advanced mode right from the file browser.

SharePoint Designer 2013 Cache Clear

If you are ever getting errors when trying to edit, check out or publish files in SharePoint designer, try clearing your cache.

Close SP Designer then go to each of the two location below and delete all files.

  • %USERPROFILE%\AppData\Local\Microsoft\WebsiteCache
  • %APPDATA%\Microsoft\Web Server Extensions\Cache

SharePoint 2013 Content Query Web Part list from custom XSL file

Here are some quick instructions on how to force a content query web part to allow you to use a custom item style from a .xsl file.

  1. SP Designer: Create your custom item style xsl that displays your list
  2. SP Web: Add a Content Query web part to your page
    1. Open the tool pane to customize
    2. Set the query source
    3. Notice that under Presentation > Styles your custom item style does not show up in the drop down
  3. Export your web part to a local drive
  4. Open the exported .webpart file in a text editor
    1. Search for the following properties and replace each value with a link to your custom item style .xsl location
      1. <property name=”MainXslLink” type=”string”>/sites/myTE/Style Library/XSL Style Sheets/TENewsContentQueryMain.xsl</property>
      2. <property name=”ItemXslLink” type=”string”>/sites/myTE/Style Library/XSL Style Sheets/TENewsItemStyle.xsl</property>
      3. <property name=”HeaderXslLink” type=”string”>/sites/myTE/Style Library/XSL Style Sheets/TENewsHeader.xsl</property>
  5. SP Web: Go to Settings > Site Settings > Web Parts and upload the customized .webpart file
    1. Title is the friendly name
    2. Group is where the web part is grouped when adding web parts to pages
  6. SP Web: Add the new web part to the page and the item style drop down menu should now include the item styles from your custom .xsl file

Group a SharePoint list by year or month

I was recently working on a project where we wanted to display a SharePoint list or calendar by grouping items by month. This is not a SharePoint default but can easily be accomplished by creating a new field.

Simply create a new field that is is a “Calculated column (calculation based on other columns)” and use the formulas below. Note that the formulas are creating the field based on the “Start Time” value. This can be customized as needed.

Month Formula (Year/Month, example “2015/08”)
=IF( [Start Time]="", "No start time", YEAR([Start Time])&"/"&RIGHT("0"&MONTH([Start Time]),2))

Year Formula (Year, example “2015”)
=IF( [Start Time]="", "No start tiime", ""&YEAR([Start Time]) )

Source: http://techtrainingnotes.blogspot.com/2012/02/sharepoint-group-by-year-or-month-in.html

How to expand the blog editor window in SharePoint

A challenge that I was constantly having with SharePoint was being limited to the very small size of the blog content editor windows in SharePoint 2010. I came across this article that gives quick and easy instructions on how to disable the new item editor as a pop-up and to have it open in it’s own page — giving you a much larger editor window. Full repost is below, thanks Veronique.


 

Deactivate the New Item Pop Up Window in SharePoint 2010

Does this pop up menu irritate you in your lists when you click Add New Item? Especially because you can’t send the link for people to fill in a form. You would need to edit the link and replace allitems.asp with newform.aspx first.

new-form-1

It’s super easy to deactivate that. Click on List on the ribbon, List Settings and Advanced Settings.  Right at the bottom is Dialogs – simply change that setting to No.

new-form-2

Then when you click Add New Item again in your list – voila! Now it’s easy to send out the link and ask people to fill in your form.

new-form-3

 

How to change, resize, or expand the new blog editor window in SharePoint.