Showing posts with label SharePoint 2013 OOTB Features. Show all posts
Showing posts with label SharePoint 2013 OOTB Features. Show all posts

Friday, January 23, 2015

How to hide menu item in SharePoint 2013 ?

Lets take up the scenario to hide menu item TestLink which comes up on all the pages across the site under About us Menu section (as shown below)



steps 1:


Open your site and navigate to site settings as show in below screen shot







2. Click on Navigation link from Look and feel section















3. Scroll down on Navigation settings page till global navigation setting as shown below , select the TestLink which needs to be hided and click on Edit from top menu


4. a new pop up window called as Navigation Link is opened ( as shown below )  , at the end on Navigation link please add the group which can see the Link . here i had added viewers group so users belonging to viewers group can see this 
















5. Click on Ok button on Navigation Link page and also on Navigation Settings page .
6. Now Navigate to Home page and test Menu item link using user account other than viewers group it should show as below.






Friday, January 16, 2015

Increase upload file size in SharePoint 2013

Hi All , this blog will talk about how to increase default upload file size for SharePoint Web Application using central admin configuration, this is one of the common issue while uploading video or any other large files to Sharepoint. 


Steps 1: Navigate to central admin and open “Manage web applications” link


Step 2: once web application management page is opened, select
https://downstream.petronas.com and click on general setting from ribbon button
As shown below



Step 3: Once general settings pop up window is opened, scrow down to Maximum upload size section and change the default 250 MB to 500 MB, scroll down to save the change by clicking on ok button.

The default maximum file size is 250 MB . This is a configurable up to 2 GB(2,0470 MB).



 Thanks !!

Sunday, December 7, 2014

Programmatically Download sharepoint file


      Here I wil talk about how to download sharepoint file (image/Document/Video) on button click, SharePoint provides you inbuilt solution using STSNavigate function which helps to navigate to system page download.aspx and download.aspx contains code to download file


1. If using server side code


downloadButton.OnClientClick = "STSNavigate('" + SPContext.Current.Web.Url + "/_layouts/15/download.aspx?SourceUrl=" + fileURL + "' ); return false;";


In above line of code STSNavigate will do magic of giving user save as option of specified file URL, also here we are using system page download.aspx


2. If using client object model

if below code the only thing you need to do is to form fileURL.
$(‘#<%=btnDownload.ClientID%>’).click(function (e) {
STSNavigate(‘<%= SPContext.Current.Web.Url %>/_layouts/15/download.aspx?SourceUrl=’ + fileURL);
return false;
})


Monday, June 9, 2014

SharePoint 2013 - QuickEdit Option in List

This blog will talk about how to do bulk Copy of list items to SharePoint 2013 List using QuickEdit, below are steps with screen shots 


1. First export your content ( in my case i exported from moss 2007 using export to excel option )
  after export hide the columns which we should are not supposed to be imported ex : modified by , modified etc. After import content looks in excel as below




2. Navigate to SharePoint 2013 where content should be imported and create required columns 
Click on list tab from ribbon and click on QuickEdit button 


3. Now copy  the content from excel to list by just copy n paste