Often times I get asked how to provision a document library in SharePoint Online to expose the Word, Excel, PowerPoint and OneNote icons in the document library ribbon to allow users to fire up one of those document types right from within the document library.
There is two approaches – one of which is code free, one of which requires a sandboxed solution.
Approach #1
In approach #1 (the code-free approach) you create content types for each of the document templates and then add the document templates to the "New Document" button in a document library and save the document library as a template. I wont dive deeper into this approach here, since you can read the step-by-step guidance on how to do the above here.
Approach #2
In approach #2 you build a sandboxed solution in Visual Studio to add buttons to the "New" group of the "Documents" ribbon, and deploy it to a site collection as a .wsp application package.
I’m not providing the code here, but at the end of this article I’ve provided a link to the SharePoint Online Developer Course (online) in which you can learn the principles behind the solution, and a link to the Fabrikam Site Collection (accessible for Microsoft Partners) in which you can find the solution (wsp) shown below and implement it in your own customer engagements if so desired.
How to
If you download the wsp solution (or develop one yourself) this is how you put it to work
1. Open the solution gallery of the site collection ("Site Actions" > "Site Settings" > "Solutions")
2. Click "Upload Solution"...
... browse your way to the *.wsp file and click OK…
..click "Activate"
...and the solution is in the Solution Gallery
3. Once the solution is uploaded and activated, you can go to the site level features ("Site Actions" > "Site Settings" > "Manage Site Features")...
...and click "Activate" to activate the feature. The icons will now show up in existing and new document libraries in the site, but not other sites within the site collection
Using the solution
Create a new document library ("Site Actions" > "New Document Library")
The new document library has the four Office icons (buttons) in the "New" group of the "Documents" ribbon
To create e.g a PowerPoint presentation, you just click the PowerPoint button (the new presentation will open in PowerPoint Web App even if you have Office installed on your PC)
Provide a name for the presentation
Modify the presentation
When you close the presentation its automatically saved to the document library
Note
Links
To list the user profiles of all SharePoint Online users in your tenant you can follow these steps
In case you missed TechEd 2012 North America last week - or had to prioritize sessions - here is a list of some of the recorded Office 365 sessions I'd recommend. Just click the link to see a streamed recording of the session and/or download the recording and the slides (may not be available for all sessions) if you prefer.
The first six recordings are on the (general) topics of overview, management, migration, identity a.s.o whereas the last four are focusing on SharePoint Online. Especially the last two comes highly recommended if you are looking for patterns of integrating SharePoint Online with Azure and/or On-Premises systems (e.g. your CRM application or your ERP application)
Introduction to the service plans
Security, Privacy and Trust
Management, Migration and Deployment
Identity
Hybrid
Search
Development
See also
SharePoint workflows are pre-programmed mini-applications that streamline and automate a wide variety of business processes — from collecting signatures, feedback, or approvals for a plan or document, to tracking the current status of a routine procedure.
Built-in workflows
The following five workflows are pre-programmed (built-in) in SharePoint Online for Enterprises.
Customize workflows using SharePoint Designer
If you need more flexibility with a built-in workflow, you can customize it further with a tool like SharePoint Designer (SPD). You can also create your own original workflow from scratch. Using the Workflow Designer, you create rules that associate conditions and actions with items in SharePoint lists and libraries. Changes to items in lists or libraries trigger actions in the workflow. Read more in the article "Workflow actions in SharePoint Designer 2010: A quick reference guide" - link
Comparing workflows in the E plans and the P1 plan
Workflows are supported in the P1 plan (Office 365 for professionals and small businesses) as well. Some differences exists when comparing workflows to the E plans to the P1 plan:
When you sign up for an Office 365 account, you automatically become an Office 365 global administrator and a SharePoint Online Administrator. This global administrator is added to the team site that is automatically created for you during your Office 365 account setup (for example, https://yourcompany.sharepoint.com), and is assigned the site collection administrator role.
One very important point to make here – and this is one of the most common questions on the communities – is that you cannot separate the roles of Office 365 global administrator and SharePoint Online Administrator.
In other words – you being the the Office 365 global administrator (aka the Tenant Admin) cannot redelegate the role of SharePoint Online Administrator (aka SPO Admin) to another person. What you being the SPO Admin in an E plan *can* do delegation wise, is to delegate the admin rights for a site collection to another person besides yourself. This person in turn can delegate admin rights to sites in the site collection to other persons. But the Tenant Admin cannot delegate the SPO Admin role to someone else.
A site collection is the root of permissions for all the sites (known as subsites) underneath it.
Site collection administrators have permissions to manage SharePoint Online at the site collection level (or top level) of a SharePoint Online site, meaning that their permissions extend to all the content in the site collection that they administer. Also, those permissions are inherited down through all the subsites underneath the site collection, by default. This means changes that site collection administrators make at http://www.contoso.com/ are inherited in subsites like http://www.contoso.com/InformationTechnology.
It’s important to note that a new site collection is its own permissions root. For example, a new top-level site collection created at http://www.contoso.com/sites/Marketplace does not have the same permissions as http://www.contoso.com/.
For more info see the wiki post Permissions in Office 365 FAQ
The Office Web App Service Description lists a max file size of 10 MB for Excel Web App.
If you ever tried to upload an Excel workbook to SharePoint Online, even if the file size is smaller than 10 MB you might have encountered the error “Your session has exceeded its limits and has been closed“. Perhaps you've even tried to upload the file to SharePoint Server and not gotten the error?
So what is going on with Excel Web App on SharePoint Online?
Before I explain let me illustrate the above
I have an Excel file with a Pivot Table sitting on my disk. On disk the file takes up less than 6 MB
Now if I open Excel without opening any files, I see that the Excel application itself takes up around 34 MB of memory on my PC...
...then if I open the Excel file, I see that Excel with the opened file now takes up around 232 MB of memory on my PC - in other words, the file itself takes up around 200 MB of memory.
If I then create a site collection on SharePoint Online and provision it with plenty of resources...
...upload the Excel file to a document library and try to view it in a browser
... I get the below error the moment I try to filter the Pivot Table
File Size vs Memory
To understand why this error is thrown, we need to distinguish between file size and memory size. Even if an Excel workbook (file) is listed as e.g 5 MB file size in Windows Explorer it might be consuming a lot of memory when opened in Excel, e.g. due to pivot tables in it.
On SharePoint Online we currently limit the users to 75 MB of memory. The session memory setting applies only to Excel.
In the above example the file consumes close to 200 MB of memory due to the pivot table, and Excel throws the error. This error has nothing to do with the size of the file but with the amount of memory the file consumes when a user opens it.
For the file to work on SharePoint Online you will need to reduce the size of the memory footprint by removing some of the elements in the file.
Say you require your SharePoint Online users to enter information about the intended audience for the document they are about to upload to a document library. If you leave it up to the user to come up with a term for audience of the document, you might end up with a bunch of documents intended for the same audience, but tagged with diffent terms, e.g. “CEO”, “Chief Exec Officer”, “Chief Executive Officer” a.s.o
Obviously having different terms in this scenario makes it difficult to categorize and discover your documents afterwards. You risk not finding a document just because a user tagged it with something you didn’t expect.
SharePoint Online out-of-the-box metadata management capabilities
As a content management system, SharePoint Online provides great out-of-the-box metadata management capabilities through the
If your organization uses taxonomy to organize data, you can simply use what terms you have already by importing your custom taxonomy into the Term Store. The metadata can be applied to e.g. a document library through the “Managed Metadata” column type, letting users choose the correct term in a consistent manner. The document library can reside in a Document Center, complete with hierarchical navigation providing easy navigation and filtering of your documents.
Example
To start helping yourself with managed metadata follow these simple steps:
1. Import a term set to the Term Store
The Term Store for SharePoint Online is a global directory of common terms that can be used in your organization for tagging and navigation purposes. The idea behind the Term Store is that you want to create consistency in the way data is entered and managed throughout your SharePoint environment.
For this example I've already built a CSV file with a demo Audiences taxonomy (if you would like to follow along you can download the below file here)
Open the SharePoint Online Administration Center and click "Manage Term Store"
Right-click the "Taxonomy" header and click "New Group"
Name the group (e.g. "Audiences"), then right click the new group and click “Import Term Set”
Browse to your CSV file and click OK.
You now have a Term Set called "Audiences".
2. Create a Site Collection based on the Document Center template
Open SharePoint Online Administration Center and click "Site Collections"
Click "New" > "Private Site Collection"
Name the new site collection (e.g. "MyDocumentCenter") and pick the "Document Center" template on the "Enterprise" tab
You now have a Document Center. In the Document Center, click "Documents"
3. Add the Hierarchical Navigation
In the Ribbon click "Library Tools" > "Library" > "Library Settings"
Click "Metadata navigation settings" under "General Settings"
In the "Configure Navigation Hierarchies" sections click "Add" to add "Audiences" to the "Selected Hierarchy Fields"
While still in the Document Library Settings remove the columns you dont want to see in the document library view (optional) and then add a Managed Metadata column
4. Add the Managed Metadata column
Click "Create Column" and choose the "Manage Metadata" column type
Browse to your imported Term Set "Audiences"
You now have a document library with a managed metadata column, and can start adding and tagging documents
To tag a new document
Click "Edit Properties" and type/choose the term for the intended audience
To use the Navigation Hierarchy control
Using the Hierarchical Navigation control to the left of the document library you can now easily discover which hiearchies are available for filtering and e.g. filter your way to the documents tagged with the term "Chief Executive Officers (CEO)" under "Business Decision Makers (BDMs) - Additional"