Skip Ribbon Commands
Skip to main content
Home
May 17
A Peek at SharePoint 15

Next week I'll be across the country at Microsoft campus getting a sneek peek at Office 15 including ​SharePoint 15. This will be my first trip to Microsoft so I am looking forward to it. We became Microsoft partners over a decade ago so its overdue. I finally get to rub elbows with the Microsoft Smufties (as they are called). As soon as I am allowed to post details of what is in SharePoint 15 (according to my NDR) I will post them here.

-Ed G

May 14
Hide the Quick Launch on a Page

​On homepages of public websites there's a need to hide the Quick Launch menu from displaying, such as when you have full page webparts or security concerns. You can do this without having to use SPD or mess around with the whole "CSS slapjack" game. It involves using Content Editor Web Part and pasting in some HTML code.

An added bonus to this method is that you can save the resulting Web Part and reuse it in other sites by simply uploading it to the site!

  1. Create a CEWP and name it "Hide QL".
  2. Edit the CEWP, adding a space in it, then click on the "Edit HTML Source" under the "HTML" button, under "Format Text".
  3. Insert this code:

<style type="text/css">
/*--Hide Quick Launch--*/

#s4-leftpanel{
display:none !important
}

.s4-ca{
margin-left:0px !important
}

</style>

Save it and you're done!

May 10
Fix the date format on Custom Display Forms

​Creating custom display forms for Sharepoint 2010 lists is a regular thing for me, so I get annoyed when I flip them and they come out looking like this: 2010-07-06T22:00:00Z

It should look like this: 7/7/2001
 
I fixed this by doing the following in SharePoint Designer 2010:
 
Replace the XSL line with this and insert the date field tag into where @StartDate is:
<xsl:value-of select="msxsl:format-date(@StartDate, 'MM/dd/yyy')"/>
 

 

April 26
Get Rid of the "Ring" Around A Hyperlinked Image In A SharePoint 2010 CEWP

​This tip is something I use DAILY! This is how I remove the hyperlink border around an image in a CEWP in SharePoint 2010.

So here you have a nice image, maybe even with a cool transparency. You place the image into a SharePoint Content Editor Web Part. Looks good, cool.

Then you say, "Hey, this should link back to our public website". So you select the image and hit the "Insert" tab, then "Link". You hit OK and BANG. BIG. UGLY. HYPERLINK BORDER.

You say, "OK, I'll just remove it in the 'Picture Tools' tab". Change the "Image Styles" to "No Border". Nothing happens. No options in the "Link Tools" to change this. You go into the "Edit HTML source" button and set "border=0px". SharePoint "fixes" your code for you, the border remains. AARGH!

The solution is pretty close to what you tried last, but it's all in HOW you write it. The correct way to remove the border is by clicking in the CEWP, hit the "Format Text" tab, and hit "HTML" > "Edit HTML Source". Then find the IMG tag of the image, NOT the <a href> hyperlink tag. Usually there is a style of {style="margin: 5px"} set in there. Just add a ";" after the margin code, then add "border: 0px" after it and before the ending quotation mark . So your code should be:

<img src="/SiteAssets/example.jpg" alt="" style="margin: 5px; border: 0px"/>

Save and the ugly border is GONE! Enjoy your visual purity...  

April 12
Bring back the Quick Launch on a Web Part Page

Okay so we've all seen this before. We want a new Web Part page on our Sharepoint 2010 site. We go to All Site Content > Create > Web Part Page> Create and Viola! A WebPart Page is created. But notice something different about the page?

The Quick Launch menu is missing. Not good for those of us who want consistent local navigation throughout their site. But fear not! It can be restored with a few clicks in SharePoint Designer. Follow the steps below: 

To enable this type of page you just follow these three steps:
  1. Open the page in SharePoint Designer 2010 (be sure to make a back up, in case things go arwy).
  2. Look for this code snippet in the Code View (Use Ctrl + F to search for it, but make sure your cursor is clicked in the "Code View" area, or you won't be able to use the search in source code option):

    <SharePoint:UIVersionedContent ID="WebPartPageHideQLStyles" UIVersion="4"runat="server">
    <ContentTemplate>
    body # {s4-leftpanel
    display: none;
    }
    . s4 {ca-
    margin-left: 0px;
    }
    </ style>
    </ ContentTemplate>
    </ SharePoint: UIVersionedContent>
  3. Delete the entire snippet.
  4. next, search for this place holder in the code:

    <asp:Content ContentPlaceHolderId="PlaceHolderLeftNavBar" runat="server">
    </ asp: Content>
  5. Delete the entire place holder.
  6. Save and Close.

When you open the page, the Quick Launch navigation should now be back!

NOTE: This is good for quickly creating one or two pages, but if you need to build a dozen or more, it's best to modify one and copy/paste the rest, then rename as desired. Or, create the page in SPD 2010 as a new ASPX page and apply the masterpage to the new page. Whatever you find faster or works for you...

April 10
Office 365 and External Users

Office 365 and External Users

Microsoft’s Office 365 allows you to not only host your company’s email, files, and website outside of the restrictions of your firewall in a highly available, secure way, but it also makes it easy to share information with your customers.
 
One way you can share content with your customers is to use the free public site given to you when you sign-up for an Office 365 subscription or with an unbundled SharePoint Online plan. This is a great site for small to medium-sized businesses, especially if you are paying another provider to host your content. Consolidate and save! Modifiable templates are provided that get you started fast and to which you can add all your company’s website information including pictures and video.
 
Office 365’s SharePoint platform gives you the ability to also add external users to your “private” SharePoint sites so they can gain access to the information you have selected. For example, these external users can be customers who you want to have access to collaborate on a proposed change to their contract. If you allow, the customer would be able to make changes, upload more documents, take part in online discussions, add important dates to their site, and so on. Once you send the invite and the outside user accepts, you manage their access to your SharePoint sites like any other user by adding them to site groups, or applying permissions directly to sites, list, libraries, or individual items.
 
I was asked recently why you would want to give access to an external person through the “Share Site” method in SharePoint versus creating a user account either directly in Office 365, or in your Active Directory and letting it sync into Office 365. My answer was two-fold:
  • First, if you add the external user by creating an Office 365 account for them, you will have to pay for their Office 365 license. If you are using SharePoint Plan 2 (without bundling with other Office 365 services), you will be paying $10.25US per month for that user to gain access to your site. That is not extremely expensive, but Microsoft gives you the ability to invite 50 external users for FREE, so in that regard, the $10.25US is very expensive. Also, if you make this your default behavior for inviting external people to collaborate, that monthly cost can soon get out of control.
  • Second, once you create the user account for Office 365 for the external person, you now have to manage that account. So, when that user forgets their password, who will they call? That’s right, they will call you. Don’t you have enough to worry about with your current employees? Why add another user you have to support?! If you invite them through the Share Site feature, they use a Microsoft account (more on this in a later post) that they maintain and if they forget their password, that is between them and Microsoft.

Adding External Users

To allow external users access to your site, a SharePoint Online administrator must allow access by going to the Manage Site Collections screen within the Office 365 management site, selecting the Settings menu, and then the Manage External Users menu item (as seen in the picture below).
 
Manage Site Collections menu
 
ExternalUsers1
 
The External Users window will open – select Allow and then click Save to start allowing Site Collection Owners the right to enable external user sharing (see the picture below).
 
Allow or Deny External Users window
 
ExternalUsers2
 
At this point, site Owners will not be able to invite external people. Site Collection Owners must enable the External user invitations feature. You do this by navigating to the Site Collection Features screen and clicking the Activate button by the feature (see the picture below).
 
External user invitations SharePoint feature
 
ExternalUsers3
 
Now any SharePoint user who had been given the Manage Permissions permission level (out of the box, only Site Owners have this permission, but it can be added to any role) on any SharePoint site within the Site Collection can invite external users to join a site group. To invite the external users, select the Share Site link on the Site Actions menu (see the picture below).
 
Site Actions Menu – Share Site
 
ExternalUsers4
 
When the Share your SharePoint Site window opens, type the email address of the user you want to invite into either of the groups shown. Out of the box, the groups available are the Visitors and Members groups, but the names of the groups can be changed so yours may be different from the ones shown. Click the Share button to finish (see the picture below).
 
Share your SharePoint Site Window
 
ExternalUsers5
 
The external user will get an invite to your site and after going through the sign-in process they are added to the SharePoint group you designated

 

September 13
No Joy With SWFs and PDFs in SharePoint 2010? Read This!

​I spent a great deal of time and effort trying to get a Shockware Flash (SWF) file to play on a client's SharePoint 2010 site. Come to find out, SharePoint 2010 no longer greets Flash with open arms as it did in MOSS 2007 or WSS 3.0. SharePont 2010 restricts the Flash object.

Here's how to fix this annoyance:

  • Go to Central Administration on the SharePoint Server that is hosting the Web Application that the site or site collection is residing in
  • Click on Web Application Management
  • Select the appropriate web application
  • Click on General Settings on the ribbon
  • Set the Browser File Handling to Permissive

Also, PDF files used to play nice with SharePoint 2007 sites, but now they are also restricted as well. Here's how to have PDF files open natively in SharePoint:

  • Go to General Settings for the SharePoint site
  • Set Browser File Handling to Permissive
  • Restart IIS
  • ???
  • PROFIT!

You can skip the last two steps (ha ha). Hope this saves the next person some time and aggravation!

 

 About this blog

 
About this blog
Welcome to SharePoint Blogs. Use this space to provide a brief message about this blog or blog authors. To edit this content, select "Edit Page" from the "Site Actions" menu.


Designed and Implemented by
Vermont SharePoint consultants
a Gold Certified Microsoft SharePoint Consulting Firm