Timeline for Add a Web Part Zone to "My Newsfeed" Page via PowerShell
Current License: CC BY-SA 3.0
11 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 7, 2012 at 18:20 | comment | added | RJ Cuthbertson | Yeah, I'm aware. I'm fine with that. I was looking for a purely OM solution. As in adding a zone to the collection in a manner that it persisted, but I don't think that it's possible... which is why I started the bounty. I already finished this project for the client, the bounty was just for my personal curiosity. | |
May 7, 2012 at 18:10 | comment | added | Colin | Thnx :-D. PS, all code shown (C#) can be easily ported to PoSH. | |
May 7, 2012 at 17:59 | comment | added | RJ Cuthbertson | Not quite what I was looking for, but this is a valid solution, and it did use the OM... so you win buddy. | |
May 7, 2012 at 17:58 | history | bounty ended | RJ Cuthbertson | ||
May 7, 2012 at 17:58 | vote | accept | RJ Cuthbertson | ||
May 7, 2012 at 16:31 | comment | added | Colin | The fill will not be overwritten by updates, it will be ghosted in the database. | |
May 7, 2012 at 14:28 | comment | added | RJ Cuthbertson | I was concerned that overwriting the default.aspx would make the changes to the My Profile page as well, since they use the same template (shareesblog.com/?p=601) but My Profile uses Person.aspx. This is the best answer thus far, but I was looking for a way to add the zone via the Object Model rather than via HTML. This method is subject to the same problem that C. Marius mentioned about Microsoft Updates. You might end up with the points anyhow though. | |
May 4, 2012 at 22:07 | history | edited | Colin | CC BY-SA 3.0 |
added 1670 characters in body
|
May 4, 2012 at 21:28 | comment | added | Colin | OK, fired up my dev server and did some checking. The page you are referring to is actually not part of your "own" MySite. It is the homepage for the My Site Host webapp. The webpart zones on it are an actual part of that file (default.aspx) and not some master page. So it is overwritable using code (in for instance a feature receiver, or powershell). Working on an example now | |
May 4, 2012 at 19:29 | comment | added | RJ Cuthbertson | This isn't a bad idea if we had access to the masters. I'm looking for a solution that doesn't involve the master pages. | |
May 4, 2012 at 16:46 | history | answered | Colin | CC BY-SA 3.0 |