Quantcast
Channel: SharePoint 2013 - General Discussions and Questions forum
Viewing all articles
Browse latest Browse all 26374

Populate HTML Columns by using Powershell

$
0
0

Hi,

I am working on a Proof of concept solution with catalog lists and search webparts.

I have created a list with some columns containing both text lines and HTML links and rollup pictures.

The text columns are no problem to populate with data from excel via a CSV import.

BUT my HTML columns are not populated.

I need to populate all items with a Rollup Picture, and HTML links. The text for these are in my CSV file and applied to variable.

To find the values for the item(s) i ran:

$web = Get-spweb "http://portal"

$list = $web.Lists["Howto Articles"]

$item = $list.Items[1] #get the second item in the list

$item.Item(8)
--------------
IconUrl        :
UseDefaultIcon : False
NavigateUrl    : http://vg.no
Target         :
Text           : VG Nett
ToolTip        :

--------------------------

I cannot find a way to change the values. How can I change any of the values in this item html column?

I am going to change the value on all items in a lopp, but I think I have a clue how to do it. Just need the way to change the values in HTML Columns.

Best Regards

Per Ove


Viewing all articles
Browse latest Browse all 26374

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>