Skip to main content

Posts

Showing posts from 2010

Ghosting and Unghosting

Ghosting means process of requesting an uncustomized page instance by using a page template loaded into memory from the file system of the front-end Web server. These Ghosted pages are pulled from the cache at runtime and therefore it will increase the scalability from the system. All uncustomized pages are reused across all the sites and there is no unnecessary data storage or retrieval. Ghosting eliminates the need to transfer the contents of a page definition file from the SQL Server computer with the content database to the front-end Web server computer For example, the default home page is a ghosted page. Any web part pages created via New Web Part Page user interface also ghosted. Unghosting means that the site has been customized. When you customize a site in SharePoint Designer, or you add custom fields to a Document Library, or create sites using that template; then the changes that you made are stored in the database as a difference and that is referred to as Unghost...

Securing Publishing Sites with Lockdown Mode

Using lockdown mode on published sites if greater security on these sites is a requirement. Additionally, if you applied the Publishing Portal site template, determine if lockdown mode is the desired configuration for these sites. If not, use the Stsadm.exe command-line tool to turn off lockdown mode. Turn off lockdown mode for a site collection stsadm -o deactivatefeature -url -filename ViewFormPagesLockDown\feature.xml Turn on lockdown mode for a site collection stsadm -o activatefeature -url -filename ViewFormPagesLockDown\feature.xml

Required permissions cannot be acquired.

System.Security.Policy.PolicyException: Required permissions cannot be acquired. Error: System.Security.Policy.PolicyException: Required permissions cannot be acquired. Reason: The Trust level may be Mimimal. Solution: 1. Go to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\config 2. Open "Web.Config" 3. Find 4. Replace by 5. Save and Exit 6. Open your Sharepoint Website web.Config. 7. Do the steps 3 & 4. 8. Save and Exit

Easily show a Favicon in SharePoint 2010

In SharePoint 2007 we had to mess around with the typical HTML tag for the favicon: In SharePoint 2007 we had to mess around with the typical HTML tag for the favicon: link rel="shortcut icon" href="/Style%20Library/Images/favicon.ico/> But, in SharePoint 2010 there is a special control for adding favicons: sharepoint:spshortcuticon runat="server" iconurl="/Style Library/Images/favicon.ico"/> this control u can find it in Master page in tag but since its a control you can easily use things like $SPUrl to help with the paths.

Differences between Windows SharePoint Services (WSS) and Microsoft Office SharePoint Server 2007 (MOSS)

WSS is included as a part of the Windows Server 2003 whereas MOSS is a separate product.WSS doesn’t have its own licensing model, it is controlled through Windows Server licenses whereas MOSS has it own licensing model that includes both Server-Side as well as client accesses licenses. MOSS includes all the features of WSS and adds its own set of components as services. Additional features that are part of MOSS includes Collaboration Social networking web parts – Colleague Web Part, Colleague Tracking Web Part, In Common Web Part etc. Enterprise search Enterprise content sources Files shares, Web sites, SharePoint sites, Exchange Public Folders, and Lotus Notes databases, more relevant results, people search, business data search.

Un-Floating the Ribbon in custom Master Pages

we the right scroll bar stops at the ribbon? That’s the new functionality at work. It makes editing the page a nicer because you don’t have to scroll to the top of the page constantly. o, how do we make the page scroll in a more traditional fashion? Pretty easy, just follow these steps in your custom master page (or css): Remove or override the CSS that hides the body overflow - body { overflow:hidden; }. You can override with body { overflow:auto; } Note: if you are using v4.master, you need to override this with body.v4master { overflow:auto; } Remove scroll="no" from the tag Remove ID="s4-workspace” from the tag that surrounds the page content (below the ribbon). You can remove the entire tag and its corresponding if you would prefer. Save and check-in / approve and you should have a page that scrolls normally. The ribbon will stay at the top and scroll off the page if you have a lot of page content. Note, ther...

How to hide ribbon row when enabling anonymous access in SharePoint 2010

enable anonymous access to your site the ribbon row will appear for anonymous users but without "site actions" menu and it will be "Login" link but if you need to hide all this row you have to do the following 1- Open your masterpage with SharePoint designer 2- Find the ribbon row Search on "ribbonrow" 3- before the div that holds the ribbon add this tag sharepoint : spsecuritytrimmedcontrol id ="SPSecurityTrimmedControl2" runat ="server" permissionsstring ="ManageSubwebs"> 4- after the end of the ribbon div close the security tag / sharepoint : spsecuritytrimmedcontrol >

How to hide ribbon row when enabling anonymous access in SharePoint 2010

When you enable anonymous access to your site the ribbon row will appear for anonymous users but without "site actions" menu and it will be "Login" link but if you need to hide all this row you have to do the following 1- Open your masterpage with SharePoint designer 2- Find the ribbon row Search on "ribbonrow" 3- before the div that holds the ribbon add this tag 4- At the end of the ribbon div close the security tag