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
[System.Reflection.Assembly]::Load("System.EnterpriseServices, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a") | |
$publish = New-Object System.EnterpriseServices.Internal.Publish | |
$publish.GacInstall("mydllpath") | |
iisreset |
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 Inherits="Microsoft.SharePoint.Publishing.TemplateRedirectionPage,Microsoft.SharePoint.Publishing,Version=15.0.0.0,Culture=neutral,PublicKeyToken=71e9bce111e9429c" %> | |
<%@ Reference VirtualPath="~TemplatePageUrl" %> <%@ Reference VirtualPath="~masterurl/custom.master" %> | |
<%@ Register Tagprefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %> | |
<html xmlns:mso="urn:schemas-microsoft-com:office:office" xmlns:msdt="uuid:C2F41010-65B3-11d1-A29F-00AA00C14882"><head> | |
<title>Inicio</title> | |
<!--[if gte mso 9]><SharePoint:CTFieldRefs runat=server Prefix="mso:" FieldList="FileLeafRef,Comments,PublishingStartDate,PublishingExpirationDate,PublishingContactEmail,PublishingContactName,PublishingContactPicture,PublishingPageLayout,PublishingVariationGroupID,PublishingVariationRelationshipLinkFieldID,PublishingRollupImage,Audience,PublishingIsFurlPage,PublishingPageImage,PublishingPageContent,SummaryLinks,Art |
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
SELECT [DeletionTime] | |
,[Id] | |
,[SiteId] | |
,[InDeletion] | |
,[Restorable] | |
FROM [content_database_name].[dbo].[SiteDeletion] |
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
https://camljs.codeplex.com |
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
Use Set-SPEnterpriseSearchService -PerformanceLevel Reduced to reduce the CPU impact the search service | |
Modify the C:\Program Files\Microsoft Office Servers\15.0\Search\Runtime\1.0\noderunner.exe.config so that it can only consume X amount of RAM. Change the value at to any amount of RAM you like to contain the memory leak. | |
Do not forget to restart the search service so the modification could be effective. |
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
#add indexes to a field on a list | |
Add-PsSnapin Microsoft.SharePoint.PowerShell -ErrorAction SilentlyContinue | |
function IndexField($fieldName, $spList) | |
{ | |
$spField = $spList.Fields[$fieldName] | |
$spField.Indexed = $true | |
$spField.Update() |
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 Restore-SPUserInfo{ | |
[CmdletBinding()] | |
param( | |
[Parameter(Mandatory=$true, HelpMessage='data container url')] | |
[Alias('webUrl')] | |
[string]$url, | |
[Parameter(Mandatory=$true, HelpMessage='library template type id')] | |
[Alias('libraryTemplateType')] | |
[int]$templateType, | |
[Parameter(Mandatory=$false, HelpMessage='parent content type id for the data you want to process')] |
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 () { | |
var nCurrentFormData_SetFormData = CurrentFormData_SetFormData; | |
CurrentFormData_SetFormData = function () { | |
nCurrentFormData_SetFormData.apply(this, arguments); | |
//Your custom code here | |
} | |
})(); |
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 type 'DondeCompro.Data.Afiliado' cannot be serialized to JSON because its IsReference setting is 'True'. The JSON format does not support references because there is no standardized format for representing references. To enable serialization, disable the IsReference setting on the type or an appropriate parent class of the type. | |
System.Runtime.Serialization.Json.DataContractJsonSerializer.get_RootContract() | |
System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalWriteObjectContent(XmlWriterDelegator writer, Object graph) | |
System.Runtime.Serialization.Json.DataContractJsonSerializer.InternalWriteObject(XmlWriterDelegator writer, Object graph) | |
System.Runtime.Serialization.XmlObjectSerializer.WriteObjectHandleExceptions(XmlWriterDelegator writer, Object graph, DataContractResolver dataContractResolver) | |
System.Runtime.Serialization.Json.DataContractJsonSerializer.WriteObject(XmlDictionaryWriter writer, Object graph) | |
System.ServiceModel.Dispatcher.DataContractJsonSerializerOperationFormatter.Seri |
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
<system.serviceModel> | |
<!-- ... --> | |
<diagnostics> | |
<messageLogging logEntireMessage="true" logMalformedMessages="true" | |
logMessagesAtServiceLevel="true" logMessagesAtTransportLevel="true" /> | |
</diagnostics> | |
</system.serviceModel> | |
<system.diagnostics> | |
<sources> | |
<source name="System.ServiceModel" switchValue="Warning, ActivityTracing" |
OlderNewer