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

1 Answer 1

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 and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.