Scenario:
Sometime you want to redirect the user to some page after the website is created.
Solution:
You can use ExecuteUrl node of Configuration to specify the redirection.
Code:
<ExecuteUrl Url="_layouts/clientname/additionalsettings.aspx" />Note:
1. This redirection will not work if you creating RootWeb ( from CA ).
2. If you are trying update any list / webpart , this might throw Exception if they are still getting created.
3. Only works for Team Site Templates.
4. It only works for Meeting Workspace and Document Workspace templates when the sites are created from the Create function in Sharepoint. The ExecuteUrl element is also ignored if a Meeting Workspace is created from Microsoft Outlook.
Article:
http://www.pointsharepoint.com/2009/01/using-executeurl-element-in-onetxml.html
Follow on Twitter
0 comments:
Post a Comment