6

When I get the fields property for a blog list, it returns empty.

$SiteURL = "Blog site URL here"

$web = Get-SPWeb $SiteURL

foreach($field in $web.Fields)
{

  Write-Host $field
}

But when I go to site columns in site settings I see many fields with the source being the parent site.

Can someone help me with adding an existing site column to the Post list of a Blog site ?

Thanks

3

I got it. I referenced the parent site Web and retrieved the list from that site and added to the Posts List in Blog site

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.