Posts

Showing posts from November, 2013

Site Collection Administrator vs Site Owner (Full Control) in SharePoint

Image
SharePoint Server (system?) Administrator  – responsible for the physical servers, software installation, backup, etc. SharePoint Site Collection Administrator  – the user responsible for the entire site collection , has access to Site Collection wide features in several places including Site Settings. SharePoint Site Owner  – a user with “full control” rights to a single site , it’s lists, libraries and content, and any sub sites and workspaces created below it.  I.e. responsible for a “branch” of a site collection.  Here's a list of what the Site Collection Administrator can see that the Site Owner (Full Control user) can not:  Site Actions -> Site Settings -- Users and Permissions   ---- Site collection administrators (only an option when at a top level site)  -- Galleries   ---- Workflows  -- Site Administration   ---- Content and structure logs  --  The entire Site Collection Administration column...

Advantage of PowerShell

Windows PowerShell is a command-line shell and scripting language that  provides an administrator full access  to applicable application programming interfaces ( APIs ). Administrators  can interact directly  with SharePoint 2013 to manipulate web applications, site collections, sites, lists and much more. In addition, an administrator can script cmdlets (pronounced "command-lets"). Advantage Without using PowerShell, you may limited to the use the GUI of Central Administration, SharePoint Designer and Site Settings. There are a number of features that you simply can't use without running PowerShell because there is no GUI support for those features.

load vs loadquery && ExecuteQuery vs ExecuteQueryAsync in sharepoint

Load  Load() populate the client object directly with what it gets data from the serve r i.e. a sollection eg. ListItemCollection. Means Load() returns ListCollection. LoadQuery LoadQuery() returns the data as a new collection in IEnumerable format . LoadQuery() is flexible than Load() when you are working with more than one query(i.e More than one list) because LoadQuery() returns data in IEnumerable<> format which is easy to acces. Load LoadQuery Load method populates the data whatever it gets from the server. Note: Mostly it is Useful for get single list LoadQuery method populates the data in completely new object of the type – IEnumerable  Note: Mostly it is Useful for multiple list Example : Var List = ClientContext.Web.Lists.GetByTitle("ListName"); ClientContext.Load(List); ClientContext.ExecuteQuery(); Example : IEnumerable ListCollection = ClientContext. LoadQuery (ClientContext.Web.Lists); ClientContext.ExecuteQuery(); Object is loaded into ClientCo...

SharePoint 2010 API (Application Programming Interface)

( API ) specifies how some software components should interact with each other Microsoft SharePoint 2010 provides three sets of APIs The server-side object model The managed client object model Web services Deciding Which SharePoint 2010 API to Use Each API has advantages and limitations that you need to understand before you begin planning and developing custom solutions.  For example, the server-side object model provides the most extensive set of options for developing customizations, but it can be used only on computers that are running a version of SharePoint 2010. See this link for more details

What are Site Columns?

 Its a central, reusable column definition.  A site column can be used across sub sites or lists inside the site collection. See this codeproject link to know more

Which is better, CAML query or LINQ query in SharePoint 2010 ?

Collaborative Application Markup Language  ( CAML ) vs  Language-Integrated Query ( LINQ ) CAML is always better than LINQ because if you write LINQ query then finally it converts in CAML internally so it down the performance. Of course there is other advantages of LINQ like: Sorting/filtering/can return objects / Most imp part, it is object oriented etc. LINQ Example: site.Load(Groupcoll, groups => groups.Include(group => group.Users)); CAML Query Example: <View>   <Query>     <Where>       <BeginsWith>         <FieldRef Name="ContentTypeId" />         <Value Type="ContentTypeId">0x010200</Value>       </BeginsWith>     </Where>   </Query>   <ViewFields>   </ViewFields>   <RowLimit Paged="TRUE">214748364...

Hide SpRibbon sharepoint 2010 for different user permissions

                Some times you may want to hide the SharePoint ribbon for some users who is having lower permissions.For that You need to do some modifications on master page.See the following steps  We can  hide it from everyone except the users who have Full Control. Step 1: Open your master page and find <div id="s4-ribbonrow" tag Then you need to add a new tag, which will hold the above tag.See the following code < SharePoint:SPSecurityTrimmedControl   PermissionsString = "ManagePermissions"   runat = "server "> < div   id = "s4-ribbonrow"   class = "s4-pr s4-ribbonrowhidetitle" >     <!-- Ribbon code appears here... -->   </ div > </ SharePoint:SPSecurityTrimmedControl > Here PermissionsString=" ManagePermissions " is a permission level which you need to add in SharePoint site and then give the permission levels to groups So people who are all having...

Key Performance Indicators KPIs [SharePoint]

KPI(Key Performance Indicators) is a visual aid to help to represent the progress status KPI is a visual aid to help communicate the progress achieved towards an already specified goal. These are of relevant importance to managers and teams which work in the business sector since by the means of KPI one can evaluate the amount of progress made towards achieving a goal.   KPI Styles In order to make use of KPIs, one needs to decide from where the data is going to be achieved:   From SharePoint lists : used to keep track of totals (ex total number of sales or how long it has taken a person to finish up a project phase). It is also used to count items that are found in a workflow or contains dates and/or to calculate the completion percentage of a task. From SQL Server 2005 Analysis Services : a system administrator or database analyst sets up these KPIs and then registers the data connection with SP service. From manually entered information : this is us...

Excel Services in SharePoint

             Excel Services are one of the cool features that we have in SharePoint Server, Which allows us to  manage Microsoft Office Excel 2007 workbooks (.xslx, xslb) in sharepoint site. How do we set up Excel Services in MOSS 2007? For that we need to go to Open Central Admin -> Operations ->  Services  on Server, then Start the  Excel  Calculation Service on the server There wee need to add Trusted file location(Our sharepoint site link or library link) How to use: In sharepoint site add   Excel  Web Access is a webpart, and choose excel file from your library. If this WebPart is not in your list then activate the “Office  SharePoint  Server Enterprise Site Features” feature. see this link for code project link see this link for msdn link Other link for excel service quick introduction

Publishing features (SharePoint Server 2010)

SharePoint  Publishing feature  includes a set of features that enables you to author and publish rich webpages for your intranet or internet Publishing in SharePoint Server 2010 consists of two separate features.  The SharePoint Server Publishing Infrastructure feature provides publishing functionality at the site collection level The SharePoint Server Publishing feature provides publishing functionality at the site level.  SharePoint Server Publishing Infrastructure features publishing features will enabled the following features. Site templates the following publishing site templates are added Publishing Site Publishing Site with Workflow Enterprise Wiki Groups and permission levels When you enable the SharePoint Server Publishing Infrastructure feature, other groups and permission levels are added to the site collection. The following groups are added to the site collection: Approvers Designers Hierarchy ...

SharePoint Client Object Model All Posts

Add update and delete list items programmatically in sharepoint-client object model get list items in sharepoint 2010 c# using client object model: sharepoint add lookup field programmatically-client object model how to get lookup field values in sharepoint using silverlight How to retrieve multiple lookup values from sharepoint using silverlight Add multiple lookup field programmatically sharepoint 2010-client object model How To Insert FieldUser Value in Sharepoint using silverlight(Client object model) How To Retrive FieldUser Value in Sharepoint using silverlight how to get all users in sharepoint group using silverlight Get current loggedin user using silverlight client object model Get sharepoint document library programmatically using Client Object Model  Upload A File To SharePoint Library Using Silverlight (Client Object Model) Get SharePoint Groups a user is member of using SharePoint Client Object Model(silverlight & web service) Get Sharepoint Users...

SharePoint interview concepts:

1. what is sharepoint? 2. SharePoint Security Levels(Roles in SharePoint) 3. SharePoint architecture & (WebApplication vs SiteCollection vs Sites) 4.. Site Definition VS Site Template 5.. Classic Mode vs Claims Based Authentication 6.. SharePoint Client Object Model VS Server Object Model 7.. What is web Part? 8.. What is SharePoint Workflows? 9.. What is List? and What is Library in SharePoint? 10. BCS vs BDC in SharePoint : 11. What is Content type in SharePoint 2010? 12. What is InfoPath? 13 . What is SharePointDesigner? 14. What is breadcrumb in sharepoint? 15. File extensions used in SharePoint: 16. How to add a Permission to a list item that can be editable by who create that item? 17. What is timer Jobs in SharePoint? what class we use in timer job? 18. What is event receivers in sharepoint? 19. What is SharePoint Feature? 20. What does mean Out of the Box in SharePoint 2010 ? 21. Publishing features (SharePoint Server 2010) 22. Excel Services in SharePoint 23. Key Perfo...