Showing posts with label SharePoint 2013. Show all posts
Showing posts with label SharePoint 2013. Show all posts

Sign up for Weekly Newsletter from Learning SharePoint

If you haven't yet, sign up for the new Weekly Newsletter from LearningSharePoint.com.

Weekly newsletter is a warp-up of famous SharePoint 2013 Tips that are posted by  Learning SharePoint every day. These tips are posted on Learning SharePoint's Facebook Page, Twitter account, Google + and on the website itself.

Weekly newsletter is an awesome initiative to see all the Tips added in the the past week in a single document.

You can subscribe to the newsletter by adding your email in “Subscribe to our Weekly NewsLetter” box in the right sidebar of LearningSharePoint's website.
                               Subscribe to Learning SharePoint's the news letter


See the Original article @ Introducing Learning SharePoint's new Weekly Newsletter and download the first Issue.

Work with Documents Offline in SharePoint 2013

There are few good Options in SharePoint 2013 to work with documents Offline.
Before SharePoint 2013 Users had an ability to use SharePoint Workspace for working with documents Offline.Since SharePoint Workspace is no longer supported, users now can you the very handy SYNC button to work with documents offline.

Let look at the Options -

 Work with Documents Offline using Document Library SYNC - You can make any Document Library SYNC to your Local Including the SkyDrive PRO Library. Once the Library is SYNCed users can Open, Edit and Add Files and Folders to the SYNCed Library Folder that gets created on your Local. These additions can be Synced back to the Library either Everytime when you connect to SharePoint or On-Demand with “Sync now”.See more @ Read More...

"SharePoint 2013 SYNC" 

SharePoint 2013 Folder to Outlook with Connect to Client - The new "Connect to Client" option allows a Folder or a Document Library (along with its Content) to be added in Users Outlook mailbox from where they can work and access the documents Offline. To use this Option simply select the Option “Connect to Client” in Folder properties and launch the Outlook. Read more..

Focus on Content not working in Custom Master Pages in SharePoint 2013

Missing Focus on Content in Custom Master Pages in SharePoint 2013

 If you are Creating a Custom SharePoint Master Page (a Converted HTML Master Page perhaps), the new "Focus on Content" Control might not work by default.

To make it work, simply wrap you main content around Contentbox div i.e. around

<br/><i><div id="contentBox" aria-live="polite" aria-relevant="all"></i>

As seen in screen the below from seattle.master.


Follow more SharePoint 2013 Tips at our Learning Sharepoint's Facebook Page

Migrating Custom Themes from SharePoint 2010 to SharePoint 2013

SharePoint 2013 does not support “THMX” Themes that are Created in SharePoint 2010. If you are looking to migrate a Custom Theme from SharePoint 2010 to SharePoint 2013, you would have to re-design the Theme with new structure (defined by XML files – SPColor.xml and SPFont.xml) and then apply to the new SharePoint 2013 site.

The Custom theme from SharePoint 2010 after upgrade will remain in place but the theme will no longer be applied to the site, and the site reverts to the default theme.

As might know that Themes in SharePoint 2013 are defined two XML files:
  • SPColor.xml - defines the color palette, in which slots now have semantic names so that it’s more clear what UI elements will be affected when you change a color value. Also, themes now support setting opacity.
  • SPFont.xml - defines the font scheme and supports multiple languages, web-safe fonts, and web fonts.
 See the Steps to Create a Theme at LearningSharePoint.com's Tutorial at Create Custom Theme in SharePoint 2013 (Step-by-Step Tutorial)

How to Create and Edit existing Master Page in SharePoint 2013

In SharePoint 2013 you can edit an existing Master Page to add Company Logo or to Hide Top Suite Links like SkyDrive,NewsFeed   etc.As in earlier SharePoint Versions, all Master Pages are added to Master Page Gallery but in SharePoint 2013 for each Master Page, three associated files are added.

.master
.Html
.Preview

To add your Changes in an Existing Master Page you can edit the .master file are re-upload it into the Master Page gallery.If you decide to edit an existing Master Page, it is recommended that you make a copy of your Master Page before modifying it.

Once you are done with the Changes to a copy, upload the new “Custom.master” in Master Page Gallery as ASP NET Master Page File.

See the detailed Steps that you need to follow to Create a Copy of an existing Master page and editing the Master Page with your desired Changes at How to Edit Existing Master Page to Change Logo, Hide Top Suite Links etc in SharePoint 2013


Also see Various ways to Change a Master Page for your SharePoint 2013 Site

Create Custom Theme in SharePoint 2013

In SharePoint 2013, the theming engine was highly improved. You can Create Custom Themes by Creating Color palettes and Font Schemes, and uploading them to the Themes Gallery. See the Step-by-Step Tutorial to Create Custom Theme in SharePoint 2013

Themes in SharePoint 2013 are defined two XML files:

    SPColor.xml - defines the color palette, in which slots now have semantic names so that it’s more clear what UI elements will be affected when you change a color value. Also, themes now support setting opacity.

    SPFont.xml - defines the font scheme and supports multiple languages, web-safe fonts, and web fonts.

Theme Gallery – Theme Gallery Contains the list of Color Palettes and Font Schemes that are make up Themes in SharePoint 2013. SharePoint looks in the 15 folder (/_catalogs/theme/15/) to determine the available Color palettes and Font schemes.

To access the Theme Gallery navigate to Site Settings -> under Web Designer Galleries -> Themes.

Composed Look – A Composed Look is a List where Structure and Components of a Theme are defined.You can define the following for a Theme -

    Color palette
    Font Scheme
    Background Image
    Master Page

Theme Gallery VS Composed Look – Theme Gallery Contains Core files that make a Theme – SPColor.xml and SPFont.xml whereas Composed look Contains Links to these files in a structured way.

See the Step-by-Step Tutorial at Create Custom Theme in SharePoint 2013 (Step-by-Step Tutorial)

Formatting Announcements in a ListView WebPart in SharePoint 2013

In SharePoint 2013, you have many Options to format Announcements or Items in any other ListView WebPart.

Lets talk about some of the cool options with examples that I posted on LearningSharePoint.com

1. Using JS Link - Using JS Link property of a ListView Webpart, you can Control the rendering and Formatting of entire the Announcements WebPart.

See the example at Styling Announcements with JavaScript (using JS Link) in SharePoint 2013

 
2. Using JSON and CallOuts – You can also display Announcements using JavaScript with JSON response for Announcements and display the body of the announcement in a Custom CallOut.

See the example at Display Item Details in a CallOut on Hover Over of Item Title in SharePoint 2013

SharePoint 2013 JSLink Examples and Tutorial

JS Link property is a great new addition in SharePoint 2013 with which user’s can Control Rendering of Fields,Items and even WebParts using a JavaScript File (referenced in JS Link property field of a WebPart).

 To Support the new “JS Link Property” Microsoft has added a new Content type JavaScript Display Template.


Before we look at some examples here some Important things that you need to know about JS Link Property.

1. JS link is a new SPField Type property that not only lets you Control the Rendering of a Field or Control in a List, but also Rendering of a List Item,Content type,Form,View and a List view web part Instance.
2. Rendering of Fields can be Controlled in NewForm.aspx, DisplayForm.aspx and EditForm.aspx forms.
3. JS Link Override will not work if you are using the Custom List Form (i.e. it is edited in SharePoint Designer).

4. JavaScript Display Template Content Type provides some special Site Columns like Target Control Type, Standalone,Target Scope and Target List Template ID that helps users to specify JS file metadata.

Lets look at some examples-
Add Task Status Indicators in SharePoint 2013 using JS Link

Color Code List Items with JavaScript in SharePoint 2013 using JS Link

Customize List Form Fields in Display Form (DispForm.aspx) using JS Link in SharePoint 2013

Styling Announcements with JavaScript (using JS Link) in SharePoint 2013

Create Custom CallOut,Create CallOut Actions,Hide CallOuts,Remove CallOut SharePoint 2013

In SharePoint 2013, Microsoft has Introduced a new Framework to Create CallOuts that is somewhat similar to the Dialog Framework Introduced in SharePoint 2010.

The new CalloutManager class in “Callout.Js” (path – C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\LAYOUTS) is responsible for Creating and editing Instances of a CallOuts in SharePoint 2013.


You can find the Complete Tutorial at SharePoint 2013 CallOut Popup Tutorial 

Creating a Custom CallOuts - You would use CalloutManager.createNew() or CalloutManager.createNewIfNecessary() methods to Create a new CallOut on any Target element.

Example 1 - Create Custom Callouts in SharePoint 2013

Example 2 - Creating Custom CallOuts Where CallOuts gets displayed on Hover Over of an Item.

Exmaple 3 - Create a Quick Contact Us or FeedBack Form in SharePoint 2013 (using CallOuts)


Create CallOut Actions - CallOut Actions are Links (such as “Open”, “Edit”, “Share”) that gets displayed in the bottom area of a Callout.CalloutActionOptions() is one of the methods in Callout.Js that lets you Create and edit CallOut Actions for Items.

Example 1 - Create CalloutActions in a Callout – SharePoint 2013



Example 2 - Hide,Remove,Customize CallOut Actions in SharePoint 2013

Disable\Remove Callouts - You need to set SPField.CalloutMenu  and\or SPField.CalloutMenuAllowed for a Field to disable CallOuts on it. Read more at Disable CallOuts for Lists and Libraries in SharePoint 2013

 You can also Hide CallOuts by switching Views that you use in your list.See the Quick workaround to Hide CallOuts in a SharePoint 2013 Task List

SharePoint 2013 Interview Questions and Answers

SharePoint 2013 Interview Questions and Answers -

The Interview questions are from the four Part series at SharePoint 2013 Interview questions
 
Search -

Q1. What are the New Changes in Search?
Ans:
In SharePoint 2013 the best of two Search Engines "SharePoint Search" and “FAST Search Server for SharePoint” was combined
to make one Search Engine that would provide greater redundancy and for better scalability. For more Info on Search architecture see Search 2013 Architecture

Q2. What is Continuous Crawl?
Ans:
A new Crawl Option "Continuous crawls" has been Introduced in search's Crawl Schedule Category to help keep the search index and search results as fresh as possible.Continuous crawls run every 15 minutes by default.

Q3. What are Display Templates?
Ans:
To eliminate the fact that the designers and power users needed to modify the XSLT each time they needed a particular look and feel in SharePoint, a new concept of Design Templates has been introduced. Each Display Template consist of two files an HTML file (.html) and JavaScript File (.js). For more Info on Display templates see Display Templates

Q4. What is the new Analytics Processing Component in SharePoint 2013?
Ans:
The Analytics Processing Component in SharePoint Server 2013 analyzes both the Content and the way users interact with it.The results from the analysis are added to the items in the search index to be used by Search Webparts,Recommendation Reports,Most Popular Items reports and other WebParts.

Q5: What analysis are done by Analytics Processing Component in SharePoint 2013?
Ans:
The Analytics Processing Component runs two main types of analyses: Search analytics and Usage analytics. Search analytics analyzes content in the search index, and usage analytics analyzes the user actions.

Q6. What is the purpose of new Content Search Web Part(CSWP)?
Ans:
In SharePoint 2013 Microsoft has introduced a new webpart called “Content Search Web Part (CSWP)”.This WebPart queries
against search Index to display results. The webpart displays search results in a way that you can easily format it and customize it.

Administration -

Q7. What is Shredded Storage?
Ans:
Its a new Feature Introduced in SharePoint 2013 where Documents and Changes to the Documents are stored as “Shredded BLOBS” in the new DocStreams Data Table.Unlike SharePoint 2010, it helps to lower down the amount of storage required for saving files by saving only the Changes and not the entire Versions of the Files in database.

Q8: Why would you Disable Shredded Storage?
Ans: Shredded storage is a per document feature.So if two Copies of the exactly same document is stored in two different libraries, these two documents will still have their own set of shreds which will take up twice the space of each individual document.

Q9. Whats new in SPSite Powershell Cmdlet?
Ans: SPSite has few new parameters in SharePoint 2013 to make Site Collection Operations easier.
New-SPSite cmdlet allows to Create a Host-name Site Collections adding a using the HostHeaderWebApplication parameter that identifies the Web Application where the site collection is being Created.
Copy-SPSite (new) Use the Copy-SPSite cmdlet to make a copy of a site collection from one Source content database to a specified destination content database.The copy of the site collection has a new URL and a new SiteID.This will be very useful when renaming a SiteCollection.

Development -

Q10: Whats are the new Delegate Controls in SharePoint 2013?
Ans:
In SharePoint 2013, three New Delegate Controls have been Introduced for the purpose of displaying the new Top Suite bar (with links SkyDrive, NewsFeed,Sync,follow). These Controls are -
  • SuiteBarBrandingDelegate delegate Control
  • SuiteLinksDelegate delegate Control
  • PromotedActions Delegate Control
Q11: What are the Changes in CSOM and REST based APIs?
Ans:  Microsoft has improved both Client Side Object Model (CSOM) and Representational State Transfer (REST) based APIs by adding a much needed support for the Search, User Profiles, Taxonomies, and Publishing Object Model.Client.svc service is extended with REST capabilities and accepts HTTP GET, PUT, POST requests.


Q12: What’s the new App model?
Ans:
SharePoint 2013 Introduces a Cloud App Model that enables you to Create apps.Apps for SharePoint are self-contained pieces of functionality that extend the capabilities of a SharePoint website. An app may include SharePoint components such as lists, workflows, and site pages, but it can also surface a remote web application and remote data in SharePoint.

Q13: What is the new SPSecurityEventReceiver?
Ans:  SharePoint 2013 Introduces a Cloud App Model that enables you to Create apps.Apps for SharePoint are self-contained pieces of functionality that extend the capabilities of a SharePoint website. An app may include SharePoint components such as lists, workflows, and site pages, but it can also surface a remote web application and remote data in SharePoint.

See more Interview questions from LearningSharePoint.com at SharePoint 2013 Interview questions and answers

New Delegate Controls in SharePoint 2013

There are few new Delegate Controls Introduced in SharePoint 2013. Most of these Controls were added to display Top suite bar (blue bar - from left to right) and can be Overridden like other Delegate Controls using Visual Studio.

Three new Delegate Controls -

SuiteBarBrandingDelegate Delegate Control - 'SharePoint or Office 365' Text in the top left blue bar of the new SharePoint 2013 site is displayed using SuiteBarBrandingDelegate Delegate Control.
You would need to Override SuiteBarBrandingDelegate Control with you own Custom Control and deploy it in your farm to replace this Text. Read a Step-by-Step example Here

 
SuiteLinksDelegate Delegate Control - This Delegate Control is Responsible for displaying Links - NewsFeed, SkyDrive and Sites in top blue bar in the right. These links are also known as “Suite bar” or  "Delegate Suite Links". You can add & remove these links in this suite bar by Overriding SuiteLinksDelegate Control with you own Custom Control.Read a Step-by-Step example Here



Promoted Actions Delegate Control - This Delegate Control is Responsible for displaying Links -  Share,Follow,SYNC,EDIT in top blue bar just below the Delegate Suite Links.You can add & remove these links in this suite bar by Overriding PromotedActions Delegate Control with you own Custom Control.Read a Step-by-Step example Here





SharePoint 2013 Open Word Documents as PDFs

As you might know that in SharePoint 2013 PDF’s are supported Out-of-box and Yes without installing any PDF Filters.Some of the cool features are -

* PDF icon is natively supported in SharePoint 2013 results

* No need to install Adobe’s free PDF ifilter or Foxit PDF iFilter

* You can Open PDF file without saving them on your machine if you have Adobe Reader 10.0.2 or later is installed.

* SharePoint will try to open PDF file in the Adobe Reader and prompt user to either checkout & open or open the PDF file directly.

Besides being able to Search and Open PDF’s another functionality that I like the most is the Out-of-box Word to PDF Conversion. Read about the Feature at Word to PDF Conversion in SharePoint 2013 (via Print to PDF)

Only Caveat here is that you would need Office Web Apps (OWA) Installed and Configured  in order to use this Conversion feature.



How to Create Lists\Libraries in SharePoint 2013

Create List with Add an app -
Quick Steps -
1. Navigate to Site and Click on “Settings” wheel.Click on “Add an app” or go to “View All site Content” and then click “Add an App".


or

Select “Custom List” from the “Your Apps” page.
Give the name of the List in the Popup and click Create.


and here is the new list in the Site Contents page

Set Unique Permissions for document library in Sharepoint 2013

Original Post from Break Permissions Inheritence for a docuemnt library in Sharepoint 2013 

Breaking the Inheritance Option is a little hidden in SharePoint 2013. So here we have a trick on how to Break Inheritance and Set unique permissions for a document library.

Click on the "Library" tab in the Ribbon and the click on "Share with"
Next click on "ADVANCED" in the pop-up.

Next Click on Stop Inheriting Permissions to set unique or Item level permission for the library.

SharePoint 2013 Certifications

Here is the initial look at the SharePoint 2013 Certifications. Both the certifications are expected to be published in February 05, 2013. The initial however is available for your reference
Exams
In addition to these Classroom Trainings are also available

SharePoint 2010 Vs SharePoint 2013

SharePoint 2010 Vs SharePoint 2013

In this post we will look at the main differences between the famous SharePoint 2010 and new SharePoint 2010. The chart mostly tells you about what is introduced in the new SharePoint 2013 version and what is depreciated.

SharePoint 2013 Vs SharePoint 2010
SharePoint 2013 SharePoint 2010
What is SharePoint 2013 (Preview) -
A new version of Microsoft famous Collaboration portal called SharePoint. The version adds few new exciting features such as Social Feed,SharePoint Apps and cross-site publishing.
What is SharePoint 2010 - It is a previous or I should say current version of SharePoint that was released in year 2010.
Development Changes –
  • In SharePoint 2013 Microsoft Introduced a new Cloud App Model for designing Apps for SharePoint. Apps for SharePoint are self-contained pieces of functionality that extend the capabilities of a SharePoint website. You can use HTML, CSS, JavaScript and protocols like the Open Data protocol (OData), and OAuth to communicate with SharePoint using Apps.
  • Tools – SharePoint 2013 has Introduced new Tools for App development. Visual Studio 2012 now lets you develop apps for SharePoint and apps for Office. In addition a new web-based tools called “Napa” Office 365 Development Tools were introduced for developing apps.
  • No more Sandbox solutions. SharePoint 2013 sandboxed solutions are deprecated. So all we got is the New App model and the Old SharePoint Farm solutions. check out SharePoint 2013 – Apps Vs Farm solutions
Development Changes –
  • SharePoint 2010 Introduced Sandbox solutions to help developers deploy code that did not effect the whole farm.
  • In SharePoint 2010 you could use Server Object model and Client Object model (.Net Managed, ECMASCRIPT and silverlight) to extract data from SharePoint.
  • In SharePoint 2010 developers were also developing Farm solutions as they did with the previous SharePoint 2007 version.
Social and Collaboration features –
Microsoft in SharePoint 2013 Introduced new Social capabilities for better collaboration in the company.New Features added are -
  • Interactive feed
  • Community Site
  • Follow people
  • Follow Sites
Social and Collaboration features - SharePoint 2010 had very few social capabilities.
  • My sites
  • Tags and Tag profile pages
  • Notes
Search - SharePoint 2013 includes several enhancements, custom content processing with the Content Enrichment web service, and a new framework for presenting search result types. Some of the features added are –
  • Consolidated Search Results
  • Rich Results Framework
  • keyword query language (KQL) enhancements
Search – SharePoint 2010 had Introduced Integrated FAST search as an Enterprise search. In addition to this build-in SharePoint search is still widely used in companies.
Enterprise Content Management (ECM) -
SharePoint 2013 added some of the best capabilities of an ECM software. The newly added stuff is
  • Design Manager
  • Managed Navigation
  • Cross-site Publishing
  • EDiscovery
Enterprise Content Management (ECM) - SharePoint 2010 on the other hand had Introduced Managed metadata and taxonomy as a part of new ECM benefits for SP 2010. This version did not had Managed Navigation and Cross-site Publishing. SharePoint designer was a primary tool to modify Master pages instead of the new Design Manager.
Original Post - Sharepoint 2013 Vs Sharepoint 2010

Awarded as SharePoint MVP!

I am very Excited and Honored to receive SharePoint MVP award from Microsoft. I got the e-mail this morning and it just made my day. MVP's award is given to exceptional technical community leaders who actively share their high quality, real world expertise with others.

If you want to know more about the MVP award program you can visit the MVP Site.

SharePoint 2013 Apps Tutorial for Beginners

This is a Beginners Tutorial for "SharePoint Apps" that were Introduced in SharePoint 2013. I will try to Introduce the App Structure, Types of Apps, How they work, How to develop them,Where they run and more..

What are Apps?
Apps for SharePoint are self-contained pieces of functionality that extend the capabilities of a SharePoint website. Apps integrate the best of the web and SharePoint; they are targeted, lightweight, and easy-to-use, and do a great job at solving a user need. Users discover and download apps from the SharePoint Store or from their organization's private App Catalog and install them on their SharePoint sites.

Where are they hosted?
Two main Options here-
 
SharePoint hosted App
Cloud based Apps.
  •     Developer hosted Apps
  •     Azure Auto provisioned App
How to Create Apps
Three Options  here

   1. SharePoint Visual Studio 2012 project templates
  •  Install Microsoft office developer tools for Visual studio 2012
  •  Need to download the separately

   2. Napa Office 365 development tools
  •  Browser based tool
  •  Quick and easy Deployment

   3. No-Code Apps
  
How App are displayed 
You have options to define how App will be displayed. Few Options are -

-Immersive full page (run on your server or sharepoint server)
-Add App as App part (it is just like a Webpart that even has webpart properties)
-UI Custom Action (add to create ribbon buttons or ECB menu items)

How apps Communicate With SharePoint
- Cloud  hosted apps communicate through Client site object model or REST.
- Server Side or Client hosted Apps are granted Read,Write, manage and Full control permissions using OAuth 2.0 protocol.

What are the Contents of an App

       - AppManifest.xml
       - App part (like a Client webpart where you can set the properties)
       - Package(to package the app)

How to add them to SharePoint
-Public office marketplace (Office Store or market place
- Internal organization app catalog (Companies purchase catalogs)

Disclaimer

This is a personal weblog. The opinions expressed here represent my own and not those of my employer or anyone else. Should you have any questions or concerns please e-mail me at sharepointprogrammingblogger@gmail.com .

Copyright (c) 2010 @ myshaepointwork.blogspot.com. All rights are reserved.Do Not Copy.

@ Learning SharePoint.com