As much as I do love Office 365 and SharePoint Online, when the simple things that you took for granted in the on premise versions go missing in SharePoint Online, it's enough to make you go bonkers.
Case in point: Saving Sites as Templates
Go ahead and try to find the link where you think it should be in Site Settings in SharePoint Online. Try turning site collection features on to no avail.
Figuratively bang head against wall 2 times and then try this workaround.
- Open the root site in SharePoint Designer 2013 (because alas, that is the last available version of this awesome application there will ever be).
- Click on Site Options from the ribbon and Modify the SaveSiteAsTemplateEnabled to true
- Now the link will appear in Site Settings....oh wait, just kidding...it won't...<bang head against wall 1 more time>...you have to manually navigate to the site you want to save as a template and then change the URL to go to the Save As a Template page.
- The Solution Gallery should appear in Site Settings for you to manage these templates normally.
Note: The 2010 workflow engine opens to an edit form natively, so this post only applies to those of you that need to use the 2013 workflow for your approval process.
If your end-users are like mine, they don't appreciate having to click "Edit Item" in the ribbon in order to approve a task which they clicked on from their email notification. I'm not a fan of it either, so here's a clever work-around to keep everyone happy.
- Open SharePoint Designer 2013 and navigate to your Tasks list where workflow is creating your assigned workflow tasks.
- Click the New... menu button in the Forms section
- Give your new form a name, select the radio button by Display item form, check the box next to Set as default form for the selected type, and select the Workflow Task (SharePoint 2013) content type (assuming that is the content type you're using for your workflow tasks) and click the OK button.
- Open the new form in Code view by clicking on the form name, then click the Advanced Mode button in the ribbon to open up the form for editing.
var origUrl = window.location.toString();
var editUrl = origUrl.replace("CustomDisplayForm","EditForm");
window.location = editUrl;
Save the changes to your form and then test by navigating to your list and clicking on the link to your task...it should be redirected to the Edit form via your new custom display form script. This also means that when the end user clicks the link to the task from their email notification, the link will take them directly to the edit form page to approve/reject.
Update: Resolved with September 2014 CU KB2883088
Here is the workaround:
Use Case Description: The search results with %5C (the “\” character) will become double encoded (represented as “%255C″). This causes broken links for e.g. when accessing Search Center and performing people search with "user1". At the peopleresults.aspx page, click the username in the search result
Actual Results: The personal site of user1 cannot be accessed. You can see the personal site for user1 is something like below
Workaround Instructions: Apply below workaround on current search center site. If you have additional search center sites, please update all of them.
1. On your Search Center site collection go to Site Settings and then Master Page Gallery
2. On Master Page Gallery click on Display Templates and then click on Search. Now find File named Item_Person.html and then checkout the file. Make a backup of the file and open the file in your favorite text editor and locate highlighted Line in below Screenshot.
3. Now replace above highlighted line replace with following text.
var encodedPath = $urlHtmlEncode(decodeURI(ctx.CurrentItem.Path));
4. Now find File named Item_Person_CompactHorizontal.html and then checkout the file. Make a backup of the file and open the file in your favorite text editor and then locate highlighted Line in below Screenshot.
5. Now replace above highlighted line replace with following text.
var pathEncoded = $urlHtmlEncode(decodeURI(ctx.CurrentItem.Path));
6. Now find File named Item_Person_HoverPanel.html and then checkout the file. Make a backup of the file and open the file in your favorite text editor and then locate highlighted Line in below Screenshot.
Now replace above highlighted line so that it looks like following.
<a id="_#= visitId =#_" class="ms-calloutLink ms-uppercase" href="_#= $urlHtmlEncode(decodeURI(ctx.CurrentItem.Path)) =#_" title="_#= $htmlEncode(Srch.Res.hp_PeopleItem_ViewProfile) =#_">
7. Now check-in the above files and make sure they are published.
So you've just completed a database attach upgrade and want to enable some of the fun new SharePoint 2013 social features on your old, blah site like the Newsfeed. This appears by default on the home pages of new 2013 Team sites, but you want to add it to your existing/migrated sites. You've already configured your MySite Host and User Profile Service correctly. You've activated the SharePoint Server Publishing Infrastructure site collection feature as well as the Wiki Page Home Page site feature on your upgraded site, but when you try to add a Site Feed Web Part to your page, you can't find it in any of the Web Part Categories. Now what?
Let's start "Working on it..."
- Because the MicroFeed is a new feature of SharePoint 2013, it won't exist on your upgraded site pages from SharePoint's previous versions. So, you need to activate both the Following Content and Site Feed features on your site using Gear > Site Settings > Manage Site Features
- Now the MicroFeed app will appear in your site's Site Contents, but you still won't be able to find the Web Part to add to your page. Also, you can't simply add the MicroFeed App Part to your page either unless you want to totally confuse your users by displaying a bunch of jibberish. So, let's navigate to your root web and go to Gear > Site Settings > Web parts to open your Web Part Gallery
- If this is a migrated database, you'll be missing the SiteFeedWebPart.dwp in your list. Add it by going to the Files tab > New Document
- Scroll down the list until you find the SiteFeedWebPart.dwp and check the box to select it.
- Then scroll back to the top of the page and click the Populate Gallery button.
- You'll be returned to the Web Part Gallery, navigate to the newly added SiteFeedWebPart and click the Edit button to open the Web Part Properties window. Add the Web Part to the Social Collaboration group and optionally change the Title to a more friendly display name like Site Feed and click the Save button.
- Now when you go back to your site to Insert a Web Part on your page, the Site Feed Web Part appears in the Social Collaboration category. Select it and click the Add button
- The Site Feed is now added to your page.
- User is in a SharePoint 2013 document library within Internet Explorer and goes to the Files tab > New Document drop-down to select a document template from the available list of content types.
- After clicking one of the Excel templates, the user is brought to an error page similar to this one with the URL starting with ms-excel:nft|u|http
For Word Files the URL will start with ms-word:nft|u|http
- Checked IE settings and F12 Compatibility/Browser modes & Add-ons.
- Verified user can open documents already saved to the library using both Office Web Apps and Office 2010 client.
- Found that in addition to Office 2010 installed on the client PC, there is an installation of Microsoft Project 2013 as well.
- Binged it and found a Technet Blog post that addresses this issue. The steps below are taken from that blog posting - referenced here in case that link ever changes.
Remove the Microsoft SharePoint Foundation Support option from the Office 2013 installation options.
Start > Control Panel > Uninstall a Program > Find the Microsoft Project 2013 program in the list > Highlight it and click the Change button.
Select the Add or Remove Features
option, then click the Continue
Expand Office Tools
to find the Microsoft SharePoint Foundation Support
option > Click the drop-down and select the Not Available
option, then click the Continue
Reboot your PC.
After logging back in, return to the Uninstall a Program window, this time find the Microsoft Office Professional Plus 2010 program in the list > Highlight it and click the Change button.
Select the Repair
option, then click the Continue
- Reboot your PC again and you should now be able to create a new document from one of the templates in the SharePoint document library.
Resource: Technet Blogs
Training Department wanted users to be able to register for classes listed on a Calendar in SharePoint.
Knowing that the users would need to have "edit" rights in order to add their name to the item, we needed a way to steer them away from editing fields they shouldn't change (i.e. Start Time, Location, etc.) and only give them access to add their name to the Attendees field.
Added an additional Forms page along with a Custom Action, called "Register" to the Display Form Ribbon as well as the open menu drop-down which directed users to a Custom Form which only displays the Attendees field.
- Open SharePoint Designer 2013 to the site that contains your calendar, click the Lists and Libraries link in the left Navigation menu, and click on the name of your calendar list. In this case, our calendar is titled Schedule and Register.
- The first step is to create the new custom form that will show just our Attendees field in edit mode. In the Forms section, click the New... button.
- Give the new custom form a name, select Edit item form and check the Create link in List Item menu and Ribbon box along with a name for the link. Doing this will put a link to this custom form in the Open Menu drop-down for the item. Click OK to complete this step.
- The new edit form called Register now appears in the list of Forms.
- If you wish to see a preview of this new form, go back to your calendar and open an existing event which should take you to the DispForm.aspx page. Go to the URL and change DispForm.aspx to Register.aspx.
- Taking a look at how the Register.aspx form appears in our browser, we can see we still have a bit of work to do. By default, creating a new custom edit form places all fields on the form. For our purposes, we only want users to see and edit the Attendee field on this form.
- Back to SharePoint Designer, this time click on the Register.aspx link in the Forms section to bring up an easily editable, graphical representation of the form...Oh, wait, that's right...some genius decided that Design View wasn't needed anymore in SharePoint Designer 2013. If you don't know HTML, you're up a creek without a paddle because all you're going to see here is code.
As a rule, I don't like deleting anything, so I'm going to comment-out all the rows above my Attendee field by adding the HTML comment tags <!-- and --> in the code view below and then click the Save button to save my changes.
- Back to your browser, click f5 to refresh your page and Viola! Now when we view the Register.aspx page, we only see the Attendees field on our custom form.
- Now, we need a way for our users to easily navigate to this page to register. We already have the List Item Menu entry shown here...
- But most of our users will be selecting the class from a calandar view like this, where they will click the title to open and view the class details.
- Currently our DispForm.aspx page doesn't have a way to easily get to the new Register.aspx page. This is where our Custom Action comes in.
- Back to our list in SharePoint Designer, go to the LIST SETTINGS tab, click on the Custom Action drop-down and select Display Form Ribbon.
- Give your Custom Action a name, then make sure to select the Register.aspx entry in the Navigate to form drop-down. You'll also want to give your ribbon action a Button image. I selected one from the 15 hive. /_layouts/images/icon_survey.gif. Click OK to finish.
- Now our DispForm.aspx page has a nice Register button in the top ribbon which brings our users to the custom Register.aspx page to register for the class.
After migrating files to a new 2013 site collection, users complained that they were unable to open and thus edit .txt files in Notepad. The files opened in browser as a webpage instead.
Troubleshooting led me to the following. None of which resolved the issue. Items with an asterisk (*) are current settings.
- *Central Administration > Manage Web Applications > General Settings > Browser File Handling = Permissive
- Site Settings > Site Collection Features > Open Documents in Client Applications by Default > Activate
- *Control Panel > Programs > Default Programs > Associate a file type or protocol with a specific program > .txt = Notepad
So, I tried going in backwards.
- Open Notepad
- File > Open
- Paste the URL to a known .txt file in the Open File Path area
- I was prompted for my credentials which I entered as:
- The URL opened to SharePoint where I selected one of the .txt files and then clicked the Open button.
- The File opened in Notepad.
- I then closed both Notepad and IE, navigated back to the SharePoint library and clicked the name of a different .txt file. This time I was prompted for a choice in the Open Document pop-up to select Read Only or Edit.
- I selected Edit and clicked the OK button.
- .txt Files now open in Notepad
Calendar Overlay feature is a function of the
Calendar List which allows users to view the data of several different calendars all in one easy-to-read, color-coded Calendar display.
Click on a calendar link on your left navigation,
go to the
CALENDAR tab in the ribbon and click
Calendars Overlay to open the Calendar Overlay Settings.
Calendar Overlay Settings, click the New Calendar button to add a calendar to the list of additional calendars, teh
Enter a Name for your calendar in the
Calendar Name field, select a
Color, by default, your current Web URL will appear, click the
Resolve button to populate the List drop-down with available Calendars from this site, then click the
Follow the above steps to add additional calendar overlays. Note
that SharePoint allows a maximum of 10 calendars per view.
Based on your calendar overlay additions and visibility settings, you now have a
view all of the data from the calendar overlay(s) in a single calendar view.
Adapted from: http://community.bamboosolutions.com/blogs/sharepoint-2013/