Steps to mount content Database in SharePoint using powershell commands Steps: 1) Backup the Source Machine of SharePoint Web Application content database from SQL Server. 2) Restore the Database Backup to Destination Machine in SQL Server (Database Name – “TestDB”). 3) Create a Web Application (Eg., http://Sharepoint:2018 ) in Central Admin (Note – Do not create site collection). 4) Extract All WSPs from Source Machine. 5) Deploy all WSPs to Destination Machine globally in Central Admin. 6) Remove content database for created Web Application (Eg., http://Sharepoint:2018 ). 7) Test the content database by use following script in Management Shell. a. Test-SPContentDataase –name “ TestDB ” –WebApplication “ http:// ...
Posts
Showing posts with the label SharePoint Administration
Hide SpRibbon sharepoint 2010 for different user permissions
- Get link
- X
- Other Apps
By
Silambarasan A
-
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...
Sharepoint Powershell commands:
- Get link
- X
- Other Apps
By
Silambarasan A
-
Sitecollection Backup and Resore Backup site collection: Backup-spsite <site url> -path c:\samp\pol.bak Restore site collection: Restore-spsite <site url> -path c:\samp\pol.bak (use new blank page to restore other wise type -force) Web Backup and Restore Backup web: Import-spweb <site url> -path c:\path Restore web: Export-spweb <site url> -path c:\path Restore toplevel site to subsite Export : stsadm -o export -url <fullurl which u want to export> -filename <location:filename.dat> Import : stsadm -o import -url <destination url> -filename <location where u stored.dat file> Feature and solution installation (first copy the wsp file from documents ms sharepoint 2010 to target computer c drive) Install solution: Add-spsolution c:\solutionFile.wsp Install-spsolution -identity solutionFile.wsp...
Item-level Permissions For SharePoint List
- Get link
- X
- Other Apps
By
Silambarasan A
-
Item-level Permissions For SharePoint List Now you can add permission for each item in a list item,That can be only editable by who create that item.Or we can add only read permission for each item in Sharepoint But Keep in mind that user should not have more than contributor Permission level Steps Go to List settting . Go to Advance setting . In advance setting we have " Item-level Permissions " as one of option. This option have two sub options . For Read Accesss select " Read items that were created by the user " For Create and Edit access select " Create items and edit items that were created by the user " Save the above settings. Below is the screen shot for above mentioned setting: Please see this Link For More Details
Versioning in SharePoint :
- Get link
- X
- Other Apps
By
Silambarasan A
-
Versioning in SharePoint : Versioning is a process of maintaining history in SharePoint. When the users editing the doc/items, a version of the document will be created. We can see who are all the users edit that item/document and also we can see all versions of the document Steps to Enable Versioning : Versioning will not automatically enable in SharePoint.To enable that do the following steps Go to Library settings->General Settings->Versioning Settings-> 1.Require chedk out=yes 2.Document Version History = Create major versions 3.Content Approval = yes Here im going to explain about this 3 points 1.checkout /checkin as require feature : It is used to preventing any changes made by other users...
User cannot Login to sharepoint 2010 even the user was already in AD and SharePoint Site
- Get link
- X
- Other Apps
By
Silambarasan A
-
User cannot Login to sharepoint 2010 In SharePoint some time you may face this kind of problem(i.e you cant login to sharepoint). In my case I added some users in Active Directory, and added same user to the SharePoint site.But when i am trying to sign in as a different user,i'm trying with the newly added user, i cant login to the site, it asks the username password again and again. Some Solution : 1.You may try iisreset and sql server reset options,that may be work. 2.You can start userprofile synchronization in central admin. Solution for my problem : Go to the Active Directory, and double click the particular user->go to the Accounts tab-> and click on Password Never expires(uncheck all other item here)->click ok Now go to your SharePoint site,try to log in, now you may log in to your site.
Remove space between web parts sharepoint 2013
- Get link
- X
- Other Apps
By
Silambarasan A
-
Remove space between web parts sharepoint 2013 Open your web part page and click edit in Sharepoint Designer,you can see this option below the edit page In SharePoint Designer page Click Edit Advance Mode Find the first <table tag and paste style="border-spacing:0px!important" this inside the tag Now save and go to your web part page. That space between web parts are reduced.
Content type in SharePoint 2010 :
- Get link
- X
- Other Apps
By
Silambarasan A
-
Content type in SharePoint 2010 : Content types are reusable component, they are not specific to any list or library or page layout. A Content type is a group of site columns (or metadata), workflows and other settings for the item in the list or document in document library or for SharePoint page. Content Type represents group of information with common properties. For example, you are maintaining group of Resume type documents and other normal documents.So you can have a separate Content Type for that Resume type documents.And separate content type for other documents. In simple words : To know extra information of Type of the content which we upload . it is not same as file type. Its a kind of meta data. Like attaching labels to the files. ex-1 one file type diff content type a word file can have 1.resume 2.busi...
Timer Jobs in SharePoint 2010
- Get link
- X
- Other Apps
By
Silambarasan A
-
Timer Jobs in SharePoint 2010 What is a Timer Job ? A Timer Job is a periodically executed task inside SharePoint Server. It provides us a task execution environment. For example, we can execute tasks like: update list item everyday, send email every hour Default Timer Jobs Inside Sharepoint: There are many timer job s inside SharePoint which do internal tasks like: Send emails Validate sites Delete unused sites Health analysis Product versioning Diagnostics These tasks will having execution periods like: Minute Hour Day Week Month see this link for more details Here I will explain how to create a SharePoint timer job using visual studio.Do the following steps. Step 1 : Open visual studio->New Project->SharePoint-> Empty SharePoint Project->Give Project name(here I gave as TimerJobExample )-> click Next-...