Friday, July 30, 2010

Embedding YouTube video on a SharePoint site

On the particular day, Client requested to show a YouTube video on a SharePoint site. I did a quick research and followed these steps:


On the SharePoint Site, add a 'Content Editor Webpart'. 


Next, choose 'Source Editor' from the right pane.
Now, go back to the YouTube site and find the video you want to add on the SharePoint Site. There is an Embedded button on the YouTube site, click on that to get the Embedded codes.



Now, Copy these embedded codes.


Open the Source Editor, and paste the already copied text, Save, apply and OK. 




That's all guys!!!

Monday, July 26, 2010

Fixing issue "Your queue job CreateWssSite failed. Please contact your administrator for assistance"

While working on the Microsoft Project Server 2007, you might encounter an issue "Your queue job CreateWssSite failed. Please contact your administrator for assistance" This error shows in an email and normally sent to the Administrator. 


The root cause of this error is, when you are publishing a Project from the Microsoft Project Professional, the Project Workspace URL is asked. There are several validation associated with this workspace URL, like Total length, invalid characters etc. Now, when you are trying to publish your project programmatically, the above mention error showed.


On the Project Server you can view the project workspace URL the following way:







Please use the following setting in the "Project Workspace Provisioning Settings". This setting will stop creating project workspace as soon as you published a project. Now user create the project workspace site manually if he got the permission. 





Tuesday, July 13, 2010

Converting office documents into a web page in SharePoint

While working on SharePoint I was looking a facility to see the uploaded documents as a web page. Then the users does not require a sophisticated office system only to view the documents.


Steps:


1) Go to Central Administration - > Operations - > Services on the Server page.

  • "Document Conversions Launcher Service"
  • "Document Conversions Load Balancer Service" should be Started.





2) Central Administration -> Application Management -> Document Conversation




3) Select the site where you want to use the Document Conversion service and Click on OK.
Please note that, this service only works on a "Publishing Site".




4) Now, go back to your site where the Document Conversion service is enabled. Hover on a document, then select "Convert Document" next, "From Word Document to Web Page". 




5) Specify the Title and URL




6) Following page shows if any errors/warning occurs at the time of conversion.




7) View the document as a web page






Limitation:

  • This service only works in a Publishing Site
  • Converts only Office 2007 documents, does not support .doc files
  • Sometimes images does not show properly on the web page.
  • Does not work if MOSS is installed on a Domain Controller.