Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have inserted a Calendar list to a page(SitePages/Home.aspx) using a powershell script, But I want to insert it in to a specific location as shown in image. When I insert the calendar list it insert it to the Bottom of the page by default even If I specify zone as right. The SitePages/Home.aspx has only "Bottom" zone(verified using SPD) and I assume that's the reason its inserting in to Bottom Zone by default. Even if I try to edit the Page it doesn't display the Bottom Zone with calendar.

How do I Specify the Zone location and Index?

$wpManager.AddWebPart($wpView,"Right",0)

enter image description here

Any suggestions appreciated...

share|improve this question

1 Answer 1

up vote 0 down vote accepted

Found the solution. I have blogged about it here. http://kannabirank.wordpress.com/2012/06/23/sharepoint-power-shell-script-to-add-webpart-to-wiki-page/

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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