Posts

How to Save Site as Template in SharePoint 2013

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\tempfolder and later in the solution gallery on SharePoint. Make sure that the App pool account has Full permissions to c:\temp andc:\windows\temp folder. You Cannot Create a Subsite based on a Site Template that was Created in SharePoint 2010. You will ne...

Sharepoint 2013 interview Questions..

Important sharepoint interview Questions..... 1.What are Managed Accounts? 2.Migration from 2010 to 2013 3.Search Service App config and database. 4.Can a content be spread to 2 servers ? 5.What if I change server name after installtion of SP? 6.How to confiugre FBA? 7.What to do if Solution got stuck in deployment ? 8.Multiples Web Applications timer job causing performance issue 9.Web application with separate application pools. 10.Shredded Storage ? 11.How to install trust cerificates? 12.Take backup only Site Collection ? 13.Export list with content types ? 14.What is Managed Metadata Service and how to export ? 15.Content Authoring ? 16.How to combine sharepoint uls logs? 17.How many environments were there which you have worked on ? 18.To deploy solution which jobs needs to be started ? 19.How do you deploy designer workflow to production ? 20.I have deployed a solution with timer job having some modifications, changed code not working ? 21.How to export co...

Add attachment filed column in SharePoint custom list forms through SharePoint designer 2013

Image
Open the Custom Form (either it is edit or new item) in the SharePoint Designer 2010/2013. Identify the place and paste the following code in SPD.  <tr>      <td rowspan="2" width="190px" valign="top" height="50px">         <H3>            Upload Evidence         </H3>      </td>      <td valign="bottom" height="15" id="attachmentsOnClient">         <span dir="ltr">            <input type="file" name="fileupload0" id="onetidIOFile" size="56" title="Name" />         </span>      </td>   </tr>   <tr>   <td colspan="4">      <input id="attachOKbutton" type="BUTTON" onclick='OkAttach()' value="Upload" style="width: 12.8em; height: 2em"/>     ...

Get all column values based on a distinct column value from SharePoint list through rest api and json filters

<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script type="text/javascript"> $( document ).ready(function() { CreateNew(); }); function CreateNew() {     var listName = "UserProfile";         $.ajax({         url:_spPageContextInfo.siteAbsoluteUrl + "/_api/web/lists/getbytitle('" + listName + "')/items?$select=Location,UserTitle,PageAccessed",         type: "GET",         headers: {             "accept": "application/json;odata=verbose",         },         success: function (data) {             //alert(JSON.stringify(data.d.results));             var lookup = {}; var items = data.d.results; //var result = []; var divhtml='<ul>'; for (var item, i ...

Page edit problem in sharepoint.

This is very simple task, But if you know how to resolve it. Replace the layout folder with backup layout folder :) So please take backup daily.

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