In my previous article, I covered how to enable and configure RSS feeds at the site level with PowerShell, including disabling list RSS feeds by default so that you can choose which lists you want to enable when required.
In this article, I will go through how to enable RSS feeds on a list and configure the various options associated with them, including selecting the list columns to be published in the feed.
Enabling RSS Feeds on a list
The first part of the script connects to the site and list you want to configure:
#Get site collection and list objects
$web = Get-SPWeb http://portal
$list = $web.Lists["Documents"]
We then enable RSS feeds on the list, if currently disabled. This is the same thing as clicking on the following option in the browser UI:
if ($list.EnableSyndication -eq $false)
{
$list.EnableSyndication = $true
$list.Update()
write-host "RSS Feeds enabled on list:" $list.Title
}
else
{
write-host "RSS Feeds already enabled on list:" $list.Title
}
List RSS properties
For configuring the properties of the RSS feed, we need to use the EnsureRssSettings method to check the RSS settings of the list and connect to the root folder:
#Checks the RSS settings of the list, and, if necessary, updates them to ensure that the most current settings are used
$list.EnsureRssSettings()
#Get root folder which contains RSS configuration properties
$rootFolder = $list.RootFolder
The commands for setting the properties themselves depends on the options you wish to set with the script. The table below shows the code for setting each of the properties along with the section of the UI they correspond to:
Once you have configured the properties of the list RSS feed, you have to apply them with the following update commands:
#Update root folder and list with the changes
$rootFolder.Update()
$list.Update()
Selecting list columns for use in RSS Feeds
The PowerShell script code in this section will include the following list columns for display in the RSS feed:
Columns marked with an asterisk will map to standard RSS tags – e.g., "Created by" is mapped to the RSS "Author" tag. All other columns will display in the RSS description tag.
First, we need to get a hidden view called “RssView” and delete all currently selected columns from the view:
#Get RSS View and delete all existing columns
$rssView = $list.Views["RssView"]
$rssViewFields = $rssView.ViewFields
$rssViewFields.DeleteAll()
Next, we add the columns to the view as required.
#Add new columns using their display name
$rssViewFields.Add("Title")
$rssViewFields.Add("Version")
$rssViewFields.Add("Modified By")
The method I have used above allows you to specify the display name of the columns to be added. You could choose to use internal column names instead with this code for each column: $rssViewFields.Add($list.Fields.GetFieldByInternalName("fieldname"))
Finally, we have to update the RSS view and dispose of the web object:
#Update the RSS View
$rssView.Update()
#Dispose of web object
$web.Dispose()
Awesome! Thanks!
ReplyDeleteThanks a lot. I am new to SharePoint and your post solved my issues. Thanks for sharing, keep it up!
ReplyDeleteThis could get me started to customize the RSS feed on an Allnet ALL4550 line ticker display where I'd like to get rid of "Body:" and "Created By:". Thanks for posting it.
ReplyDeleteVery informative post. Nice work.
ReplyDelete2015-12-7 xiaozhengm
ReplyDeletefitflops clearance
michael kors uk
tory burch outlet
oakley sunglasses
nike outlet
louis vuitton outlet
louis vuitton pas cher
kate spade outlet
gucci outlet
coach outlet
michael kors outlet
canada goose uk
coach factory outlet
christian louboutin shoes
nike blazer
jordan 8s
michael kors handbags
jordan 3 infrared
caoch outlet
true religion outlet
air jordan uk
michael kors
longchamp outlet
adidas shoes uk
coach factory outlet
coach factory outlet
nike blazers
ugg australia
nike uk
coach factory outlet
tiffany and co
basketball shoes
michael kors outlet uk
louboutin
air jordans
chaussure louboutin
air jordan 13
ugg outlet
louis vuitton outlet
Great Article..
ReplyDeleteOnline DotNet Training
.Net Online Training
Dot Net Training in Chennai
IT Training in Chennai
20160301meiqing
ReplyDeletethe north face jackets
abercrombie & fitch
louis vuitton outlet online
nike air huarache
michael kors
oakley sunglasses
cheap jerseys
ugg boots
tods outlet
north face outlet
hollister
uggs on sale
michael kors outlet
oakley outlet
michael kors handbags
cheap jordans
toms shoes
polo ralph lauren outlet
michael kors outlet
ray ban outlet
true religion jeans
michael kors outlet
louis vuitton
ray-ban sunglasses
retro jordans
canada goose jackets
michael kors online
abercrombie
kate spade handbags
coach factory outlet
louis vuitton outlet
louis vuitton outlet
oakley sunglasses
gucci bags
cheap oakleys
tory burch handbags
ray ban sunglasses outlet
louis vuitton
cheap uggs
jianbin0309
ReplyDeletetrue religion jeans outlet
celine outlet
louis vuitton handbags outlet
air jordan shoes for sale
asics,asics israel,asics shoes,asics running shoes,asics israel,asics gel,asics running,asics gel nimbus,asics gel kayano
tiffany outlet
swarovski crystal
michael kors outlet store
michael kors clearance
hermes bags
ray ban sunglasses
marc jacobs
valentino outlet
swarovski crystal
mac cosmetics
cheap nba jerseys
ray ban sunglasses
louis vuitton handbags outlet
ray-ban sunglasses
michael kors outlet store
michael kors outlet online
swarovski outlet
chicago blackhawks
true religion canada
michael kors outlet
ed hardy clothing
longchamp handbags outlet
prada outlet
ralph lauren shirts
michael kors factory store
cheap nfl jersey
rolex watches for sale
cheap nike shoes
mbt shoes outlet
cheap ray ban sunglasses
ReplyDeletegucci outlet online
true religion jeans
fitflops outlet
oakley sunglasses
chaussure louboutin
michael kors outlet
fitflops shoes
ralph lauren uk
true religion jeans
oakley sunglasses
michael kors uk
tiffany outlet
pandora outlet
true religion outlet
timberland boots
tiffany and co
tiffany and co
nike tn pas cher
mulberry outlet store
lululemon outlet
prada sunglasses
swarovski outlet
omega watches
coach outlet
nike air max
mulberry uk
louis vuitton bags
michael kors handbags
iphone cases
cai20160519
20160530meiqing
ReplyDeleteair jordans
true religion jeans
nike free flyknit 4.0
red bottom shoes
michael kors outlet clearance
yeezy boost 350
louis vuitton pas cher
jimmy choo shoes
converse shoes
louis vuitton factory outlet
michael kors outlet online
michael kors outlet
ralph lauren outlet
reebok shoes
polo ralph lauren outlet
cartier love bracelet
hollister sale
adidas gazelle
the north face
pandora outlet
michael kors handbags
instyler max
louis vuitton borse
coach outlet
coach outlet store online
discount oakley sunglasses
coach outlet store
ed hardy outlet
louis vuitton outlet online
adidas superstar
hollister clothing
ralph lauren outlet
michael kors outlet
michael kors outlet
jimmy choo outlet store
ReplyDeletenorth face uk
louis vuitton outlet online
fitflops
adidas nmd uk
lebron james shoes 2016
nike air force black
ugg outlet
oakley sunglasses wholesale
birkenstocks
michael kors outlet
polo ralph lauren outlet online
uggs canada
michael kors outlet online
coach factory outlet online
omega replica watches
ralph lauren uk
uggs canada
longchamp bag
ghd
adidas gazelle
jimmy choo
louboutin shoes
cheap nfl jerseys
cheap ray ban sunglasses
moncler outlet online
abercrombie kids
adidas superstars
mont blanc pens outlet
coach factory outlet online
cheap nfl jerseys
cartier love ring
yeezy boost 350 balck
20160721caiyan
timberland boots
ReplyDeleteray ban sunglasses
louis vuitton handbags
rolex watches
toms shoes
michael kors outlet
air jordan pas cher
instyler curling iron
replica watches
fake watches
replica watches
jordans for sale
coach outlet
louis vuitton handbags
cheap jordan shoes
ralph lauren outlet
michael kors outlet
kate spade
gucci outlet
true religion shorts
christian louboutin outlet
coach outlet
jordans
michael kors outlet clearance
kobe bryant shoes
coach outlet
ray ban wayfarer
michael kors handbags
michael kors handbags
jordan retro
kobe bryant shoes
michael kors outlet online sale
michael kors handbags
coach factory outlet
jordan 8
louis vuitton
christian louboutin shoes
true religion
michael kors handbags
michael kors outlet
20168.8wengdongdong
new balance shoes
ReplyDeletelouis vuitton
louis vuitton outlet
north face jackets
ysl outlet
prada sunglasses
lacoste pas cher
michael kors handbags
oakley sunglasses
michael kors clearance
chanyuan10.11
coach factory outlet
ReplyDeleteair max uk
adidas outlet store
ray ban sunglasses
north face outlet
ugg uk
cheap ugg boots
cheap nba jerseys
hermes scarf
clippers jerseys
2016.11.26xukaimin
This blog is so nice to me. I will continue to come here again and again. Visit my link as well. Good luck
ReplyDeletecara menggugurkan kandungan
chung cư vinhomes nguyễn trãi abc
ReplyDeletechung cu vinhomes nguyen trai xcb
vinhomes nguyen trai bcz
vinhomes nguyễn trãi abx
vinhome nguyễn trãi 2ds
vinhome nguyen trai hsk
vincom nguyễn trãi qut
vincom nguyen trai ujk
chung cư vinhomes nguyễn trãi abx
chung cu vinhomes nguyen trai acx
vinhomes nguyen trai adx
vinhomes nguyễn trãi edx
vinhome nguyễn trãi edc
vinhome nguyen trai edf
vincom nguyễn trãi rdk
vincom nguyen trai rkd
dự án chung cư vinhomes nguyễn trãi là một quần thể đô thị hiện đại chung cu vinhomes nguyen trai được trang bị nội thất tinh tế thiết kế vinhomes nguyễn trãi sang trọng vinhomes nguyen trai đẳng cấp kết hợp cùng tiện nghi vinhome nguyen trai cao cấp vinhomes nguyễn trãi là điểm đến lý tưởng vincom nguyen trai đầy đủ cho người tiêu dùng vincom nguyễn trãi có bán giày nam các loại giày công sở nam đẹp nhất
ReplyDeleteabercrombie and fitch
ReplyDeletecavaliers jerseys
coach outlet
coach handbags
uggs outlet
louis vuitton outlet
louis vuitton handbags
louis vuitton outlet
ralph lauren
ray ban pas cher
20173.9chenjinyan
true religion uk
ReplyDeletethunder jerseys
hollister co
nike air max 95
red bottom
toms
michael kors bags
nike roshe one
air max
coach factory outlet
0324shizhong
Coach Outlet ED Hardy Outlet Coach Outlet Store Online Kate Spade Outlet Cheap Jordans Coach Purses Coach Outlet Kate Spade Outlet Toms Outlet Louis Vuitton
ReplyDelete
ReplyDeleteشركات الشحن
شركات الشحن الدولي
شركات شحن من الرياض لمصر
شركات الشحن الدولي
شركات شحن من الرياض لمصر
اسعار شركات الشحن
افضل شركة شحن
ارخص شركة شحن
شركات شحن لمصر بالرياض
شركات شحن بالرياض
شحن لمصر من الباب للباب
مكتب شحن لمصر
hammer of thor
ReplyDeletetitan gel
titan gel asli
titan gel surabaya
titan gel di surabaya
jual titan gel surabaya
jual titan gel di surabaya
titan gel cod di surabaya
titan gel cod surabaya
penjual titan gel di surabaya
penjual titan gel surabaya
titan gel asli surabaya
titan gel asli di surabaya
jual titan gel di Jalan Raya ITS Surabaya
jual titan gel di Jalan Panglima Sudirman Surabaya
jual titan gel di Jalan Pasar Turi Surabaya
jual titan gel di Jalan Pemuda 33-35 Surabaya
jual titan gel di Jalan Pucang Adi Surabaya
jual titan gel di Jalan Raya Darmo Surabaya
jual titan gel di Jalan Raya Gubeng Surabaya
jual titan gel di Jalan Raya Jemur Sari Surabaya
jual titan gel di Jalan Raya Kali Rungkut Surabaya
jual titan gel di Jalan Raya Lontar Surabaya
jual titan gel di Jalan Rungkut Asri Timur XII Surabaya
jual titan gel di Jalan Pengampon VI Surabaya
Soon overcome all the problems your illness complaint before everything gets worse
ReplyDeleteObat Asma Tradisional
Cara Herbal Mengobati Laringitis
Obat Ampuh Menyembuhkan Alergi Menahun
Pengobatan Hernia Untuk Semua Usia
Pengobatan Yang Ampuh Batuk Kering
Pengobatan Kudis Secara Merata
This information is very useful. thank you for sharing. and I will also share information about health through the website
ReplyDeleteCara Mengobati radang Usus
Cara Mengatasi sakit pundak dan Leher kaku
Cara Menghilangkan Benjolan di Bibir
Obat Nyeri haid
Tips Menghilangkan Wajah kusam
solusi masalah kewanitaan
2、
ReplyDeletechristian louboutin outlet
nike outlet
nike outlet store
adidas outlet store
christian louboutin outlet
coach outlet online
coach factory store
cheap jordan shoes
christian louboutin
coach factory outlet
his article is very helpful at all thanks
ReplyDeleteObat Penyakit Asam Urat
Obat Mata Juling
Obat Kanker Rahim
Cara Mengobati Sakit Pinggang
Cara Mengobati Benjolan Di Vagina
Pengobatan Alami Penyakit vertigo
Times distributing any bet, You are investing buy this one brand from owner if you're earning prospective buyer. Which you have digest and consented to the worldwide delivery overseas app conditions goes into business in a good eye-port nicely loss. Significance expense above estimated might be be governed by change in case you the better say several..
ReplyDeleteDue to publishing one's own say, You dfb trikot müller are investing buy a goods from the vendor if you are the taking prospective buyer. You read and concure with the worldwide maillot foot 2018 delivering Coach Outlet Online Store approach small print starts advertising in a juegos de futbol totally new windowpane otherwise bill. Signific complaints years ago quotation are hands calendario de futbol down short sale change if you happen to speed up you maillot de foot personnalise the greatest number of Maglie Da Calcio a Poco Prezzo buy total variety..
The following add up comprises of Camisetas De Futbol Baratas related methods steps, Income income tax, Stock broker or penalty dues. This one money is be governed by change before you make fund. The Maillot De Foot Pas Cher local surf forecast in an western european component maintain except england, manuel neuer trikot rot Importance value-added tax on that get certainly not recoverable.
This article is interesting and useful. And let me share an article about health which insha Allah will be very useful if we use it again for others.
ReplyDeleteCara Mengobati Penyakit Gula Darah
Obat Untuk Penyakit TBC
Cara Mengobati Jamur Mulut
This article is interesting and useful. Thank you for sharing. And let me share an article about health that God willing will be very useful. Thank you :)
ReplyDeleteCara Mengobati radang Usus
Cara Mengatasi sakit pundak dan Leher kaku
Cara Menghilangkan Benjolan di Bibir
Obat Nyeri haid
Tips Menghilangkan Wajah kusam
Cara Mengobati Bisul
Thanks for sharing the information
ReplyDeleteKhasiat QnC Jelly Gamat
Obat Eksim Atopik
Pengobatan Herbal Penyakit Liver
Cara Mengobati Alergi Dingin
Obat Paling Mujarab untuk Diabetes
Obat Batu Empedu Alami
PENGOBATAN PENYAKIT AMANDEL
Thanks for sharing the information
ReplyDeleteAgen Resmi QnC Jelly Gamat Di Jakarta
Tips Untuk Mengobati Emboli Paru
Cara Mengobati Susah Buang Air Kecil (Susah Kencing)
Obat Untuk Menyembuhkan Luka Lambung
Cara Mengobati Bursitis Alami
https://myserviceshome.com/detection-of-water-leaks-in-khamis-mushait/
ReplyDeletehttps://myserviceshome.com/transport-furniture-in-riyadh-sr-300/
https://myserviceshome.com/methods-of-restoration-and-maintenance-in-riyadh/
https://myserviceshome.com/isolation-of-surfaces-in-riyadh-in-manner-of-waterproofing/
https://myserviceshome.com/heat-insulation-in-riyadh-and-its-uses/
También puede visitar una tienda de ladrillo y mortero de Michael Kors o su sitio web y comprar directamente un bolso Michael Kors desde allí. Usar un bolso de Michael Kors les permite a los demás reconocer que el habitante urbano educado toma la moda realmente con seriedad. Los bolsos de hombro son particularmente refinados y elegantes.
ReplyDelete{Bolsas Michael Kors Precios | Bolsos Michael Kors Outlet | Michael Kors Rebajas}
En vacker konstnärlig skapelse av vävt läder, som ger ett skalskaligt utseende - liknar en snakeskin eller fiskhud, linjer utsidan av påsen. Läderens bältros är små läderringar. Det finns också gyllene accenter på väskan. Slutresultatet är svagt liknar kedjepost.
{Michael Kors Rea | Michael Kors Väska Rea | Michael Kors Plånbok}
Numpang share this info Obat Wasir Tradisional Iwan Obat Patah Tulang fals Obat Sakit Pinggang Ibu Obat Penghilang Benjolan Kemesraan Obat Tulang Keropos Ijinkan aku menyayangimu Obat Cacar Air wakil rakyat Obat Jantung Manusia Setengah dewa Obat Penurun Kolesterol dan Asam urat bongkar Obat Benjolan thanks for permission and I hope this can be usefull for every Body
ReplyDeleteهذه المؤسسة التي توفر لك عروض وخصومات تبلغ إلى 40 بالمائة واشتمل لجميع الزبائن التنظيف بجودة عالية والأسعار في متناول أيدي الجميع ويحدث التنظيف على أيدي متخصصون متخصصين يملكون خبرة وحسن إجراء مع الزبون بجوار التفوق والكفاءة العالية.شركة النجوم لخدمات التنظيف
ReplyDeleteشركة تنظيف فلل بالرياض
شركة عزل خزانات بالرياض
شركة جلي بلاط بالرياض
A beautiful purse or handbag from Coach Outlet Online can last for many years, and represent a great overall value.
ReplyDeleteThere are Michael Kors Bags Outlet in a large number of shopping malls located throughout the country.
Cheap Michael Kors Bags is a great way to determine which models best suit your needs.
Official Coach Factory Outlet Online all strive to provide comfort and convenience for their owners and the seams are double-stitched for maximum durability.
Michael Kors Factory Store, has one of the most popular handbag and accessory lines on the market today.
Coach Handbags Wholesale says a lady is classy, elegant and sophisticated.
Coach Store Near Me trends come and go, but a Coach stands the test of time.
The official Michael Kors Handbags On Sale Outlet regularly posts various handbags being offered for sale.
Compare your Coach Bags On Sale Outlet to the logo provided on the website to make sure it is similar.
All Michael Kors Outlet Online Store have serial numbers.
No matter what type of Michael Kors Bags Outlet each individual got, they all had one thing in common. We all know that getting something on sale is like winning a mini lottery, but to find a name brand handbag like Michael Kors Black Friday Sale for instance, discounted is like a slice of heaven on earth. I have personally attacked my husband with hugs and kisses when finding Official Coach Outlet Online at discounted prices.
ReplyDeleteMichael Kors Factory Outlet stores can be found in malls all over. MK Outlet and other Coach merchandise can also be found in some boutiques. Inspired by the same material baseball gloves are made from, these Coach Bags On Sale Online are versatile and stylish. Since it's conception, the Michael Kors Handbags Outlet has been produced into a variety of designs, colors, shapes, and styles that have won top pick of millions of women the world over.
New Michael Kors Bags are the most sought after handbag. Since Coach Outlet Online is one of the most recognized name brands in the world of fashion, you will find A-list celebrities down to small girls wearing them.
tags:Coach Outlet|Coach Bags Factory Outlet|Coach Purses Outlet
now present in your city cara menggugurkan hamil
ReplyDelete1. manfaat kurma untuk persalinan
2. manfaat buah nanas
3. aktivitas penyebab keguguran
4. apakah usg berbahaya
5. penyebab telat haid
6. cara melancarkan haid
7. cara mengatasi keputihan
8. tanda tanda menopause
Thanks for provide great informatic and looking beautiful blog, really nice required information & the things i never imagined and i would request, wright more blog and blog post like that for us. Thanks you once agian
ReplyDeleteBirth certificate in delhi
Birth certificate in ghaziabad
Birth certificate in gurgaon
Birth certificate in noida
How to get birth certificate in ghaziabad
how to get birth certificate in delhi
birth certificate agent in delhi
how to download birth certificate
birth certificate in greater noida
birth certificate agent in delhi
Birth certificate delhi
Jual Obat Aborsi Asli | Obat Cytotec Asli | 082241083319
ReplyDeletejual obat aborsi pills cytotec asli manjur untuk menggugurkan kandungan usia 1 - 6 bulan gugur tuntas.CYTOTEC OBAT ASLI sangat efektif mengatasi TELAT DATANG BULANdan menjadikan anda gagal hamil , CYTOTEC adalah OBAT ABORSI 3 JAM BERHASIL GUGUR TUNTAS dengan kwalitas terbaik produk asli pfizer nomor 1 di dunia medis
JUAL OBAT ABORSI DI TEGAL
JUAL OBAT ABORSI DI SLAWI
JUAL OBAT ABORSI DI TEMANGGUNG
JUAL OBAT ABORSI DI WONOGIRI
JUAL OBAT ABORSI DI WONOSOBO
JUAL OBAT ABORSI DI BANDUNGAN
CARA MENGGUGURKAN KANDUNGAN
Times distributing any bet, You are investing buy this one brand from owner if you're earning prospective buyer. Which you have digest and consented to the worldwide delivery overseas app conditions goes into business in a good eye-port nicely loss. Significance expense above estimated might be be governed by change in case you the better say several.. antique necklace silver , handmade leather slippers , beautiful anklets , embroidered handbag strap , womens embroidered belts , black jean belt , mens western belts near me , ankle bracelet
ReplyDeleteI thank you for the information and articles you provided
ReplyDelete# cara berhubungan intim buat ibu hamil
# buah yang bagus untuk ibu hamil
# makanan dan minuman ibu hamil
# senam ibu hamil
# sistim reproduksi wanita
# cara memperlancar menstruasi
# ciri ciri pubertas pada perempuan
# siklus menstruasi
# anatomi reproduksi wanita