This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 1.create State service service application | |
$serviceApp = New-SPStateServiceApplication -Name "State Service ServiceApplication" | |
# 2.create State service service application Database | |
New-SPStateServiceDatabase -Name "StateService_serviceApplication_Database" -ServiceApplication $serviceApp | |
# 3.create State service service application proxy | |
New-SPStateServiceApplicationProxy -Name "State Service ServiceApplication proxy" -ServiceApplication $serviceApp -DefaultProxyGroup |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Solution xmlns="http://schemas.microsoft.com/sharepoint/" | |
SolutionId="6d5938d4-718c-4557-a8b2-02f2e081390a" | |
SharePointProductVersion="14.0"> | |
<Assemblies> | |
<Assembly Location="SharePoint Product Version.dll" DeploymentTarget="GlobalAssemblyCache"> | |
<SafeControls> | |
<SafeControl Assembly="SharePoint Product Version, Version=1.0.0.0, Culture=neutral, PublicKeyToken=6fb9dacb5ba5cf05" Namespace="SharePoint_Product_Version.Projects_Webpart" TypeName="*" /> | |
</SafeControls> | |
</Assembly> | |
</Assemblies> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#load assemblies and powershell snapin | |
[System.Reflection.Assembly]::LoadWithPartialName("System.Drawing") | |
[System.Reflection.Assembly]::LoadWithPartialName("System.windows.forms") | |
Add-PSSnapin Microsoft.SharePoint.PowerShell | |
# end of loading assemblies | |
$form = new-object System.Windows.Forms.form | |
$form.Text = "Installed Apps in Host web" | |
#Textbox to enter Host web URL |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<table width="700" height="100" border="1" align="center" cellpadding="10"> | |
<tr border="0"> | |
<td height="10" colspan="2"><h2 style="text-align:center;color:blue"><a href="http://www.sharepoint-journey.com/" title="Learn SharePoint and Provide Solutions to Business Problems">Home</a</td> </tr> | |
<tr> <td width="233" align="left" valign="top"><h3 align="center"><a href="http://www.sharepoint-journey.com/sharepoint-tutorials.html" title="SharePoint Tutorials">Tutorials</a></h3> | |
<a href="http://www.sharepoint-journey.com/what-is-sharepoint.html" title="what is sharepoint ?">what is sharepoint</a><br /> | |
<a href="http://www.sharepoint-journey.com/sharepoint-features.html" title="sharepoint features">sharepoint features</a><br /> | |
<a href="http://www.sharepoint-journey.com/enterprise-search-configuration-in-sharepoint-2013.html" title="Enterprise search configuration in SharePoint 2013">search configuration in SharePoint 2013</a><br /> | |
<a href="http://www.sharepoint-journey.com/sharepoint-webparts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%@ Page language="C#" Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> | |
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> | |
<%@ Register Tagprefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> | |
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> | |
<WebPartPages:AllowFraming ID="AllowFraming" runat="server" /> | |
<html> | |
<head> | |
<title></title> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function helloAppPart() | |
{ | |
document.getElementById("AppPartmessage").innerHTML = "<p> My first AppPart </p>"; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<Elements xmlns="http://schemas.microsoft.com/sharepoint/"> | |
<CustomAction Id="9b3d1a59-78ca-45da-aa2c-4964e3f68c58.AppHost-RCA" | |
RegistrationType="List" | |
RegistrationId="100" | |
Location="CommandUI.Ribbon" | |
Sequence="10001" | |
Title="Invoke 'AppHost_RCA' action"> | |
<CommandUIExtension> | |
<!-- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<%-- The following 4 lines are ASP.NET directives needed when using SharePoint components --%> | |
<%@ Page Inherits="Microsoft.SharePoint.WebPartPages.WebPartPage, Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" MasterPageFile="~masterurl/default.master" Language="C#" %> | |
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> | |
<%@ Register TagPrefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> | |
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> | |
<%-- The markup and script in the following Content element will be placed in the <head> of the page --%> | |
<asp:Content ContentPlaceHolderID="PlaceHolderAdditi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready(function () { | |
var e = ExecuteOrDelayUntilScriptLoaded( | |
SearchStudents, | |
"sp.js"); | |
}); | |
function SearchStudents() { | |
$("#SearchStudentsDiv").show(); | |
} |