Posts

How to Remove “+ Add document" from a SharePoint 2010 Document Library

Image
In previous article , we have learned how to hide upload button of document library. In this post, we will see how to remove the “ + Add document” option from the document library in SharePoint 2010. We will get some scenarios where, we will display the document library I different view and in that, we don’t want this option to be shown to the users. Because, it will allow the users to upload the documents. Suppose the below is the document library where we want to hide the Add document option   We can achieve this by the following methods 1.    Editing the WebPart 2.    Using SharePoint Designer(CSS) 3.    Using J Query 4.    By Permission level(Default) 1. Editing the WebPart Go to Edit WebPart -> Tool bar Type -> Select NoToolBar option which will hide the Add Document option 2. Using SharePoint Designer(CSS) Go to the designer and edit the page/webpart where you want to hide. Search for  class=”ms...

Hide the Upload Button of the Doucment Library

Open your site using SharePoint Designer.  Once opened, navigate to your Library and edit your default view.  (All Files -> Your Library -> Forms -> Your View.aspx , right click and select Edit File in Advanced Mode) At the bottom of the screen you will see three options Design, Split, and Code.  Select the Split option. In your code window, locate the  <asp:Content ContentPlaceHolderId=”PlaceHolderMain” runat=”server”>   tag. Now, scroll down and find the closing  </asp:Content> tag.  Insert a line above the closing tag.  Place the following code into that newly created blank line. <style type="text/css">  #Ribbon\.Documents\.New\.AddDocument-Large { display:none; }  #Ribbon\.Library\.Actions\.OpenWithExplorer-Medium { display:none; } </style> Click save, then refresh your page.  The Documents tab should now be missing the Upload Document button and the Library tab should be...

PAGE NOT FOUND ERROR PAGE IN SHAREPOINT 2013

Image
Default PageNotfound\404 page   - By default, all the Publishing sites contain a default Error\404 page  “PageNotFoundError .aspx” page which is added to the “Pages” library (See below). This page can be modified to add some custom text. “Error Page” Content Type -   To allow users to Create a new 404 Error page, Publishing Sites now contain a new Content Type “ Error Page “.This Content type Inherits from “Page” Content type and has a typical layout of a Page Not found or 404 pages. To find this Content type Navigate to Site Settings -> Content Types -> Error Page. Create a New PageNotFound or 404 Page  – To Create a new 404 page admins can navigate to the “Pages” Library and under the “Files tab” select “New Document”.In the “New Document” drop-down menu select “Error Page” (see the screen below). Once you have Created a new Error Page you can modify it by simply clicking the page in the pages library and editing it. Once do...

The Server was unable to save the form at this time. Please try again.

Image
error : " The server was unable to save the form at this time. Please try again. " i got this error while i updating list item in SharePoint 2013 custom list. I am surprise, now how i fix this and what causes to happens this issue. then finally i found some reference to restart "Search Host Controller Service". As of now i don't know why we restart. for time being i tried and now its works fine without issue. you can find "Search Host Controller Service" at manage services in central administration, just stop and start.

Overview of the SharePoint 2013 page model

Image
Introduction to the page model Before you design or brand a SharePoint site, you need a basic understanding of the parts of a SharePoint site and how a SharePoint page is put together. This article gives you a visual overview of the pieces to think about as you plan how to brand your site. This article applies specifically to publishing sites in SharePoint 2013. Master pages, page layouts, and page   SharePoint uses templates to define and render the pages that a site displays. The structure of a SharePoint page includes three main elements: Master pages define the shared framing elements—the chrome—for all pages in your site. Page layouts define the layout for a specific class of pages. Pages are created from a page layout by authors who add content to page fields. Figure 1. Master page, page layout, and page Master pages A master page defines the chrome (the shared framing elements) of your site. These elements may include the header and footer,...