snippets to remind myself of how things work (or not)
Monday, 30 April 2012
Adding Web Part to Site Defination Default.aspx (continued)
Following the previous post, I was trying to automate adding my simple custom web part to the site defination so that the created site will appear as follow
so I tried looking at the page source using SharePoint designer, copy the defination to the default.aspx page, and it works!
The code boxed in green are the parts I copied to the default.aspx page.
No comments:
Post a Comment