Author Archives: Shakir Majeed

About Shakir Majeed

I am SharePoint certified Specialist, SharePoint Trainer, Techie Speaker. I am in-list of Speakers on SharePoint from Microsoft Innovation Center Karachi Pakistan. I am User Group Leader of SharePoint Techies User Group(STUG),

SPs and CUs,

From some time back, I have been very keen to look into the effort Microsoft provide in doing the post product launch fixes. As a SharePoint Architect, i remain eager to dive deep into these CUs and SPs.

If i give you some example from recent Decemeber  2011 CUs, and the minute fixes provided by the Microsoft is quite fascinating. That’s why this product beats all of the competitor all the way. Following are the some of the examples

  1.   The English spelling checker does not recognize the word “Lync” in SharePoint Server 2010
  2. When you try to use an Apple iPad to visit a dashboard in PerformancePoint Services, the context menu is not displayed.
  3. The XSLT List View Web Part displays an incorrect date format on a SharePoint Server 2010 website if the website’s region setting differs from the SharePoint server’s region setting.

As per the precaution and best practice, dont apply these CU’s if you are experiencing the problem resolved in this CU as per the CU description plus dont try to execute it directly on live server, first check on your dev or UAT. Because these CU are very specific to problem listed in the CUs.

Regards


Add user to local Administrator group

To add the user in the local administrators group,

Go to Command prompt. and run the following command

net localgroup “Administrators” “<domain>\<username>” /ADD

 

Regards,

Shakir Majeed Khan

 

 


Unable to create a Service Connection Point in the current Active Directory domain (PSConfig upgrade).

while Running PSConfig after installing SP1 and hotfix (2597014), i have faced this error,

Unable to create a Service Connection Point in the current Active Directory domain. Verify that the SharePoint container exists in the current domain and that you have rights to write to it.
Microsoft.SharePoint.SPException: The object LDAP://CN=Microsoft SharePoint Products,CN=System,DC=<Domain>,DC=com doesn’t exist in the directory.
at Microsoft.SharePoint.Administration.SPServiceConnectionPoint.Ensure(String serviceBindingInformation)
at Microsoft.SharePoint.PostSetupConfiguration.UpgradeTask.Run()

While following this error, i have found this article to rectify this issue

http://blogs.msdn.com/b/opal/archive/2010/04/18/track-sharepoint-2010-installations-by-service-connection-point-ad-marker.aspx


Summing up year 2011

Well to this year end, let me sum up what i have done in this year
1. Organized as many as 10 User Group session for STUG(SharePoint Techies User Group) .
2. Spoke at 2 SharePoint Saturday Events. (SharePoint Saturday Srilanka, SharePoint Saturday Dubai)
3. Spend my majority of 2011 with Twin Tech (Maventor), both of the company names wont sound familiar, as they are start up companies.
4. Worked on pretty good project http://www.fcpakistan.com as Senior SharePoint consultant. I executed this project from the initiation to the end.
5. Later in the Oct 2011, i have joined another company KalSoft, biggest name in Pakistan Software Houses/ Consulting firms as “Technical Lead SharePoint”.
6. From the very first day in to Kalsoft, i worked on the project for Abu Dhabi Accountability Authority, worked as PM/Tech Lead. And Thanks to Almighty, succeeded to complete this project.
7. Now a days i have been working on two project, Hamdan University and Dubai Government Human Resource.
8. My blog, http://www.junooni.wordpress.com got around 10000 hits this year, which is a major success for me.
9. Cleared all the four certification for SharePoint.

Following are the few misses i have made during this year.
1. Doesn’t get any award from Microsoft, not even the least one. Though i have spoke to different universities(MAJU) and Software House( Ebiz Soft, ITIM) from the MIC (Microsoft Innovation Center) front.
2. I have tried to grab every opportunity as it comes in my way, but yes i did miss some along the way.

Well it is nice to live in this year. Hopes to make the most in coming years.

Regards,
Shakir Majeed Khan


CodePlex- Managed Metadata focused solutions-Part 2

Hello all,

As per the commitment i have made earlier  in my earlier blog CodePlex- Managed Metadata focused solutions-Part 1, this is the part 2 of this series of write ups, CodePlex- Managed Metadata focused solutions.

In this blog i will elaborate the SharePoint 2010 Managed Metadata Importer. It is the simple yet upto the mark kinda command line utility.

The problem statement is simple:

Need a command line tool to add the new terms set in the Group of the Managed Metadata Service.

Solution:

Solution is the above tool.

As per my requirement i have the Term Group Name RockShare,

 

I grab term set SVC file  from the previous solution which i have discussed before, you can get it from there, in the source code, or you can get from here, put it in my C drive.

As i run the importer tool, i got command line window, i entered the details as per the requirement (site url, path of CSV file, Managed Metadata Service name, Group Name)

Just after mentioning the Term Group Name and hit the enter key. Its show you the term which are adding in the heiarchial forma. After filling up the command line window altogether in a split of seconds( depends upon your machine performance :)), the command line window will disappear. Just to check what it has done to my Terms Set, well well it populated all the terms mention in the CSV accordingly.

 

 

Deep Dive in the Code:

Simple but powerful tool. Full marks to the contributor. If you look into the code, there isn’t  difficult to understand, well commented and nicely elaborated. It will populate the term till 7th level,

If you just look into the Main method, you will understand that how the code is getting the Term Set Group, from the parameters provided. Then picking the Term Set Name, from CSV, creating new term set, and then adding all the term, 2nd level Term.

My advice is to you guys always that do read the code, it will increase your understanding with the system and architecture.

Happy SharePointing 😀

 


CodePlex- Managed Metadata focused solutions-Part 1

From past some months, I have been wondering that if there any other site from where i can find out the great amount of work done by community in the Code Plex (www.codeplex.com) .  For all of you guys who don’t know about Code Plex, CodePlex is an open source project hosting website from Microsoft. It allows shared development of open source software.

As i have been working on SharePoint for quite a while now so i guess its a right time to look into these contribution.

All i wanted to blog on each of the modules / pillars of SharePoint to find out that how much work is been done for that particular product on CodePlex. Plus i will elaborate on those solutions which are there solely for that modules / pillars.

Let me start with Managed Metadata, as i have blogged previously, there are tons of resource where you can read in details. In a nutshell, it is central place where you manage tags for the list items.

For preparing this blog i browsed to CodePlex site, and searched with “SharePoint 2010 Managed Metadata”, you will find atleast 27 search results,

To be specific, it is 6-7 solutions which are directly addressing Managed Metadata, let me tell you that i am not degrading other work, but those remain out of scope. Hopefully i will cover those on my other posts.

let discuss them one by one, in this post i will cover only one solution, but i will cover other in my following posts.

Following are the relevant solutions from the Search results on the codeplex.

Let starts with the simple but powerful tool for creating navigation kinda feature for Managed Meta Term. First of all, thumbs up for all of guys who took their time out to make this tool or webpart.

Problem statement.

I have a Document Library (for example, HumanResource) which have the managed metadata field (DocumentType). Let suppose that i have 1000’s of items in that Document Library. Now then if i have to see that how many items attached to particular term.

Is there any way?

Solution

Yeah. You can use this webpart to show that how many items is linked to term, and it shows in the proper term kinda structure navigation. Just deploy the solution and follow the instruction given on the site, you will have this kinda navigation. You can alter the look by writing you own xsl for this webpart.

Deep Dive in the Code:

The best part with open source, yes you have the code. If you look into this webpart code, you can easily identify how it is using the API to find out the managed metadata field and its number of occurrence.

If you really learn and play around with this code, click here to browse the code.

Hopefully i will try to write some code, to get the this kind of navigation for all of the lists available in the SharePoint site. Wish me good luck.

Will evaluate other solutions in my next blogs.

Till then Happy winter and Happy SharePointing.