All Things DotNet - All Things DotNet Discussed - Winforms/ASP.Net/SharePoint/WPFAll Things DotNet
  • Subscribe to this RSS feed
  • Receive updates as soon as they are posted.

Yesterday, I was trying to create a new page on a publishing site. When I pressed the ‘Create’ button. I got a message that I couldn’t do that because it was checked out by another user. In this case, the user was no longer here. I went to the Pages Library and I couldn’t see the new page at all, so it was a little confusing, to say the least.

As it turned out, this user had created a file with the same filename I had chosen, but never finished it and therefore had not checked it in.

To fix it, I went to the Site Contents (v2013) Pages Library and clicked on ‘List Settings’. Low and behold, there was a link under Permissions and Management named ‘Manage files which have no checked in version’. When I clicked on this, I saw a heading titled “Files Check out to others” with a checkbox to the left of each one. That new file was in the list.

All I had to do was select the checkbox by my file and go to the top of the page where there was a link called “Take Ownership of Selection”. From that point, I could work with the file and change it to the formatting I desired. Easy – right?

May 22 , 2017 | | In: SharePoint

How to fix Incorrect JavaScript Redirect URL

Let’s say you’ve decided that a page you have (like a default page) is not where you really want your users to land. However, since people have bookmarked the page, you don’t want to delete the page and you’ve decided to add a Content Editor web part on the page and put a JavaScript redirect there instead.

Oops! – it’s done, but now you find out the page to which you’ve redirected either doesn’t exist or it’s the wrong page. The problem is that you cannot land and stop on that page to fix the redirect because the redirect automatically happens. Have no fear, there’s a fairly simple way of fixing this by putting the page in ‘Maintenance’ mode.

If your original URL is:, just put a querystring at the end of the URL, after the page name, like:

This puts the page in the web part Maintenance view. Your Content Editor web part you just put in the page should be at the bottom of the web part list you will see on that page. Just click the checkbox to the left of it and at the top, either click ‘Close’ to close that web part on the page or ‘Delete’.

When you go back to that page, your Content Editor web part will not work and you should see the page just as it was previously. From there, you can add another Content Editor web part to start over again (or do whatever you need to do). Do remember to set the new web part’s Chrome to ‘None’. Since that page might show very quickly before the redirect, normally, you don’t want a ‘Content Editor’ title to show at the top as you are redirected. Although that would probably be OK, this presents a cleaner look to the user.

When configuring a Search Result Source in Central Administration, if you come across an error like this in the subject line, it’s very simple to fix.

You justneed to activate the “Search Server Web Parts and Templates” feature.

Just go to SharePoint Management Shell (run as administrator) and run this command:
Enable-SPFeature SearchWebParts -url http://<Your Central Admin Url>

Refresh the Search Results Page and you’re good to go.

If you are using SharePoint 2013 and trying to add an Excel workbook to only show a Named Definition, in a Publishing Page, you will be fighting forever.
Read the rest of this entry »

It’s really easy to remove the ‘Edit Links’ from Global Navigation in SharePoint 2013. Just add a little CSS to either the page or the CSS file:
<style type="text/css">
#DeltaTopNavigation > .ms-navedit-editArea { display: none }

May 10 , 2016 | | In: SharePoint, SharePoint 2013

Manage Content & Structure

So, you now have SharePoint 2013, and you notice that the menu item called ‘Manage Content & Structure’ is missing. Calm down. You can still get there.
Read the rest of this entry »

Is that automatic Page title on pages annoying to you?
Do you want to remove it? Read the rest of this entry »

Let’s say you have accidentally deleted a file and you need to get it back. You’re new to SharePoint 2013, and in 2010, it was easy to get to, there at the bottom of the page on the left, but now it’s not there.

Have no fear, you can still use it to restore your files. As a Site Collection Administrator, just login and go to Site Actions/Site Settings/Site Collection Administration. One of the items should be ‘Recycle Bin’. Click on that link and go to the file or files you need to restore. Select it with the checkbox to the left, and at the top of the list, click on ‘Restore Selection’.

That’s all there is to it!

Changing the Favicon in SharePoint is very easy.
1. Create your icon and name it ‘favicon.ico’
2. Go to the path on the server below and back up the original icon.
3. Save them both somewhere to be able to be used at a future date, if necessary.
4. Copy/Paste your new favicon.ico to the path.
5. If it doesn’t show up immediately, it could be cached, so press Ctrl-F5 or use your Browser Tools to refresh the cache – voila!

C:\Program Files\Common Files\microsoft shared\Web Server Extensions\15\TEMPLATE\IMAGES (for 2013)
C:\Program Files\Common Files\microsoft shared\Web Server Extensions\14\TEMPLATE\IMAGES (for 2010)

Let’s say that in SharePoint, you want to use the Contribute permission level, but you don’t really want the users who have that permission level to be able to delete anything. It sounds harder than it really is.
Read the rest of this entry »


All Things DotNet Discussed – Winforms/ASP.Net/SharePoint/WPF

If you find this site helpful,
please donate to help keep it online and free

Code 'n' Sprox   DreamTemplate - Web Templates

Follow us on Twitter

Follow AllThingsDotNet on Twitter

Test - The Name: 6936