This file contains hidden or 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/"> | |
<!-- Parent ContentType: Item (0x01) --> | |
<ContentType ID="0x01000bc0b06140de4019aa00b227a8d5a35c" | |
Name="IncidentDetailsCT" | |
Group="Custom Content Types" | |
Description="My Content Type" | |
Inherits="TRUE" | |
Version="0"> | |
<FieldRefs> |
This file contains hidden or 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/"> | |
<Field Type="Choice" | |
DisplayName="Incident Type" | |
Required="FALSE" | |
EnforceUniqueValues="FALSE" Indexed="FALSE" | |
Format="Dropdown" | |
FillInChoice="FALSE" | |
ID="{bbbc46bb-5217-473a-b522-6761d0d997cf}" | |
StaticName="IncidentType" |
This file contains hidden or 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
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> | |
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %> | |
<%@ 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="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %> | |
<%@ Import Namespace="Microsoft.SharePoint" %> | |
<%@ Assembly Name="Microsoft.Web.CommandUI, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> | |
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="FirstApplication.aspx.cs" Inherits="Application.Layouts.Application.FirstApplication" DynamicMasterPageFile="~masterurl/default.master" %> | |
<asp:Content ID= |
This file contains hidden or 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
using System; | |
using System.ComponentModel; | |
using System.Web.UI.WebControls.WebParts; | |
using System.Data; | |
using Microsoft.SharePoint; | |
namespace First_VisualWebPart.VisualWebPart1 | |
{ | |
[ToolboxItemAttribute(false)] | |
public partial class VisualWebPart1 : WebPart | |
{ |
This file contains hidden or 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
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %> | |
<%@ Assembly Name="Microsoft.Web.CommandUI, 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="asp" Namespace="System.Web.UI" Assembly="System.Web.Extensions, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" %> | |
<%@ Import Namespace="Microsoft.SharePoint" %> | |
<%@ Register Tagprefix="WebPartPages" Namespace="Microsoft.SharePoint.WebPartPages" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> | |
<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="VisualWebPart1.ascx.cs" Inh |
This file contains hidden or 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
<script type="text/javascript"> | |
if(typeof jQuery=="undefined"){ | |
var jQPath="http://ajax.googleapis.com/ajax/libs/jquery/1.3.1/"; | |
document.write("<script src='",jQPath,"jquery.min.js' type='text/javascript'><\/script>"); | |
} | |
</script> | |
<script> | |
jQuery.noConflict(); | |
jQuery(document).ready(function(){ |
This file contains hidden or 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
Token Cache: Failed to initialize SPDistributedSecurityTokenCache Exception: 'System.InvalidOperationException: SPDistributedCachePointerWrapper::InitializeDataCacheFactory - No cache hosts are present or running in the farm. | |
at Microsoft.SharePoint.DistributedCaching.SPDistributedCachePointerWrapper.InitializeDataCacheFactory() | |
at Microsoft.SharePoint.DistributedCaching.SPDistributedCache..ctor(String name, TimeSpan timeToLive, SPDistributedCacheContainerType containerType, Boolean encryptData) | |
at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCache..ctor(String name, TimeSpan timeToLive, SPDistributedCacheContainerType containerType, Boolean encrptyData, TimeSpan minimumTokenExpirationWindow) | |
at Microsoft.SharePoint.IdentityModel.SPDistributedSecurityTokenCacheInitializer.Init(Object state)'. |
This file contains hidden or 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-16"?> | |
<Model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" Name="NorthwindModel" xmlns="http://schemas.microsoft.com/windows/2007/BusinessDataCatalog"> | |
<LobSystems> | |
<LobSystem Name="Northwind" Type="OData"> | |
<Properties> | |
<Property Name="ODataServiceMetadataUrl" Type="System.String">http://services.odata.org/Northwind/Northwind.svc/$metadata</Property> | |
<Property Name="ODataServiceMetadataAuthenticationMode" Type="System.String">PassThrough</Property> | |
<Property Name="ODataServicesVersion" Type="System.String">2.0</Property> | |
</Properties> | |
<AccessControlList> |
This file contains hidden or 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/"> | |
<BdcModel Path="External Content Types\BDCMetadata.bdcm" /> | |
</Elements> |
This file contains hidden or 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/"> | |
<ListInstance Url="Lists/Employees" Description="Employees" OnQuickLaunch="TRUE" Title="Employees"> | |
<DataSource> | |
<Property Name="LobSystemInstance" Value="Northwind" /> | |
<Property Name="EntityNamespace" Value="NorthwindModel" /> | |
<Property Name="Entity" Value="Employees" /> | |
<Property Name="SpecificFinder" Value="ReadSpecificEmployee" /> | |
<Property Name="MetadataCatalogFileName" Value="BDCMetadata.bdcm" /> | |
</DataSource> |