Thursday, June 25, 2015

SharePoint 2013 Quick Edit in List and Disable quick edit in SharePoint 2013 List

In SharePoint 2013 here is a good option to edit SharePoint 2013 list item through quick edit item option. To use this Open your SharePoint 2013 list and then from the Ribbon click on LIST tab and then Quick Edit button as shown in the fig below:


When you click on Quick Edit button, it will display in the Edit mode or Datasheet mode for editing List Items. It will display as below:


Disable Quick Edit in SharePoint 2013 List:
To disable quick edit in SharePoint 2013 list, Open the list using browser and then click on List Settings from the Ribbon. From the General Settings click on Advanced settings.

Then in the List Settings page, go to the Quick Edit section select No like below:

Now if you open the list, then you will be able to see the quick edit button is disabled.


Wednesday, June 17, 2015

Add links to top link bar in SharePoint 2013

Here we will see how we can add links in top link bar in SharePoint 2013. There are two ways to do that, one is to directly we can add links in the home page as well as you can add link to top link bat from the Site Setting page.

You may also read:
- Manage Site Content and Structure in SharePoint 2013

- SharePoint 2013 workflow platform

- Custom Actions Add custom buttons to SharePoint list ribbon using SharePoint Designer 2013

First Approach:
Open your SharePoint 2013 site, then in the top link bar click on EDIT LINKS as shown in the fig below:

You can drag and drop any link to the top link bar where it has written "Drag and drop link here". Suppose I want to give a link item ico then I can drag and drop like below:

Then click on Save, it will save the link.

Else you can click on +link icon as shown in the fig below:


This will open the Add a link dialog box and there put the details linke below:

Once you Save, it will appear like below:

Second Approach:
Open your Site, then from the Settings icon click on Site Settings. Then in the Site Settings page, click on Navigation under Look and Feel section.

Then in the Navigation settings page go to the Structural Navigation: Editing and Sorting section and then select the Global Navigation and then click on Add Link as shown in the fig below:


Then in the Navigation Link dialog box, click on Title and URL as shown in the fig below:


Then click on OK and then Ok to close the Navigation Settings page. Then the link will appear like below:




Friday, June 12, 2015

Manage Site Content and Structure in SharePoint 2013

In this post we will discuss about Manage Site Content and Structure in SharePoint 2013. You may also like to:
- Calculate date from date picker inside InfoPath forms in SharePoint 2013

- Redirect to different page after submitting an item to SharePoint 2013 list

- Enterprise Metadata and Keywords Settings in SharePoint 2013

In SharePoint 2010, the Manage Site Content and Structure appears under Site Actions menu as shown in the fig below:

But in SharePoint 2013 it comes under Settings -> Site Settings.

Then under Site Administration, you will be able to see "Content and structure" as shown in the fig below:

By default if you will not be able to see the link in team sites then activate the following features:

First activate "Office SharePoint Server Publishing Infrastructure" Site collection features.

And then "Office SharePoint Server Publishing" site feature.

Or you can also access the page by using the below URL:

http(s)://SiteURL/_layouts/15/sitemanager.aspx


Monday, June 8, 2015

Change Site Logo using PowerShell and Server Side Code in SharePoint 2013

We can change the site logo using PowerShell in SharePoint 2013. Before running the PowerShell command make sure you saved your site logo in any of the document library like SiteAssets.

You may read:
- Configure Following settings in SharePoint 2013

- Calculate difference between two dates Excluding Weekend and Holiday date in SharePoint 2010

- Cancel not completed workflows using PowerShell in SharePoint 2013

Below is the PowerShell command to change the Site Logo:

Add-PSSnapin Microsoft.Sharepoint.Powershell

$web = Get-SPWeb http://SharePointSiteURL

$web.SiteLogoUrl = "/SiteAssets/MyCompanyLogo.png"

$web.SiteLogoDescription = "My Company Logo"

$web.Update()

$web.Dispose()

Server Side Code to Change Logo:
Below is the SharePoint server side code to change Logo.

using (var site = new SPSite("http://SharePointSiteURL"))
{
using (var web = site.OpenWeb())
{
web.SiteLogoUrl = "/SiteAssets/MyCompanyLogo.png";

web.SiteLogoDescription = "My Company Logo";

web.Update();
}
}


Monday, June 1, 2015

Prevent Site from Search Results in SharePoint 2013

In this post we will discuss how to prevent a site to appear in search results in SharePoint 2013. We will see an out of box approach for this.

You may read: Get all items selected using JavaScript in SharePoint 2013 or SharePoint Online, Request approval failed when approving pending request in SharePoint 2013 and Keyword Query Language (KQL) enhancement in SharePoint 2013.

Open the site which you want to prevent to appear in the search result. Then click on the Settings icon. Then click on Site Settings.

This will open the Site Settings page.

Then click on Search and offline availability in the Search section like below:


This will open the Search and Offline Availability page. There click No in the Indexing Site Content section, Then click on OK.


Once you click on OK, it will not appear in the search result, as well as the content from its subsites will not appear in the search result.


Twitter Delicious Facebook Digg Favorites More