Tuesday, 19 August 2014

Could not load user profile SharePoint 2013


After creating My Site when the user try to browse the site.Getting the error "Could not load user profile"

In my case Issue resolved follow the steps

Central Admin->Application Management->Under Service Applications->Click on Configure service application associations

Click on the Appliction Proxy Group->default->Uncheck the User Profile Service Application Click ok.

Again Check the User Profile Service Application Click Ok.

Now check it will works.........

SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM

Friday, 8 August 2014

How to enable anonymous access in SharePoint 2013

When we enable anonymous access to a website, you allow anonymous users (and authenticates users who have not been granted access to the site).
Go to->Central Administration->Application Management->Manage Web Applications

Select the web application for which you need to enable anonymous access

                          

Click on the Authentication Providers
                           

We can see the Membership Provider Name as “Claims Based Authentication”
Click on the Zone Default
                                 
Select Enable anonymous access
 Click on Save
Once you enable at webappliation level then we have to do it at site level
Go to Site Settings->Site Permissions
                                    
Top Ribbon Click on Anonymous Access


 There we can see the three options like
1)Entire Web Site
2)List and Libraries
3)Nothing

By default I will select nothing
Now I am selecting the Entire Website we can able to access the entire site.
Click on OK.


Once we select the Entire Website, will show in the permission like Group Name as Anonymous Users and permission level is for entire web site.




Now Anonymous Users able to browse the Site I will show with Sign In.




SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM

Monday, 4 August 2014

Hiding Sites,Sky drive and NewsFeed from SharePoint 2013 Sites

If we want to hide the Sites,Sky drive and NewsFeed in SharePoint 2013


Navigate->Central Admin->System Settings->Farm Management->Manage farm features
Click on the Manage farm features there we can able to see the "Social Tags and Note Board Ribbon Controls" Feature in Active State as shown in the Image



                 Once we deactivated the Feature Social Tags wont available.
If we want to enable the Social Tags Ribbon Controls we have to activate this feature.

SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM

Friday, 1 August 2014

How to delete a list in SharePoint Using PowerShell

Some times we are unable to delete the correpted list and also we are unable to delete the list from SharePoint User Interface.
using Power Shell we can delete the List

    $web = Get-SPWeb -Identity "Your SiteName"
    $list = $web.lists["Your list name"]
    $list.AllowDeletion = $true
    $list.Update()
    $list.Delete()

SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM

A list, survey, discussion board, or document library with the specified title already exists in this Web site. Please choose another title.



Go to Site Content and see if the library or list exists with same,if it is,delete it.
If you are unable to see it there open the site in sharepoint designer see if the list or library having the same name delete it.

Please make sure while deleting exact name..
Hit F5
Now it will works to Create a list or library

SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM

Tuesday, 22 July 2014

How to get the template name in sharepoint using powershell

Sometimes in Production we want to know the template name for the current site you are using.
Using below Power Shell we can find the Template name easily.

$currentweb = Get-SPWeb  http://DotNetSharePoint:1234/sites/Sharepoint
write-host "Web Template:" $currentweb.WebTemplate " | Web Template ID:" $currentweb.WebTemplateId
$currentweb.Dispose()

OutPut:Web Template: STS | Web Template ID: 1 // For Team Site

Site Template ID with Name:
0 - GLOBAL (SetupPath=global) - "Global template"
1 - STS - "windows SharePoint Services Site", "Team Site", "Blank Site", "Document Workspace"
2 - MPS - "Basic Meeting Workspace", "Blank Meeting Workspace", "Decision Meeting Workspace", "Social Meeting Workspace", "Multipage Meeting Workspace"
3 - CENTRALADMIN - "Central Admin Site"
4 - WIKI - "Wiki Site"
7 - BDR - "Document Center"
9 - BLOG - "Blog"
20 - SPS (OBSOLETE) - "SharePoint Portal Server Site"
21 - SPSPERS - "SharePoint Portal Server Personal Space"
22 - SPSMSITE - "Personalization Site"
30 - SPSTOC (OBSOLETE) - "Contents area Template"
31 - SPSTOPIC (OBSOLETE) - "Topic area template"
32 - SPSNEWS (OBSOLETE) - "News area template"
33 - SPSNHOME (SubWebOnly) - "News Home template"
34 - SPSSITES - "Site Directory area template"
36 - SPSCOMMU (OBSOLETE) - "Community area template"
38 - SPSREPORTCENTER - "Report Center Site"
39 - CMSPUBLISHING (SetupPath=SiteTemplates\PUBLISHING) - "Publishing and Team Collaboration Site"
40 - OSRV (SetupPath=SiteTemplates\OSRV) - "Shared Services Administration Site"
47 - SPSPORTAL - "Corporate Intranet Site"
50 - SRCHCEN - "Search Center"
51 - PROFILES - "Profiles"
52 - BLANKINTERNETCONTAINER - "Internet Presence Web Site"
53 - BLANKINTERNET - "Publishing Site", "Press Releases Site", "Publishing Site"
54 - SPSMSITEHOST - "My Site Host"
90 - SRCHCENTERLITE (SetupPath=SiteTemplates\SRCHCENTERLITE) - "Search Center Lite"
6221 - PWA (SetupPath=SiteTemplates\PWA) - "Project Web Access Site"
6215 - PWS (SetupPath=SiteTemplates\PWS) - "Project Workspace"
14483 - OFFILE - "Records Repository", "Records Repository"

Reference Template ID's from  http://social.technet.microsoft.com/

SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM

Saturday, 5 July 2014

Backup and Restore List in SharePoint Using PowerShell

Some times we have to take the Backup for List with data form one site collection to another site collection  using power shell, we can do our task simply
I am having a list with name "DotNetSharePoint" we have to refer the List with /Lists/YourListName.

Taking Back Up List from One Site Collection
Export-SPWeb "Site Url" -itemurl "/Lists/YourListName" -Path "YourPath"
Example:
Export-SPWeb -Identity "http://SharePoint:6789/sites/DotNet" -Itemurl "/Lists/DotNetSharePoint" -Path "c://DotNetSharePoint.cmp"

Restoring the Backup List to Another Site Collection.

Import-SPWeb -Identity "Site Url" -Path "YourPath" -force
Example:
Import-SPWeb -Identity "http://DotNetSharePoint:1234/sites/SharePoint" -Path "c://DotNetSharePoint.cmp" -force

"-force"  is used to overtire the existing list having the same name.

SharePoint Online Real Time Training Contact: JLAKSHMITULASI@GMAIL.COM