This series is mainly targeted for developers.
- Open site collection in browser. If you are following from previous articles, it would look like the following
- Go to Site Actions –> New Site as shown below
- Select a template (in this case, “Team Site”), provide name and URL and finally click on “Create” (you can customize more using “More Options” button)
- The site gets created and it looks something like the following
- If you go back to Site Collection, you should also site as shown below:
You can follow the same above method for creating sub-sites, except that you would start with site instead of site-collection. Most of the options available for “Site Collection” would also be available for “Site”.
Second Approach:
We can also achieve similar to above using a different approach
- go to Site Actions –> Site Settings as shown below
- Under “Site Administration”, select “Sites and Workspaces”
- You can click on “Create” at the top
- Provide site details as necessary
- Customize as necessary and click on “Create”
- Once created, you should see new “HR” site as shown below
- You can use “up” button to go through different site hierarchies
- Once you move back to “Site collection” home, you should see both sites available from home page of site collection as shown below
- You can also check the above sites in database as shown below
SELECT
SiteId AS SiteGuid,
Id AS WebGuid,
FullUrl AS Url,
Title,
TimeCreated
FROM dbo.Webs
Another approach is to go to “Site Actions –> View All Site Content” and filter “View” with “Sites and Workspaces” and click on “Create” at the top as shown below:
Source:http://learndotnetprogramming.com
0 nhận xét:
Post a Comment
thanks comment