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
<xsl:call-template name="string(@status)"/> |
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
<xsl:if test="contains(@status,'test')"> | |
<xsl:call-template name="test"/> | |
</xsl:if> | |
<xsl:if test="contains(@status,'test2')"> | |
<xsl:call-template name="test2"/> | |
</xsl:if> |
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
<xsl:template name="test"> | |
<xsl:param name="Pos" select="position()"/> | |
<h1>test</h1> | |
<SharePoint:FormField runat="server" id="testfield1{$Pos}" ControlMode="Edit" FieldName="Title" __designer:bind="{ddwrt:DataBind('u',concat('testfield',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}"/> | |
</xsl:template> | |
<xsl:template name="test2"> | |
<xsl:param name="Pos" select="position()"/> | |
<h1>test</h1> | |
<SharePoint:FormField runat="server" id="testfield2{$Pos}" ControlMode="Display" FieldName="Title" __designer:bind="{ddwrt:DataBind('u',concat('testfield',$Pos),'Value','ValueChanged','ID',ddwrt:EscapeDelims(string(@ID)),'@Title')}"/> |
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
<xsl:stylesheet xmlns:x="http://www.w3.org/2001/XMLSchema" xmlns:d="http://schemas.microsoft.com/sharepoint/dsp" version="1.0" exclude-result-prefixes="xsl msxsl ddwrt" xmlns:ddwrt="http://schemas.microsoft.com/WebParts/v2/DataView/runtime" xmlns:asp="http://schemas.microsoft.com/ASPNET/20" xmlns:__designer="http://schemas.microsoft.com/WebParts/v2/DataView/designer" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" xmlns:SharePoint="Microsoft.SharePoint.WebControls" xmlns:ddwrt2="urn:frontpage:internal" xmlns:o="urn:schemas-microsoft-com:office:office"> | |
<xsl:include href="/_layouts/xsl/main.xsl"/> | |
<xsl:include href="/_layouts/xsl/internal.xsl"/> | |
<xsl:template name="FieldRef_body.Status" match="FieldRef[@Name='Status']" mode="body"> | |
<xsl:param name="thisNode" select="."/> | |
<xsl:choose> | |
<xsl:when test="$thisNode/@*[name()=current()/@Name] = 'Completed'"> | |
<img src="/_layouts/images/IMNON.png" alt="Status: {$thisNode/@Status}"/> | |
</xsl:when> |
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
Add-Type -Path "C:\Microsoft.SharePoint.Client.dll" | |
Add-Type -Path "C:\Microsoft.SharePoint.Client.Runtime.dll" | |
Function Ensure-Folder() | |
{ | |
Param( | |
[Parameter(Mandatory=$True)] | |
[Microsoft.SharePoint.Client.Web]$Web, |
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
$User = "[email protected]" | |
$PWord = ConvertTo-SecureString -String "tajnehaslo" -AsPlainText -Force | |
$Credential = New-Object -TypeName "System.Management.Automation.PSCredential" -ArgumentList $User, $PWord | |
#$UserCredential = Get-Credential | |
Connect-MsolService -Credential $Credential | |
$Groups = Get-MsolGroup -All | |
foreach ($Group in $Groups) | |
{ |
NewerOlder