Moving SharePoint documens and save it’s URL , create shorten URLs using SharePoint Document ID


The Problem


Suppose yo have this case

1-Important document uploaded to a document library in SharePoint site.

2-You sent the document URL to thousands of your customers

3-For organizing  reason the document is moved inside a folder in the document library or the document library itself is moved to other sub site.

4-The document link is failed to open by your thousands customers !

Also many problems as the above one another example you need to gave users a Shorten URL for a specific page in SharePoint.

Continue reading


Create custom error page for SharePoint event receiver


Note: you can download the full solution by Click Here

When a custom validation error occur  in SharePoint event receiver from your code and you cancel the event ,  the user will see the error in an ugly .Net default error page !

So in these steps we will view a custom error page that contains a friendly error , our example is to validate the input data in “Title” column and view an error if the “Title” is not equal “Hello” 😀

Continue reading

Fun with InfoPath and XSLT – set repeating table | section rows number by user


Note: you can download the full example by Click Here

Repeating  table and repeating  section are two controls in Microsoft InfoPath that takes a data source to bind , the number of rows for both are based on the data source rows count.

suppose you need to create a repeating  table or section rows at run time by entering the number  of rows  for repeating table by the user !

Continue reading

Generate .Net web service from WSDL file “identical”, best practices


The goal from generating .Net web service from a WSDL file is to generate a typically web service that send and receive identically SOAP messages for both you web service and the native WSDL that you need to generate the web service from it.

To achieve this goal with  a simplest way (i will describe in the end of this post way it is a simplest 🙂 ”  follow the steps:

Continue reading

Your license conversion operation failed. Check the error logs for details , sharepoint 2010 upgrading error


When i tried to upgrade a sharepoint license from trail to full version i got this error

Your license conversion operation failed. Check the error logs for details

The solution simply is

1-ensure the “sharepoint administration service” is up (windows service )

2-put your key and click ok you will find the error again

3-did an IIS reset 🙂

The problem solved after these steps 🙂

I got the solution from this blog

Good Luck 🙂