Friday, 4 August 2017

How to take Backup of WSP in SharePoint Server using PowerShell Script


Hello All, Today I am writing about How to take Backup of WSP in SharePoint Server using PowerShell Script.
WSP (Windows SharePoint Solution) WSP files are CAB files including all set of features and functionality, site definitions, services and other required custom availability. WSP files can be reuse and easily deploy to other SharePoint farms, in case if we have not configured Web Application URL under the same WSP.
Below are the steps to take backup file existing solution using SharePoint PowerShell:

·         Login to the server and run SharePoint PowerShell management Tool as Administrator.
·         Once PowerShell opened copy the below script and hit enter

$farm = Get-SPFarm
$file = $farm.Solutions.Item("Solutionname.wsp").SolutionFile 
$file.SaveAs("c:\Solutionname.wsp")


Once above command executed we can get wsp file on given file.

Thanks






Monday, 1 May 2017

How to change List and Document Library Web URL in SharePoint

Today I am going to write about “How to change List and Document Library Web URL in SharePoint
”, This is an important task which admin use to do.
Description: we have a requirement to change List or Doc library web URL, if we will try to change from the user interface, it won’t allow us to do the same. We can change List or Library name, it means we can rename the List or Library Name but it won’t effect for Web URL of the same List.
We can change List or Library Web URL using SharePoint Designer and use PowerShell. In case we have don’t have installed SPD in our local system, in that case, we can use PowerShell which will be default Available.
We are going to show how to Change the URL of a SharePoint list or library using PowerShell:
  • Default If we will open any List or Library it will be appended with List or Library name and be ending with aspx which is the extension.
  • We are creating new List and will perform PowerShell script to change Web URL in easy steps.
  • Create New List and you can see the List we URL will be List Name default, refer below screen shot:


  • If we will try to change the Same List URL using User interface, we could not find any option to do the same.
  • So now Open SharePoint Management Shell with Admin rights and update the below script as mentioned:
  •   In case if you are not using PowerShell management shell, then use the first line of code about Add-PSSnapin.
  • Very first Line of the script we will variable to store the Site or Subsite URL, in case if you are using Site Collection, use Get-SPSite instead of Get-SpWeb.
  • Then List name which you want to change the URL, once all done move to next line of code and enter the URL name which you preffer to change next to List/
Add-PSSnapin Microsoft.SharePOint.Powershell
$List = $List = $Web.Lists["Test for URL Changes"]
$List.RootFolder.MoveTo("/sites/ admin/search/Test_team/Lists/test")

Note: Make sure any white space should not take place.


  • Now we are ready with the script, we will execute the same Code to PowerShell, check the List URL.
  • After executing this script we can see the result, List web URL will get change, page view will not change only List Web URL will get change, refer below screen Shot:



Monday, 27 February 2017

Working with Images in a SharePoint Online

In this article, we will describe all about working with Images in a SharePoint Online.
Today, I am talking about Images in SharePoint and uses of the same, in this article I will be discussing shot about Picture library and we will have demo for various way to upload and add images in SharePoint Site pages.
  • About Picture Library
  • How to add Pictures in Library and Page with various ways

Let us start from one by one as said above:
About Picture Library:  It is inbuilt library from SharePoint online which enable us to share collection of digital pictures or graphics. We can upload images to picture Library from site such team site, Blogs, Wiki or other publishing site. We can Use the same images from anywhere in the same site collection and can access centrally. Picture Library is inbuilt Application and Web part for SharePoint online or On-premises from 2010 version. If we will see in the SharePoint site collection there will be three type of Image Library will be showing under the site contents page:
Picture Library
Wiki Page Library
Asses Library
Below is the screen shot for Picture Library from SharePoint Online:

How to add Pictures in Library and Page with various ways: In this section, I will describe more about how to add picture in the Picture Library or other page in the SharePoint Online in multiple ways.
Let us start one by one adding images in the SharePoint page:

  • Open any site page of SharePoint online, click on edit from the Ribbon and Page tab or left side edit option will be available, also can edit the page from site settings gearbox and select edit page. Below is the Screen shot for all above said option:
  • Now remove default, Get start web part and we will see how to add images here.
  • Click on Insert tab from SharePoint Online Ribbon page and click on Picture, it will get drop down option with three option: From Computer, From Address, From SharePoint
From Computer:  If we are selecting from computer option from insert image on SharePoint Online.
  • We need to browse and Upload Image from Local system. Select path by clicking on Browse option, check box for existing same name, and add new version for same name of image.
  • Select destination Library by default Site collection Image Library will be selected, you can select other Images from other available library drop down box.
  • Version Comment: write a comment and click on ok, see below screen shot for more details:

From Address: using this option we can copy any available image on the Internet and can insert to any of page.
Note: If copied Link image will be deleted from destination folder or URL, Image will be unavailable from inserted page.
  • To add from address click on Image drop down box and select add from address, one POP up box will get open paste url and enter alternative text and click on ok. See below result:

From SharePoint: We can upload images anywhere from available in the SharePoint site collection. From the same site collection we can use for any of Library page, subsite or others..
  • To add images from SharePoint option under the Image: click on the from SharePoint and it will open in new wizard of select an assets, Here select images from available library or enter URL within the same Site collection and click on Insert.
See below screen shot Result:
Above steps were from Insert Image option, now I will show some other way to upload or add images in SharePoint Online.
Copy and Paste: We can add image just by copy and paste option.

Adding Image from Web Part: we can add Image from web part available in SharePoint.
  • Just select Add web part and select Image Viewer from Media and contents and click on add.
  • Once web part will get added select web apart, edit the same web part and assign the image URL from saved path, click on Apply, and ok. See the Below Result and steps in the screen shot:
Adding Image from Web part called Picture Library slide show:  We can add images as slide show in the same page or Site.
  • Click on page or site and edit the same, click on add web part from insert tab and drop down for the media and content under this web part we can see the sub web part called Picture Library slide show is available just add this.
  • Once Slide show is added configure the by edit web part and assign the folder or path where many of images are uploaded.
Adding Images using Site App Part: We can add images to SharePoint site using App Part.

Adding Image Slide show from Apps in the SharePoint from SharePoint Store:
We can add image slide show from Apps also, this will be free version Just Navigate your site contents and select your SharePoint Store.
Search for Free Slider App, and click on Add it.

  • Just click on the app and add it to the site.
  • Once it will add will prompt us for Trust this app, click on trust this app and click on create App List from Site content:
  • List has been added, now we need to configure this App.

How to customize your SharePoint online (team Site)

In this article, we will learn about how to customise SharePoint Online team site.
Today, I am talking about “How to customize your SharePoint online (team Site)”, we have subscription from the Office 365 for SharePoint Application and by default we will get one of created site is called Team Site. Team site is to use for work together under the team, we can use the single platform to get together and update from each other using Team Site of SharePoint.
With office 365, we can use site to store documents and collaborate with employee any time and any device. To make most view-able our team site we need to customise the site for business need and make it as your own company web site.
Let us take a look of Office 365 team site, to get that click on Site under the App Launcher from Office 365. See below screen shot for the same:
By default on team site, we can below listed information and List added:
  • Logo
  • Description
  • Quick Launch includes with document, Notebooks, site contents, recent page
  • News feed
  • Documents
  • Get started with your site
Customise the Team site in your style:
Let us start from one by one, first choose your own logo and change description:
Below showing you how to change the Site Title, Logo, and description. We can modify this as per our customer requirement.
To change the Logo description and Site Title, follow these steps.
  • Log in to the site and click on "Gear Box" on the right side of the site.
  • Select Title, Description, and Logo under the "Look and Feel".
  • On the title description and logo wizard, we need to select and enter the details the below.
Title: Enter the Title for the site.
Description: Enter the description of the site.
  • On the Logo and Description
  • Insert Logo from Computer or from SharePoint and enter Logo Description. Add a document dialog, type or browse for the filename, and then click OK.

  • Once you are all done, click on OK. It will take us to the site settings page. Go to "Home" site page. Now, see the result.
Now have done with adding Logo, Site description and remaining; now you can check your site looks something better for your organization.
Moving to next, Let us customise the home page of Team site.
To customise your team site page, Click on Page tab from the top ribbon or click on setting page and edit the page, see below screen shot:
  • Remove unwanted web part from the page by selecting and right on the same and click on delete.
  • Select text Layout and select your own required layout from drop down box.
  • Just Add welcome Message on the Header box and Footer box and enter your welcome message
  • Once all done, create new  prompted List and add your all top listed data and URL with Images
  • Now add that Prompted List to Team site Home page, to do the same edit page and click on insert button from ribbon page and select app part.
  • Once clicked on App part, it will prompt us all created App part on the Site contents library, from here just choose created Prompted App part and add it.
We can do some more changes here from added App part as if we can hide the name from the page, we can change chrome type and many more here. Now Apply and ok and see the result:
  • Now we can see our page is changed from default, there is a lot more we can do here like we can change the Navigation, can add Quick Launch on this page and more.

From here we can do Lot of Customization of your site using Master page in case you want to change the Layout of Site Page.




All About Office 365 administrator roles & Type


In this article I am writing about all about office 365 administrator roles and type of Office 365
Today I'm writing about Office 365 rules types which comes under for office 365 when we are purchasing any new subscription from the same 
So last article I have written about the SharePoint admin roles and types below is the URL from where you can visit and learn more about the SharePoint admin roles semicolon space from the office 365 administrator we have various kind of roles:
As it is known for everyone Office 365 comes with a set of administrator roles that we can assign to user in our organization is administrator roles map to common business function and gives those people are employed permission to do a specific task for office 365 admin Centre Office 365 will have a lot of applications and for each and every application and they will be having their own administrator like Office 2013  administrator, Exchange Administrator, SharePoint Administrator, Project server Administrator etc……
Below are the description and screenshot for office 365 admin Centre roles and types basically we can see on the screen it will be showing 3 type of Rose the first user with no administrator permission , second Global administrator and third customized administrator
See the below screen shot:
  • To Access the Permission setting, click on Admin option from Office 365 Home page.
  • Select any user from the User> Active User and select user roles
  • We can make user as a Global Admin from here other said as above.

Let us describe about roles available for Office 365:

  • User (No Administrator access): assigned this role for user who should not be part of administrator or part of administrator.
  • Global administrator: The Global administrator of the Office 365 portal is also a SharePoint Online administrator. When we purchased Office 365, once we will login to the purchased tenants a team site is automatically created, and the Office 365 global admin is included as the primary Site Collection administrator for that site (if you wish to change the same we can change later also). Make sure we need to assign yourself (Administrator) a SharePoint Online license to access these services or you will receive an "Access Denied" message.
  • Customized Administrator: under this administrator role we have many of application which we can configure. See below screen shot:
  • Billing Administrator: responsible for marks purchases, manages subscriptions, manages support tickets, and monitors service health, below is the screen shot for the billing part in the Office 365.

  • Exchange Administrator: It role will manage mailboxes and anti-spam policies for our business, using the Exchange admin center. We can view all the activity reports in the Office 365 admin center. This role helps administer of Office 365, we can assign users permissions to manage your organization's email and mailboxes from the Exchange admin center. We do this by assigning them to the Exchange admin role.
  • Password administrator: Responsible for Resets passwords, manages service requests, and monitors service health. Password admins are limited to resetting passwords for users.
  • Skype for Business administrator: This role is configured for Skype Business for our organization and can view all the activity reports in the Office 365 admin center.
  • Compliance admin: Using for Manages security and compliance policies for our association.
  • Service administrator: By assigning this role to user can opens support requests with Microsoft, and views the service dashboard and message center. This is most important part for any of administrator because most of admin permission is still with MS support like checking ULS and many more. With this option we can raise request to MS and work with them to fix this issue.
  • User management administrator: Most of Management administrator task like assigned under this role of office 365 like Resets passwords, monitors service health, adds and deletes user accounts, and manages service requests.
Note: The user management admin can’t delete a global admin, create other admin roles, or reset passwords for global, billing, Exchange, SharePoint, Compliance and Skype for Business admins.
  • Microsoft Dynamics CRM Online: Global Administrator is having this application permission to control. There is no specific user role created for this service application.
  • SharePoint Administrator: Using SPO online admin account we can handle most of task given on the tenants, like creating site collection, creating and adding new App under the App catalogue site, we can manage the most important part of SharePoint called User profile, can do settings and more.
SharePoint Administrator use to manage the document storage for your business on SharePoint Online. We are doing this all task under the SharePoint admin center. They can also assign other people to be Site Collection administrators and Term Store administrators.
Key tasks of the SharePoint Online administrator
Below are the some of the tasks users assigned to the SharePoint Online admin role:
  • Create site collections
  • Manage site collections and global settings
  • Assign site collection administrators to manage site collections
  • Manage site collection storage limits
  • Manage SharePoint Online user profiles
Few other Application will be exist for customized administrator, it’s depend on your purchasing subscription, and the above all pointed administrator is common for Office 365.
Delegated administration: this is most important part for any application, sometime we need to give some specific permission to the user for time being, like we need to give administrator permission to the user for some time, for that time we can assign full administrator rights to the user, in that case we use called delegated administrator.