<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Save List as Template arşivleri - Yunus Emre Araç</title>
	<atom:link href="https://www.yunusemrearac.com/tag/save-list-as-template/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.yunusemrearac.com/tag/save-list-as-template/</link>
	<description>SharePoint Consultant &#124; Microsoft 365 &#124; SharePoint Server &#38; Online</description>
	<lastBuildDate>Wed, 17 Apr 2024 19:00:54 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>

<image>
	<url>https://www.yunusemrearac.com/wp-content/uploads/2014/11/MetroUI_VisualStudio_2012-545c8860_site_icon-32x32.png</url>
	<title>Save List as Template arşivleri - Yunus Emre Araç</title>
	<link>https://www.yunusemrearac.com/tag/save-list-as-template/</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">67294213</site>	<item>
		<title>SharePoint Online Üzerinde Liste Şablonunu Web Arayüzünden ve PowerShell Script Kullanarak Oluşturmak</title>
		<link>https://www.yunusemrearac.com/2024/04/17/sharepoint-online-uzerinde-liste-sablonunu-web-arayuzunden-ve-powershell-script-kullanarak-olusturmak/</link>
					<comments>https://www.yunusemrearac.com/2024/04/17/sharepoint-online-uzerinde-liste-sablonunu-web-arayuzunden-ve-powershell-script-kullanarak-olusturmak/#respond</comments>
		
		<dc:creator><![CDATA[yunusemrearac]]></dc:creator>
		<pubDate>Wed, 17 Apr 2024 19:00:54 +0000</pubDate>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[Liste Şablonu Kaydetme]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Microsoft 365]]></category>
		<category><![CDATA[PnP PowerShell]]></category>
		<category><![CDATA[PowerShell]]></category>
		<category><![CDATA[Save List as Template]]></category>
		<category><![CDATA[SharePoint Online]]></category>
		<guid isPermaLink="false">https://www.yunusemrearac.com/?p=3448</guid>

					<description><![CDATA[<p>Merhaba arkadaşlar bugün sizlere sharepoint üzerinde liste ayarında yer alan &#8220;Save list as Template&#8221; özelliğini web arayüzünden ve powershell scripti ile nasıl kullanacağınızı göstereceğim. İlk&#8230;</p>
<p>The post <a href="https://www.yunusemrearac.com/2024/04/17/sharepoint-online-uzerinde-liste-sablonunu-web-arayuzunden-ve-powershell-script-kullanarak-olusturmak/">SharePoint Online Üzerinde Liste Şablonunu Web Arayüzünden ve PowerShell Script Kullanarak Oluşturmak</a> appeared first on <a href="https://www.yunusemrearac.com">Yunus Emre Araç</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Merhaba arkadaşlar bugün sizlere sharepoint üzerinde liste ayarında yer alan <strong>&#8220;Save list as Template&#8221;</strong> özelliğini web arayüzünden ve powershell scripti ile nasıl kullanacağınızı göstereceğim.</p>
<p>İlk olarak size sharepoint online üzerinde bu özelliği web arayüzünde nasıl kullanacağımızı göstereyim.</p>
<p><a href="https://www.yunusemrearac.com/wp-content/uploads/2024/04/1-1.png"><img fetchpriority="high" decoding="async" class="size-full wp-image-3449 aligncenter" src="https://www.yunusemrearac.com/wp-content/uploads/2024/04/1-1.png" alt="" width="1805" height="582" srcset="https://www.yunusemrearac.com/wp-content/uploads/2024/04/1-1.png 1805w, https://www.yunusemrearac.com/wp-content/uploads/2024/04/1-1-300x97.png 300w, https://www.yunusemrearac.com/wp-content/uploads/2024/04/1-1-1024x330.png 1024w, https://www.yunusemrearac.com/wp-content/uploads/2024/04/1-1-768x248.png 768w, https://www.yunusemrearac.com/wp-content/uploads/2024/04/1-1-1536x495.png 1536w" sizes="(max-width: 1805px) 100vw, 1805px" /></a>Yedek almak istediğimiz sharepoint listesine geliyoruz ve liste de iken sağ üstte bulunan ribbonda <strong>&#8220;Settings&#8221;</strong> iconuna tıklayarak ayarlar menüsünü açıyoruz. Burada başlıklar içerisinde yer alan <strong>&#8220;SarePoint&#8221;</strong> ana başlığı altında gelen <strong>&#8220;List settings&#8221;</strong> alt linkine tıklayarak var olan listenin ayar sayfasına gidiyoruz.</p>
<p><a href="https://www.yunusemrearac.com/wp-content/uploads/2024/04/2-1.png"><img decoding="async" class="size-full wp-image-3450 aligncenter" src="https://www.yunusemrearac.com/wp-content/uploads/2024/04/2-1.png" alt="" width="1800" height="853" srcset="https://www.yunusemrearac.com/wp-content/uploads/2024/04/2-1.png 1800w, https://www.yunusemrearac.com/wp-content/uploads/2024/04/2-1-300x142.png 300w, https://www.yunusemrearac.com/wp-content/uploads/2024/04/2-1-1024x485.png 1024w, https://www.yunusemrearac.com/wp-content/uploads/2024/04/2-1-768x364.png 768w, https://www.yunusemrearac.com/wp-content/uploads/2024/04/2-1-1536x728.png 1536w" sizes="(max-width: 1800px) 100vw, 1800px" /></a>Liste ayarı sayfasına geldiğimiz zaman buradaki ayar başlıklarında bulunan <strong>&#8220;Permissions and Management&#8221;</strong> genel başlığı altında yer alan <strong>&#8220;Save list as template&#8221;</strong> menüsüne tıklıyoruz ve liste şablonunu kaydetme ekranına gidiyoruz.</p>
<p><a href="https://www.yunusemrearac.com/wp-content/uploads/2024/04/3-1.png"><img decoding="async" class="size-full wp-image-3451 aligncenter" src="https://www.yunusemrearac.com/wp-content/uploads/2024/04/3-1.png" alt="" width="1804" height="668" srcset="https://www.yunusemrearac.com/wp-content/uploads/2024/04/3-1.png 1804w, https://www.yunusemrearac.com/wp-content/uploads/2024/04/3-1-300x111.png 300w, https://www.yunusemrearac.com/wp-content/uploads/2024/04/3-1-1024x379.png 1024w, https://www.yunusemrearac.com/wp-content/uploads/2024/04/3-1-768x284.png 768w, https://www.yunusemrearac.com/wp-content/uploads/2024/04/3-1-1536x569.png 1536w" sizes="(max-width: 1804px) 100vw, 1804px" /></a>Açılan ekranda <strong>&#8220;File name&#8221;</strong> kısmına dosyamızın adını yazıyoruz. <strong>&#8220;Template name&#8221;</strong> ve <strong>&#8220;Template description&#8221;</strong> kısmına da alacağımız şablonun adı ve açıklamasını yazmamız gerekmektedir. Eğer var olan listenin içerisindeki verilerde bu şablon içerisine dahil olunmasını istiyorsanız <strong>&#8220;Include Content&#8221;</strong> yazan checkbox seçeneğini işaretlemeniz gerekmektedir. Gerekli ayarlamaları yaptıktan sonra <strong>&#8220;OK&#8221;</strong> butonuna basarak şablon kaydetme işlemini başlatabilirsiniz.</p>
<p><strong>NOT:</strong> Şablon içerisinde listede var olan datalarında dahil olmasını istiyorsanız bunun belirli bir boyutu vardır eğer yüksek bir sayı var ise dahil edemeyecek ve hata verecektir.</p>
<p><a href="https://www.yunusemrearac.com/wp-content/uploads/2024/04/4-1.png"><img decoding="async" class="size-full wp-image-3452 aligncenter" src="https://www.yunusemrearac.com/wp-content/uploads/2024/04/4-1.png" alt="" width="976" height="307" srcset="https://www.yunusemrearac.com/wp-content/uploads/2024/04/4-1.png 976w, https://www.yunusemrearac.com/wp-content/uploads/2024/04/4-1-300x94.png 300w, https://www.yunusemrearac.com/wp-content/uploads/2024/04/4-1-768x242.png 768w" sizes="(max-width: 976px) 100vw, 976px" /></a>Şablon alma işleminiz sorunsuz bir şekilde tamamlandı ise karşınıza işlemin başarılı bir şekilde sonlandığını bildiren bir ekran çıkacaktır. Bu kısımda isterseniz <strong>&#8220;list template gallery.&#8221;</strong> linkine tıklayarak galeri listesine isterseniz de <strong>&#8220;OK&#8221;</strong> diyerek işlemi tamamlayarak ayar sayfasına geri dönebilirsiniz. İstersenizde şablon galerisine site ayarından ya da <strong>&#8220;_catalogs/lt/Forms/AllItems.aspx&#8221;</strong> adresi uzantısı ile de gidebilirsiniz.</p>
<p>Eğer bu yedek alma işlemini powershell script ile yapmak isterseniz aşağıdaki powershell scriptini kullanabilirsiniz.</p><pre class="urvanov-syntax-highlighter-plain-tag">Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.dll"
Add-Type -Path "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\16\ISAPI\Microsoft.SharePoint.Client.Runtime.dll"

$SiteURL="https://yunusemrearac.sharepoint.com/"
$ListName="yunusemrearac"

$FileName="yunusemrearacListTemplate"
$TemplateName="yunusemrearacListTemplate"
$Description ="yunusemrearac List Template"
$IncludeData = $True
 
Try{
    $Cred= Get-Credential
 
    $Ctx = New-Object Microsoft.SharePoint.Client.ClientContext($SiteURL)
    $Ctx.Credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($Cred.Username, $Cred.Password)
  
    $List = $Ctx.Web.lists.GetByTitle($ListName)
    $List.SaveAsTemplate($FileName, $TemplateName, $Description, $IncludeData)
    $Ctx.ExecuteQuery()
 
    Write-Host -f Green "List Saved as Template!"
}
Catch {
        write-host -f Red "Error Saving List as template!" $_.Exception.Message
}</pre><p>Yukarıdaki powershell scriptinde bulunan <strong>&#8220;SiteURL, ListName, FileName, TemplateName, Description, IncludeData&#8221;</strong> parametrelerini sizin sharepoint sitenize ve yukarıdaki bahsettiğim ayarlara göre istediğiniz gibi tanımlamanız gerekmektedir.</p>
<p>Buna ek olarak isterseniz aşağıda yer alan PnP Powershell scripti de kullanarak bu işlemi gerçekleştirebilirsiniz.</p><pre class="urvanov-syntax-highlighter-plain-tag">$SiteURL= "https://yunusemrearac.sharepoint.com/"
$ListName = "yunusemrearac"
$TemplateFileName = "yunusemrearacListTemplate.stp"
$TemplateName = "yunusemrearacListTemplate"
$TemplateDescription="yunusemrearac List Template"
$IncludeData = $True

Connect-PnPOnline -Url $SiteURL -Credentials (Get-credential)
$Context  = Get-PnPContext

$List = Get-PnpList -Identity $ListName

$List.SaveAsTemplate($TemplateFileName, $TemplateName, $TemplateDescription, $IncludeData)
$Context.ExecuteQuery()</pre><p>Aynı şekilde pnp powershell scriptinde bulunan <strong>&#8220;SiteURL, ListName, FileName, TemplateName, Description, IncludeData&#8221;</strong> parametrelerini sizin sharepoint sitenize ve yukarıdaki bahsettiğim ayarlara göre istediğiniz gibi tanımlamanız gerekmektedir.</p>
<p>Eğer scriptleri ve parametreleri doğru şekilde tanımlayıp çalıştırırsanız scriptler hata vermeden çalışarak şablon galerisine yedeğinizi kaydedecektir.</p>
<p>&nbsp;</p>
<p>The post <a href="https://www.yunusemrearac.com/2024/04/17/sharepoint-online-uzerinde-liste-sablonunu-web-arayuzunden-ve-powershell-script-kullanarak-olusturmak/">SharePoint Online Üzerinde Liste Şablonunu Web Arayüzünden ve PowerShell Script Kullanarak Oluşturmak</a> appeared first on <a href="https://www.yunusemrearac.com">Yunus Emre Araç</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.yunusemrearac.com/2024/04/17/sharepoint-online-uzerinde-liste-sablonunu-web-arayuzunden-ve-powershell-script-kullanarak-olusturmak/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">3448</post-id>	</item>
	</channel>
</rss>
