Posts

Showing posts from July, 2012

Create a Search Scope for a Sharepoint 2010 List or Library

Image
Update: I’ve just recorded a screencast tutorial on creating a search scope: click here Go to Site Actions > Site Settings (make sure you’re in the root site), and click “Search scopes”. Click “New Scope” to create a new scope to load in a sub-page of the site. Nothing really needs to be set on this screen except the title. If you want this to be a default scope that shows in the normal scope dropdown, make sure and select the “Search Dropdown” box. Otherwise, everything can be set in your custom page. In the next screen you’ll see your newly created scope under “Unused Scopes”. There are no rules attached to this scope yet, so let’s go create some. Click “Add rules”. If you want this search scope to query a specific list (for instance, I wanted it to troll through the “newlist” list), enter the address of the list in the “folder” textbox. Also, if you check “require” it will designate that only this list will be searched. I’m not exactly sure how often the scopes update, but it s

SharePoint 2007 Page Life Cycle

User request the SharePoint Page using http ASP.NET calls the WSS File provider WSS file provider returns the page from File or Database Page is parsed by SafeMode parsor if required Returned page is complied by ASP.NET Compiler WSS File provider collects the page layout class and complies it ASP.NET engine adds SharePoint Context Data to the site meta data and retreives the associated master page. Master page got compiled and responded back to the user.

ASP.NET Page Life Cycle

Image
ASP.NET Page Life Cycle  When an ASP.NET page runs, the page goes through a life cycle in which it performs a series of processing steps. These include initialization, instantiating controls, restoring and maintaining state, running event handler code, and rendering. It is important for you to understand the page life cycle. General Page Life-cycle Stages (Courtsy MSDN, CP, UsualDosage, Several Blogs...) In general terms, the page goes through the stages outlined in the following table. In addition to the page life-cycle stages, there are application stages that occur before and after a request but are not specific to a page. Putting together an acronym for the page life cycle is easy enough. Since the Page Request technically isn't a part of the life cycle (it only indicates whether we actually will start the cycle or load a cached page) we won't include it in the acronym. S � Start I � Initialize L � Load V � Validate E � Event Handling R � Render That gives us &quo