New answers tagged

0

search web part uses display template to render result items, you can create you own display template and adjust HTML and CSS, you can also add body of the news item. detail here


0

It's most likely because you are updating the $itemfile instead of $item. Try this: foreach($item in $file) { $item.Name $item.ContentTypeId $itemfile = $item.file $itemfile.CheckOut() $item["ContentTypeId"] = "0101009B1F3022B2A90E49A6CD5145086FDAEC" $item.Update() $itemfile.CheckIn("") $item.Name $item.ContentTypeId }


3

There is no data loss associated with deactivating/activating this feature.



Top 50 recent answers are included