Wednesday, April 17, 2013

Sharepoint 2010 : Securing Your Web Part

When to secure your web part?
Scenario:
Let say you have a page with some information; most of the information there is for public viewing. It’s just that a part of it is not meant for public. So instead of having 2 pages with 90% similar information, you can actually have 1 page with some confidential information – only for selected users.
What you have to do is create a separate web part for the confidential information and assign target audiences for the confidential information.

With this, information in this web part is secured and cannot be view by public.
As simple as that!

Wednesday, April 10, 2013

Documents icon did not showing up in search result - Sharepoint 2010

Picture is from Google :)

Some of my users complaint that they did not see the document icons in search result - after we installed the iFilter.
When we check, the source of the images is empty. (src=" ")
But it is weird because certain users can see the document icon perfectly.

After investigation, we found that there are double mapping key in xml file (docicon.xml).

<Mapping Key="pdf" Value="pdf16.png"/>
<Mapping Key="pdf" Value="pdf.gif" OpenControl=""/>

After removed one of the mapping key the search icons were displayed perfectly for all users. 

I am now happy :)