Pages

Showing posts with label SharePoint Tips & Tricks. Show all posts
Showing posts with label SharePoint Tips & Tricks. Show all posts

7 Jan 2014

How to know which W3WP process is attached to Web application in SharePoint?

1.Open command prompt.

2.Type the following command
C:\Windows\System32\inetsrv>appcmd list wp

(here we can see W3WP process and web application details) 

How to hide ribbon controls in NewForm, EditForm, and Dispaly form and created by, modified by information for lists and libraries?





















The following is the CSS code for hiding ribbon bar in list forms.

<style type="text/css">
            #s4-ribbonrow, .ms-descriptiontext, .ms-cui-topBar2, .s4-notdlg,
           .s4-pr s4-ribbonrowhidetitle, .s4-notdlg noindex, #ms-cui-ribbonTopBars, #s4-titlerow,
            #s4-pr s4-notdlg  s4-titlerowhidetitle, #s4-leftpanel-content
             {
                   display:none !important;
             }

            .s4-ca
             {
                  margin-left:0px !important;
                  margin-right:0px !important;
             }

</style>