Tuesday, September 19, 2017

Differences between SharePoint 2013 and 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 the current version of SharePoint that was released in the 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, 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 affect 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 have Managed Navigation and Cross-site Publishing. SharePoint designer was a primary tool to modify Master pages instead of the new Design Manager.

Saturday, September 16, 2017

Overview of the SharePoint Framework

The SharePoint Framework (SPFx) is a page and web part model that provides full support for client-side SharePoint development, easy integration with SharePoint data, and support for open source tooling.

With the SharePoint Framework, you can use modern web technologies and tools in your preferred development environment to build productive experiences and apps that are responsive and mobile-ready from day one.

The SharePoint Framework works for SharePoint Online and for on-premises (SharePoint 2016 Feature Pack 2).

Key features of the SharePoint Framework include:
1.      Runs in the context of the current user and connection in the browser. There are no iFrames for the customization (JavaScript is embedded directly into the page).
2.      The controls are rendered in the normal page DOM.
3.      The controls are responsive and accessible by nature.
4.      Enables the developer to access the lifecycle - including, in addition, to render - load, serialize and deserialize, configuration changes, and more.
5.      It's framework agnostic. You can use any JavaScript framework that you like: React, Handlebars, Knockout, Angular, and more.
6.      The toolchain is based on common open source client development tools like npm, TypeScript, Yeoman, webpack, and gulp.
7.      Performance is reliable.
8.      End users can use SPFx client-side solutions that are approved by the tenant administrators (or their delegates) on all sites, including self-service team, group, or personal sites.
9.      SPFx web parts can be added to both classic and modern pages.

The runtime model improves on the Script Editor web part. It includes a robust client API, an HttpClient object that handles authentication to SharePoint and Office 365, contextual information, easy property definition and configuration, and more.

That architecture worked well in environments with only one enterprise, but it didn’t scale to the cloud, where multiple tenants run side-by-side. Thus, we introduced two alternative models: client-side JavaScript injection, and SharePoint Add-ins. Both solutions have pros and cons.

JavaScript injection
One of the most popular web parts in SharePoint Online is the Script Editor. You can paste JavaScript into the Script Editor web part and have that JavaScript execute when the page renders. It’s simple and rudimentary, but effective. It runs in the same browser context as the page and is in the same DOM, so it can interact with other controls on the page. It is also relatively performant, and simple to use.

SharePoint Add-in model
The current option for solutions that run in NoScript sites is the add-in/app-part model. This implementation creates an iFrame where the actual experience resides and executes. The advantage is that because it's external to the system and has no access to the current DOM/connection, it's easier for information workers to trust and deploy. End users can install add-ins on NoScript sites.




Friday, September 15, 2017

SharePoint 2013/2010 Interview questions - Part 3


Q1: What is new SharePoint 2013?
Ans: SharePoint 2013 is the next Version of 
Microsoft’s famous Collaboration and Document Management Software called SharePoint.This
Version follows SharePoint 2010 that was released back in May 2010.SharePoint 2013 was released (as Preview and RTM versions) with some new & exciting features such as Real-Time Social Feed, ShreddedStorage, SharePoint apps, Cross-site publishing, Out-of-Box PDF support, Minimal Download Strategy and lot more.See SharePoint 2013 Tutorial for Beginners to know more.

Q2: Why should a Company Migrate to SharePoint 2013?
Ans: Microsoft has added some Incredible features to SharePoint 2013 that can be of huge benefit to all the Companies that use SharePoint on a 
large scale. Most of the new Features are Introduced for Improving SharePoint Performance (for both Browser and SQL) and to enhance the famous Web Content management capabilities.There is an Improvement for all – end users, developers and IT administrators.Check out our free ebook on 101 New and Improved Features in SharePoint 2013.

Q3: What is the Licensing Model for SharePoint 2013?
Ans: With SharePoint 2013 Microsoft has Introduced 
User License Enforcement Capabilities – that means different licenses can be assigned to different users based on Active Directory security groups that are added in.A group of admins, for example, would need features that are offered by Enterprise license but a group end users, on the other hand, can work with Standard license and would not need to pay more.By default, the User License Enforcement is disabled and must first be enabled to begin assigning, using, and implementing user licensing capabilities.For more details see Introducing the Dual License Model in SharePoint 2013.

Q4: How does SharePoint 2013 Improve Performance?
Ans: SharePoint 2013 Introduces 
Minimal Download Strategy and Distributed Cache Service to Improve Page Load, and Shredded Storage to Improve Storage required for saving files.

Q5: What is Minimal Download Strategy?
Ans: Minimal Download Strategy is a new feature in SharePoint 2013 that improves client rendering performance and fluidity when navigating from page to page by download only the changes between two compatible pages. Fewer bytes will be downloaded and the page will appear more quickly.
 Minimal Download Strategy in SharePoint 2013 improves rendering performance when browsing content where large parts of the page do not change providing a more fluid navigation experience. For example, when navigating between a site’s home page and Shared Documents page only the Content that has changed between the source and destination page (controls and placeholders in the content area) are downloaded and Url subsequently updated where the chrome is persisted.

Q6: What is Distributed Cache Service?
Ans: The Distributed Cache service provides caching features in SharePoint Server 2013. The microblog features and feeds rely on the Distributed Cache to store data for very fast retrieval across all entities. The Distributed Cache service is built on Windows Server AppFabric, which implements the AppFabric Caching service. Windows Server AppFabric installs with the prerequisites for SharePoint Server 2013.

Q6: What is Shredded Storage?
Ans: With Shredded Storage feature enabled, every document and the Changes made to the document, is stored in SQL as multiple “Shredded BLOBS“. Whenever a new Version of a document is Created, only the BLOBs of the document that Corresponds to the Change are saved as opposed to the entire document as a new version.This feature helps to lower down the amount of storage required for saving files.

Q6: How does Shredded Storage Work?
Ans: Every Document in SharePoint 2013 is now stored as multiple “shredded BLOBS” in the new “DocStreams” data table.Whenever a new Version of a document is created, a new Record is written in this data table that contains only the “Shred BLOB” of the original document that corresponds to the Change, merged with the new Changes.In other words, a new Blob with Changes is added as a new row in the table.Each BLOB that gets added Contains a numerical Id that represents the source BLOB.At the end, it is the job of BLOB Index to keep the track of Blobs and to create a full file with the Combination of entries that point to the unchanged shreds of the previous version(s) and the entries that point to the newly added Changed shreds.

Q7: 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 Web parts, recommendation reports, Most Popular Items reports and other web parts.

Q8: 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.

Q9: What are Device Channels in SharePoint 2013
Ans: With device channels in SharePoint 2013, you can render a single publishing site in multiple ways by using different designs that target different devices, for example, mobile devices etc.These device channels can each be given a different master page and CSS file to give users a more optimal viewing experience.For more Info see 
Plan device channels in SharePoint Server 2013

Q10: What is Device Channel Panel Control in SharePoint 2013
Ans: Device Channel Panel is a new control that you can include in a page layout to control what content is rendered in which channel. The Device Channel Panel is a container that is mapped to one or more channels.

Q11: How does Backward Compatibility work in SharePoint 2013
Ans: In SharePoint 2013 with the new “CompatabilityLevel” parameter of Install -SPSolution cmdlet you can now deploy your .wsp or Solution to either 14 hive or 15 hive or both. For more Info on CompatabilityLevel.

Q13: What’s new with Web Content Management in SharePoint 2013
Ans:For End users and Contributors, some very Interactive features such as Drag and Drop of documents,Convert to PDF(
Print to pdf),Quick edit (datasheet view),Document Library Search(Find a File),Get Embed code for documents and Out of box PDF Support etc. has been added in 
Web Content Management.

Q14: What is the new Out-of-box PDF Support?
Ans: SharePoint 2013 now offers Out-of-box PDF Support and what that really means is that PDF icon is now natively supported and PDF, when opened in SharePoint 2013, will try to open in the Adobe Reader and prompt user to either check out & open or open the file in PDF directly.
Q15: What is Embed Code and How do you get Embed Code for a document?
Ans: SharePoint 2013 provides a support to get “Embed Information” for documents and other digital Content types such as Videos, Audios etc. to be added on any SharePoint Page or in a Microblogging feed.

Q16: What are the new “Digital Content types”?
Ans: In SharePoint 2013 
Microsoft has introduced a new set of content types called “Digital Asset Content Types” for better use of Audio, Video, and Images as Web Content.These content types can be added to any library and can be used as one of the item's files.

Q17: How does the new Video Content type work in SharePoint 2013?
Ans: Video Content type added to SharePoint 2013 is a very useful addition for Content Authors.The Improved Assets Library provides support for Video Content Types and provides various Out-of-Box views like “Thumbnails” and Out-of-Box pages like “Video Page” to 
View Videos in a very Interactive way.

Videos in SharePoint 2013 are Organized in a manner similar to “document sets”. SharePoint Creates a stub (think of it as a folder) to hold a video and all the related contents, such as user-defined properties, thumbnails, video renditions, and other documents related to the video. You can use the Video Content Type in Assets Library properties.

Q18: What players are supported for playing SharePoint 2013 Video files?
Ans: SharePoint 2013 supports two 
Video players – HTML 5 player and a Silverlight player.SharePoint chooses the player automatically, depending on the video format that it encounters in the video set (the collection of files that are related to the video). If the format can’t be played on the HTML 5 player, the SharePoint uses the Silverlight player.

Q19: What is “Image Renditions”?
Ans: Image renditions enable you to render a single image in multiple ways. An image can be displayed in various sizes or with different cropping.

Q20: What is the new IFrame support in SharePoint 2013?
Ans: SharePoint 2013 was added with the new Out-of-Box Support for IFrames.Admins can now embed dynamic content from other sites, such youtube videos or maps to any SharePoint site by using IFrames. Admins would need to add the Domain for the external site in “HTML Field Security” first.For more Info on IFrames see How to use IFrames in SharePoint 2013 see 
How to use IFrames in SharePoint 2013

Q21: How would you use “Related Items” Column?
Ans: A new Column type “Related Items” has been Introduced in SharePoint 2013 where you can add a reference to another Item or a document from any List\Library as a related entity to one of the Items using Related Items column.

Q22: What Changes are Introduced in SharePoint 2013 Publishing
Ans: SharePoint Server 2013 has two ways that you can make published Content available to users: author-in-place and cross-site publishing.
Author-in-place – When users use a single site collection to author content and make it available to readers, Cross-site collection publishing -

Q23: What is Cross-Site Publishing?
Ans: Cross-Site Publishing is a new Feature in SharePoint Server 2013 that enables you to reuse content across site collections,
web applications, and farms.You can use cross-site publishing to Create branded Internet, intranet, and extranet publishing sites.

Q24: What’s new with Social Capabilities in SharePoint 2013
Ans: In SharePoint 2013 Microsoft has Introduced new Social Capabilities to let users Collaborate Socially in the Company.My Sites have been enhanced Incredibly to Integrate these Social features.Some of the new Features added are Community Sites, Microblogging, Newsfeed\Site feed, Follow people and Follow Sites.

Q25: What’s new with Development in SharePoint 2013
Ans:
 Apart from the new App Model for Creating Custom Components, Microsoft has added a few new Namespaces to work with newly added – Social, EventReceivers, DelegateControls, Callout Popups and other Custom Components in SharePoint 2013.In addition to these classes, a few new templates in Visual Studio2012 has also been added to Create better solutions.

 Q26: What’s the new App model?
Ans: 
SharePoint 2013 Introduces a Cloud App Model that enables you to Createapps.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.

 Q27: What kind of Apps Can Developed?
Ans: 
The Code for an app runs in different places, depending on where your app is hosted.They never run in the context of SharePoint Server, but they will run in the context of the browser or in the context of the hosted platform.You Can Develop three kind of Apps –
SharePoint-hosted apps, Provider-hosted and auto-hosted apps, Apps that have a mix of Components in SharePoint and in the cloud.

Q28: What’s new with Visual WebPart in SharePoint 2013?
Ans: 
A new Visual WebPart Template has been added to Visual Studio 2012 for Creating Visual Webparts for SharePoint 2013. In this new Template, both the User Control and WebPart Classes are merged to Create one template unlike SharePoint 2010 where you had a separate ascx and webpart file. Also, now you can Create both Sandbox and Farm solutions using Visual WebPart Template.

Q29: What’s the new TilesViewWebPart in SharePoint 2013?
Ans: 
SharePoint 2013 Introduces a new “Getting Started” WebPart that has “Tiles” to provide an easy access to some of the main links in the Site like – adding lists\libraries, Creatingmasterpageetc.To Programmatically Create this new WebPart a new abstract base class TilesViewWebPart has been added in SharePoint API.You have to Create a Custom Webpart and Inherit from TilesViewWebpart and Override GetTiles() to Create Custom tiles.

Q30: Can you Create & Deploy Sandbox Solutions in SharePoint 2013?
Ans: 
Sandbox Solutions are deprecated in SharePoint 2013.You can still Create them and deploy them but they are not supported by Microsoft.

Q31: Can we deploy Solutions Created in SharePoint 2010 in SharePoint 2013?
Ans:
 Yes. Most of the Solutions Should work fine but it is Recommended to Re-Create a Solution in Visual Studio 2012, Re-add all the features, Components and then deploy it to SharePoint 2013.

Q32: Why Would you Recommend Re-Creating Solutions?
Ans:
 SharePoint 2013 provides Support for both 14 Hive and 15 Hive.Both the directories are Created by default.So if you deploy a SharePoint 2010 Solution that refers to say _layouts folder, the reference will be made to 14 Hive and not 15 Hive by default. To make the solution refer to 15 Hive’s _layouts folder you need to Re-Create the Solution in Visual Studio 2012 and fix the _layouts reference to add ’15′ into it.
14 Hive – _/layouts/custompage.aspx, 15 Hive – _/layouts/15/custompage.aspx Notice the reference of 15 in _layouts folder reference.

Q33: How do you Force a Solution to be Deployed to 15 Hive and not 14 Hive?
Ans:
 If the solution was Created in Visual Studio 2010, you would add SharePointVersion=”15.0″ attribute in Solution’s manifest.xml file to force it to deploy in 15 Hive instead of 14 Hive.If the Solution, however, is Created in Visual Studio 2012, you don’t need to do anything, it gets deployed to 15 Hive by default.

Q34: How do you Deploy Solution to 14 hive or 15 Hive without modifying Solution.
Ans:
 In SharePoint 2013 with the new “CompatabilityLevel” parameter of Install-SPSolution cmdlet you can now Deploy your wsp Solutions to 14 hive, 15 hive or both.

Q35: Can you Deploy Master Page and Custom Css from SharePoint 2010 in SharePoint 2013?
Ans:
 Master Pages and Css has Changed a lot in SharePoint 2013.You can deploy a master page in Master page gallery but the styles from old core.css needs to be updated.

Q36: Can you use Fabulous 40 templates in SharePoint 2013?
Ans:
 As per MSDN, Microsoft is not Creating any New Versions of these Templates.The old Sites based on these templates Can be upgraded only if the Templates are Installed successfully in SharePoint 2013.You can try installing wsp of Fab 40 with CompatabilityLevel as 15 and upgrade the existing site collections.

Q37: Are there any Changes to Solutions deployed in \bin directory and GAC in SharePoint 2013?
Ans:
 You can no longer add partial trust Solution Packages to the \bin directory.Any files deployed to the \bin directory must be full trust. Any deployment scripts need to be updated to make sure that they specify the correct trust level. After the release of .NET Framework 4.0, the GAC was split into two, one for each CLR. c:\windows\assembly is the location for .NET versions 1.0 through 3.5 and c:\windows\microsoft.net\assembly is the location for all the dlls for project Created in .NET Framework 4.0.

Q38: How are Sandbox Solution Migrated in SharePoint 2013?
Ans:
 Sandbox Solutions are upgraded with the Content databases.

Q39: How would you a Migrate a Site Collection in SharePoint 2013?
Ans:
 1. Backup and Restore SharePoint 2010 Content database in your SharePoint 2013 farm.
2. Run Test-SPContentDatabasecmdlet to identify missing Components along with potential errors and related warnings. Check the upgrade log and deploy any missing components and re-run the cmdlet to verify.
3. Attach the Content database to the desired 
web application using Mount-SPContentDatabasecmdlet.
4. After successfully mounting the content database to 
web application, the site should be accessible in 14 mode.
5. Next, to Upgrade the site to 15 Hive, Navigate to SiteUpgrade.aspx page in Site Setting of your site collection.
6. Click on “Upgrade the Site Collection” button.
7. During the upgrade, The SiteUpgrade.aspx page shows the progress and provides a link to an upgrade log for troubleshooting purposes.
8. Site Collection Should now be accessible in 15 mode

Q41: What is 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.

Q42: What is SuiteBarBrandingDelegate delegate Control used for?
Ans:
 SuiteBarBrandingDelegate Delegate Control is responsible for displaying ‘SharePoint’ or ‘Office 365′ text on top left of the new SharePoint 2013 site (in the blue bar). This text can only be replaced by Overriding SuiteBarBrandingDelegate Delegate Control with a custom Custom Control Created using Visual Studio.

Q43: What is SuiteLinksDelegate delegate Control used for?
Ans:
 SuiteLinksDelegate Delegate Control is responsible for displaying Links “NewsFeed, SkyDrive and Sites” in the top right of the new SharePoint 2013 site (in the blue bar). These Links can be replaced by Overriding SuiteLinksDelegate Control using a Custom Control Created using Visual St

Q44: What is PromotedActions delegate Control used for?
Ans:
 PromotedActions Delegate Control is responsible for displaying Links “Share, Follow, SYNC, EDIT” in the top right below SuiteLinksDelegate Control. These Links can be replaced by Overriding PromotedActions Delegate Control using a Custom Control Created using Visual Studio.

Q46: What are Callout Popups in SharePoint 2013.
Ans:
 Similar to Dialog framework in SharePoint 2010, Microsoft has added a new Callout Popup framework to Create Hover Popups that you know as Preview Windows as well.This Notification\Tooltip\Help (whatever you call it..) Callout Popups can be fully Customized to add Custom Text & Actions for guiding End-users.For more details see The new Hover Over\Preview\Callout Popups in SharePoint 2013

Q47: Is Callout Popups a replacement to Dialogs in SharePoint 2013. Ans: No. Dialog Framework still exists.

Q48: Can we view PDF files in Callout Popups? Ans: Yes. A Custom Result type and Display template would be needed.

Q49: What’s the new “SPField.JSLink” property used for?
Ans:
 New “SPField.JSLink” property has been added to help specify any external JavaScript file Containing any Rendering logic for Out-of-Box or Custom field type.WithJSLink developers can now Control the Rendering (the presentation and validation) of any Field (Custom or Out-of-box) on List forms as well as in Views by simply adding a reference to an External or deployed JavaScript file.

Q50: What’s the new SPSecurityEventReceiver?
Ans:
 In SharePoint 2013, MS has added “SPSecurityEventReceiver” class to handle events for SharePoint Groups, Users, Roles and Permission Inheritance.For list of events that you can handle see SharePoint 2013 – New Event Receiver for Groups,Users,Roles,Inheritance


Q51: Can I turn off Social – Follow & Site Feed in SharePoint 2013?
Ans:
 Yes.You Can de-activate Follow & Social by disabling “Following Content feature” and “Site Feeds feature” on the Team site(in the written Order).By default, the Site feed feature on a team site is enabled.

Sunday, September 10, 2017

Pillars of SharePoint 2013

In this post, we will discuss five pillars of SharePoint 2013. Also, you can check out my previous posts on:

The five pillars are Share, Organize, Discover, Build & Manage.

1- Share:
SharePoint 2013 has lots of improvements towards social features, like Newsfeed which allows to view and post updated like twitter. Also new feature such as follow documents, sites or people.
SharePoint 2013 introduces community site, which allows to build rich discussion environment which has common features like ratings, search etc. Now in SharePoint 2013, you can embed video from external sources such as Youtube.


2- Organize:
Organize is another pillar of SharePoint 2013. SharePoint 2013 provides enhancement towards document libraries. Like in SharePoint 2013 you can drag and drop files to the SharePoint library and you can sync using SkyDrive Pro. Also there are few enhancements towards SharePoint list. Like in Task list timeline provides a visual representation of the task.


3- Discover:
Search has been enhanced for better results. Enhancement towards navigation, also now you can search with multiple repositories in the same search query. Also now you can search people based on their expertise.


4- Build:
In this area there are lots of enhancements provided by Microsoft. There are lots of enhancements towards workflow, new workflow architecture and also better experience towards designing workflows. SharePoint provided Apps which are very much useful. SharePoint 2013 provides a new application model that supports the development, installation, management, and use of apps.


5- Manage:

In SharePoint 2013, Security, site management and site upgrade have lots of enhancement. Also, SharePoint 2013eDiscovery feature has been very popular.

Saturday, September 9, 2017

SharePoint 2013/2010 Interview questions - Part 2

Q1: Can you deploy .wsp Solutions from SharePoint 2010 in SharePoint 2013?
Ans: Yes. SharePoint 2013 provides Support for both 14 Hive and 15 Hive. Solutions from SharePoint 2010 can be deployed in SharePoint 2013 either in 14 Hive,15 Hive or both. This can be done using the new “CompatabilityLevel” parameter of Install-SPSolution cmdlet with which you can now Deploy your wsp Solutions to 14 hive, 15 hive or both. For more Info see DEPLOY SHAREPOINT 2010 SOLUTIONS IN SHAREPOINT 2013

 Q2: Can you Create & Deploy Sandbox Solutions in SharePoint 2013?
Ans:
 Sandbox Solutions are depreciated in SharePoint 2013.You can still Create them and deploy them but they are not supported by Microsoft (not 100% sure about this though).

Q3: What is the new JS Link Property on SPField?
Ans: New “SPField.JSLink” property has been added to help specify any external JavaScript file Containing any Rendering logic for Out-of-Box or Custom field type.WithJSLink developers can now Control the Rendering (the presentation and validation) of any Field (Custom or Out-of-box) on List forms as well as in Views by simply adding a reference to an External or deployed JavaScript file.

Q4: 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 -
SuiteBarBranding
Delegate delegate Control    
SuiteLinksDelegate delegate Control   
PromotedActions Delegate Control


Q5: 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.

Q6: What’s the new App model?
Ans:
 SharePoint 2013 Introduces a Cloud App Model that enables you to Createapps.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.

Q8: What's new Mobility Feature in SharePoint 2013?
Ans: With the new mobility features in SharePoint 2013, you can create SharePointpowered mobile applications for Windows Phone using the new SharePoint phone application wizard template in Visual Studio. You can integrate new features introduced in SharePoint 2013, such as the Geolocation field type and “push" notifications from SharePoint Server, into your mobile applications.

Q9: What are new Apps for SharePoint?
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.

Q10: What are Callout Popups in SharePoint 2013.
Ans: Similar to Dialog framework in SharePoint 2010, Microsoft has added a new Callout Popup framework to Create Hover Popups that you know as Preview Windowsas well. This Notification\Tooltip\Help (whatever you call it..) Callout Popups can be fully Customized to add Custom Text & Actions for guiding End-users.For more details see The new Hover Over\Preview\Callout Popups in SharePoint 2013.

Q11: Is Callout Popups a replacement to Dialogs in SharePoint 2013.
Ans: No. Dialog Framework still exists.

Q12: Can we view PDF files in Callout Popups?
Ans: Yes. A Custom Result type and Display template would be needed.

Q13: Are there any Changes to Solutions deployed in \bin directory and GAC in SharePoint 2013?
Ans: You can no longer add partial trust Solution Packages to the \bin directory.Any files deployed to the \bin directory must be full trust. Any deployment scripts need to be updated to make sure that they specify the correct trust level. After the release of .NET Framework 4.0, the GAC was split into two, one for each CLR.
c:\windows\assembly is the location for .NET versions 1.0 through 3.5 and c:\windows\microsoft.net\assembly is location for all the dlls for project Created in .NET Framework 4.0.

 Q14: How are Sandbox Solution Migrated in SharePoint 2013?
Ans: Sandbox Solutions are upgraded with the Content databases.

Q15: What’s new with Visual WebPart in SharePoint 2013?
Ans: A new Visual WebPart Template has been added to Visual Studio 2012 for Creating Visual Webparts for SharePoint 2013. In this new Template both the User Control and WebPart Classes are merged to Create one template unlike SharePoint 2010 where you had a separate ascx and webpart file.Also, now you can Create both Sandbox and Farm solutions using Visual WebPart Template.

Q16: What’s the new TilesViewWebPart in SharePoint 2013?
Ans: SharePoint 2013 Introduces a new “Getting Started” WebPart that has “Tiles” to provide an easy access to some of the main links in the Site like – adding lists\libraries,Creatingmasterpageetc.To Programmatically Create this new WebPart a new abstract base class TilesViewWebPart has been added in SharePoint API.You have to Create a Custom Webpart and Inherit from TilesViewWebpart and Override GetTiles() to Create Custom tiles.

Friday, September 8, 2017

SharePoint 2013/2010 Interview questions - Part 1

Q. What are basic building blocks for SharePoint?
A. SharePoint Developer Building Blocks, which are the technologies that you use to build a SharePoint application.

Q. What is a SharePoint Application?
A. To summarize, SharePoint Server is a system with the following capabilities:
·         Sites – Web Sites both inside and outside the firewall.
·         Communities – Collaboration through wikis, blogs, and more.
·         Content – Enterprise Content Management (ECM) – Web Content Management (WCM) – Publishing Systems.
·         Search – SharePoint includes a search engine that you can customize for your needs.
·         Insights – Business Intelligence (BI).
·         Composite Applications – includes data access, user interface, processes, and infrastructure.

SharePoint is a scalable architecture that can be appropriate for a few user, or 100,000 employees of a large corporation.  For web sites outside of the firewall, SharePoint for Internet Services allows you to build scalable, flexible web sites that you can maintain with the ease of maintaining a SharePoint site.

Q. What are SharePoint capabilities?
A. 
- Sites 
- Communities
Content Publishing Systems 
- Web content management
- Enterprise content management 
- Search Insights 
- Composites Building Block Description

Q-1: What is new in SharePoint 2013 over SharePoint 2010?
A- There are various new features in SharePoint 2013 over SharePoint 2010. You can also check out some New Features in SharePoint. And also you can check a video tutorial on Benefits of SharePoint 2013.

Q-2: What are Apps in SharePoint 2013?
A- Apps for SharePoint are self-contained pieces of functionality that extend the capabilities of a SharePoint website. Check out more on Apps in SharePoint 2013.

Q-3: How to deploy .wsp Solutions from SharePoint 2010 in SharePoint 2013?
A- You can do this using the CompatabilityLevel parameter of Install-SPSolution cmdlet.

Q-4: Is it possible to create sandboxed solution in SharePoint 2013?
A- Sandbox Solutions are deprecated in SharePoint 2013, but still, you can create them. You can check out the limitation of Sandboxed solutions.

Q-5: What’s the new App model in SharePoint 2013?
A- SharePoint 2013 introduces a Cloud App Model that enables you to Create apps. Check out this article for more information.

Q-6: What are the hardware and software requirements for SharePoint 2013?
A- You can check a good article on SharePoint 2013 hardware and software requirements.

Q-7: What is Shredded Storage?
A- Shredded Storage is a new Feature Introduced in SharePoint 2013 where Documents and Changes to the Documents are stored as Shredded BLOBS.

Q-8: What are new event receivers in SharePoint 2013?
A- SharePoint 2013 has various new event receivers like SPSecurityEventReceiver. Check a good article on New features in Event Receivers in SharePoint 2013.

Q-9: What is new in Search in SharePoint 2013?
A- There are various new things introduced like FAST search is now combined, previously it was coming separately in SharePoint 2010. Check out more SharePoint 2013 search articles.

Q-10: What is OAuth used for in SharePoint 2013?
A- Oauth used to authorize requests by an app for SharePoint to access SharePoint resources on behalf of a  user and also Oauth used to authenticate apps in the Office Store, an app catalog, or a developer tenant.
You can check out more in this article.

Q-11: What are remote event receivers in SharePoint 2013?
A- Remote event receivers are introduced in Sharepoint 2013. It occurs to an item in the app, such as a list, a list item, or a web.

Q-12: What are Community Sites in SharePoint 2013?
A: Community sites are introduced in SharePoint 2013. Check out some benefits of SharePoint 2013 community sites.

Q-13: What is the Content Search Web Part?
A: Content Search Web Part displays content that was crawled and added to the search index. Check out a good article on Content Search Web Part.

Q-14: What are the new Delegate Controls in SharePoint 2013?
A- SharePoint 2013 introduced some new delegate controls like SuiteBarBrandingDelegate delegate Control, SuiteLinksDelegate delegate Control, PromotedActions Delegate Control etc.

Q-15: What’s new with Visual WebPart in SharePoint 2013?
A-: In SharePoint 2013, both web user control and the webpart class are merged into one template file in visual webpart. Check out this article on how to create a visual webpart in Sharepoint 2013.

Welcome to SharePoint Server 2019, a modern platform for choice and flexibility

“Without continual growth and progress, such words as improvement, achievement, and success have no meaning.” Benjamin Franklin Thi...