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...