Posts

Download Deployed Solutions (WSP) from Central Admin with PowerShell in SharePoint 2013

$FolderPath =  "c:\Solutions"    foreach ($solution  in  Get-SPSolution)   {      $id = $Solution.SolutionID      $title = $Solution.Name      $filename = $Solution.SolutionFile.Name      $solution.SolutionFile.SaveAs( "$FolderPath\$filename" )   }

How to Save Site as Template in SharePoint 2013

Image
In SharePoint 2013 Sites are Saved as Template in the same way as in earlier versions but there are some steps that you need to consider before moving forward. Important things to know about Saving Sites as Template – In SharePoint 2013, by default, you Cannot Save a Publishing Site (or a Site with Publishing feature activated) as a Site Template.This however Can be done using a workaround (i.e. using _layouts/savetmpl.aspx url). See this detailed post onHow to Save Publishing Site as Template in SharePoint 2013 As in SharePoint 2010 Saving Sites as Template does not generate a .stp file, it gets saved as a .wsp in Solutions gallery. When Saving a Site as Template the WSP generated is temporarily saved in the  c:\temp or in c:\windows\temp folder and later in the solution gallery on SharePoint. Make sure that the App pool account has Full permissions to  c:\temp  and c:\windows\temp  folder. You Cannot Create a Subsite based on a Site Temp...

Hide Quick Launch\Left Nav using “Focus on Content” in SharePoint 2013

In the new UI of SharePoint 2013, there is a new button in the top Sharing bar called “Focus on Content” which lets you highlight the Content area by hiding the quick Launch or Left Nav on the page. All you have to is click on the rectangular button with tooltip Focus on Content on a page and that will hide the quick launch. Here is the Before-After for clear picture. Before After One of the things to note is that if the user clicks on Focus on Content and comes back after leaving the page the setting remains intact.

WORLD CLOCK FOR O365 SHAREPOINT AND SHAREPOINT

Image
  For JS and CSS files please share your E-mail id in comments.  <!doctype html> <html>     <head>         <title>punditsClocksGMT</title>                       <script type="text/javascript" src=".../jquery-1.3.2.min.js"></script>         <script src="../js/punditsClocksGMT.js"></script>         <script src="../jquery.rotate.js"></script>         <link rel="stylesheet" href="../js/punditsClocksGMT.css">                 <style>             body { font-family: Arial, sans-serif; }       ...

How to hide Sharepoint List columns from Display form with powershell commad

[System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint”) $url = "url of your site"; $list = "List Name"; #list name $fieldname = "Person";  # Field name #Setting up context $contextSite = New-Object Microsoft.SharePoint.SPSite($url); $contextWeb = $contextSite.OpenWeb(); $list = $contextWeb.Lists.TryGetList($list); $field = $list.Fields[$fieldname]; # Controls Field in New Form $field.ShowInDisplayForm = 0;  #3 if you want to show then run again with 1 instead of 0 (1= true , 0=flase) # Don't forget to update this field $field.Update(); # And finally dispose everything. $contextWeb.Dispose(); $contextSite.Dispose()

What is SharePoint?

SharePoint was born out of a simple idea: “Sharing Documents”. Microsoft developed family of software products called “SharePoint”, to perform features like File Sharing, Collaboration, and Web Publishing. In simple terms, SharePoint acts as the single platform to share, communicate, store, and collaborate the content, documents, and records