The SharePoint Geek
It is a place for all SharePoint lover and it is completely dedicated to SharePoint and ASP.Net
Friday, January 16, 2015
What to do if "Save library as template" link is missing in your SharePoint site
Tuesday, September 23, 2014
Resolving the error "You must specify a value for this required field" while trying to save and close a SharePoint webPart page
Many times when we design custom master page, we comment out the code block inside the master page which is responsible of showing the Navigation Breadcrumb inside the ribbon. That block is present under the div tag with id 's4-workspace' and with asp:ContentPlaceHolder id="PlaceHolderPageTitleInTitleArea".
So make sure this ContentPlaceHolder is not commented out. If you don't want it to appear in your master page, you can use the Style="display:none" function as shown below. Save it and go back to the page where you got the error and try to save it. You will see the page will be saved without throwing any error!
How to make SharePoint 2010 site logo to take you to the Root Site Collection Home Page
Thursday, September 4, 2014
How to resolve "The security validation for this page is invalid" error in SharePoint 2010
How to resolve "The security validation for this page is invalid" error in SharePoint 2010
How to add ECB Menu Item for specific SharePoint List or Library
How to add ECB Menu Item for specific SharePoint List or Library
How to deploy a WSP to a specific Web Application
How to deploy a WSP to a specific Web Application
Many time there will be requirement to deploy a custom solution to a specific Web Application. But at the time of deployment Power Shell starts throwing the following error:
Tuesday, July 22, 2014
Showing Picture with hyperlink to open link in a new window
Showing
Picture with hyperlink to open link in a new window
src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js">
$(document).ready(function(){
var
url = '://'
+ window.location.hostname;
// get the current website name, and i add
:// to make sure we're looking at the right name
// in the URL, rules out http://www.google.com/site:wss.domain.com
url = url.toLowerCase(); // lowercase
everything to compare apples to apples
$("a").each(function() {
var
link = this; // assign the link object to another
variable for easier managability
var
linkHref = link.href.toLowerCase(); // lower case
it
if(linkHref.indexOf(url) < 0 && linkHref.indexOf('javascript:')
< 0){
// check to see if this A object has this
domain in it and make sure it's not a javascript call
link.target = '_blank'; // change the target
to be in the new window
}
if(linkHref.indexOf('.pdf') > 0){ //
check to see if this is a PDF
link.target = '_blank'; // change the target
to be in the new window
$(link).removeAttr("onclick"); //remove
the SP click event
}
if(linkHref.indexOf('/forms/') > 0
&& linkHref.indexOf(').aspx') > 0){
//check for links in the forms library
link.target = '_blank'; // change the target
to be in the new window
$(link).removeAttr("onclick"); //remove
the SP click event
}
});
});
Thursday, June 19, 2014
How to download all the photos from a dead old giant named ORKUT!!!
https://support.google.com/orkut/answer/3220186?hl=en
- Your profile
- Scraps received
- Testimonials received
- Activities
- Your photos
- Go to the Google Takeout page.
- Click Choose services and then select Orkut.
- Click Create archive.
- Wait for the archive to be ready. It may take some time. Optionally, you can be warned by email when it's ready.
- When it's ready, click download.
Status Indicator webPart not showing status icon
Next I went to the Home page of my site and as per the requirement tried to show the current status by editing the page and then adding the Status List WebPart there. But as soon as I finished adding the Status List as a webPart, I noticed the Status Indicator was not showing up. I created new views, changed different settings but of no use. Soon I realized there must be a different way to show the status in the webpart. And that way is to use Status List webPart or Indicator Details webPart from under the Business Data webPart category. Once you add either of the above into the page, it is going to tell you to 'Open the tool pane' to configure it. In the tool pane select your Indicator List i.e., your status list and select Apply > OK and you are done! Save the page, check it in if necessary and now you will see the status icon showing up in your desired page.
Cheers,
Avik
Wednesday, June 11, 2014
ItemUpdating event receiver throwing error - 0x81020015 The file has been modified by ...
0x81020015 The file XXX has been modified by...
Unfortunately I was not able to fix it and after doing a lot of RnD was not able to find a conclusive solution.
It looks like a read/write lock problem and I was not interested in sending a thread to sleep. So I changed my logic a little bit and started implementing the same logic in Item_Updated event. So if you face the same error, then if Googling doesn't help you much, then I will suggest to tweak the logic and use Item_Updated event! Sorry!