Thursday, June 19, 2014

How to download all the photos from a dead old giant named ORKUT!!!

Copy - Paste from the following url:
https://support.google.com/orkut/answer/3220186?hl=en

In order to download your Orkut information, you must be the owner of the account. Some Orkut information can be downloaded using Google Takeout in a single ZIP file containing HTML files and JPEG photos.
You can download these items from Orkut:
  • Your profile
  • Scraps received
  • Testimonials received
  • Activities
  • Your photos
Note that you can only export the testimonials and scraps you have received and their comments.
To download your Orkut information:
  1. Go to the Google Takeout page.
  2. Click Choose services and then select Orkut.
  3. Click Create archive.
  4. Wait for the archive to be ready. It may take some time. Optionally, you can be warned by email when it's ready.
  5. When it's ready, click download.
There's no limit on how many times your Orkut information can be downloaded.

Status Indicator webPart not showing status icon

Today I created a SharePoint list (say XYZ) and then a Status List. Then in the Status list I added the SharePoint list XYZ by selecting New > SharePoint List based status indicator. It was working as expected.
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 - 0x81020015The file has been modified by ...

Few days back I tried to create an event receiver on a SharePoint Library which is going to fire whenever somebody adds a new record. At the time of adding the record the event receiver was supposed to add the logged in users name into a custom column. But to my great amusement it started throwing the following error:

0x81020015The 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!

How to show values on mouse hover on a graph present in SharePoint Chart WebPart

To show values on mouse hover on a graph present in SharePoint Chart WebPart, do the following:

1. Add a Chart Web Part from Business Data Category
2. Select the Date and Appearance link present on the newly added Chart webPart
3. Select Customize your Chart
4. On the left side Chart Customization Wizard, expand Step 3 and select Hyperlinks and Tooltips
5. On the Series Tooltip box enter #VALX [#VALY] and select Finish
6. Stop Editing or Check In the page

Now hover your mouse on the graph and you will see value at those point in X,Y manner.