Article archive

Correct xsl links for web part in page layout (after deployment)

20/07/2012 23:33
#file is already downloaded in c:\temp #input parameters $siteUrl="https://localhost/sites/events" $srcPath="c:\temp" $fileName="NewsLayoutDetails.aspx" #"chamEventPageLayout.aspx" function GetSiteFromUrl(    ...

Add site url to XslLinks

19/07/2012 22:59
  #input parameters $siteUrl="https://localhost/sites/events" $srcPath="c:\temp" $fileName="BannerWebpart.webpart"   function GetSiteFromUrl(    ...

Upload File to web part gallery

19/07/2012 22:31
  $srcPath="c:\temp" $siteUrl="https://localhost/sites/events" $libraryFolder="_catalogs/wp" $libraryUrl=$siteUrl + "/" + $libraryFolder     function UploadFile {     param([string]$srcPath,            ...

Download webpart file from web part gallery

19/07/2012 22:17
#input parameters $siteUrl="https://localhost/sites/events" $destination="c:\temp" function DownloadWPfile {     param([string]$siteUrl,            ...

Complete XslLinks path in *.webpart file

18/07/2012 23:28
  #input parameters $siteUrl="https://localhost/sites/banner" $srcPath="c:\temp\NewsOverview.webpart"#BannerWebPart.webpart"     $file=[xml](get-content $srcPath)   #Get nodes with Xsl Link settings (not error if node doesn't...

textbox press Enter event

09/05/2012 14:41
   private void tbSiteUrl_KeyDown(object sender, KeyEventArgs e)          {              if (e.KeyCode == Keys.Enter)              {              ...

XSLT assignment to XML

16/04/2012 14:20
in source xml code we have to add xml-stylesheet property with xsl stylesheet file. It's xslt file with xsl extension.   <?xml version="1.0" encoding="ISO-8859-1"?> <?xml-stylesheet type="text/xsl"...

XSLT identity transformation

16/04/2012 11:33
<?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet version="1.0" xmlns:xsl="https://www.w3.org/1999/XSL/Transform"> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/> <xsl:template match="/"> <xmp><xsl:copy-of...

Add term with specified guid to termstore

03/04/2012 15:39
add-pssnapin microsoft.sharepoint.powershell $siteUrl="https://buyingportal.dcs.avd.com/gbp/portal" $taxonomySession=Get-sptaxonomySession -site $siteUrl $termstore=$taxonomySession.DefaultSiteCollectionTermStore $taxonomySession.Termstores $avdGroup=$termstore.Groups["avd...

Update solution, upgrade feature

03/04/2012 15:37
#input parameters $siteUrl = "https://td_sp_dev1/sites/test" $solutionsPath = "C:\GBP.Install\Upgrade" function WaitForUpgrading($solutionName) { $farm = [Microsoft.SharePoint.Administration.SPFarm]::Local $isExecuted = $true $solution = $null foreach ($farmSolution in...
Items: 321 - 330 of 384
<< 31 | 32 | 33 | 34 | 35 >>