Pages

Saturday, March 26, 2011

Cognizant Boosts Efficiency, Cuts Costs, with Collaboration and Development Platform

Hey readers, check out this case study how Congizant, a global provider of IT, consulting and business processing outsourcing, leveraged SharePoint Server 2010  to improve efficiency, cutting cost and bringing collaboration within their company. Just awesome!!!! Let me know your thoughts....

http://www.microsoft.com/casestudies/Case_Study_Detail.aspx?CaseStudyID=4000008719

Friday, March 18, 2011

Passed MCTS 70-667 exam

Passed!!!! 783 score!!!!!

Access denied by Business Data Connectivity - Solution

Just a FYI for folks trying to setup BCS. After setting up your external list, if you navigate to this list in SharePoint you might receive the following error: "Access denied by Business Data Connectivity". If so, then follow the instructions in this link. Also, replicate the same permissions to the "Set Metadata Store Permission" section. Since the metadata store contains all the models, external content types, methods and methods instances you need to set the permissions for your users to interact with metadata components, such as external content types. For more information regarding your permission options in the metadata store, check out Business Connectivity Services security operations (SharePoint Foundation 2010) which provides a set of security related admin  task for your BCS service application.

I hope you learn something, let me know what think.....

Thursday, March 10, 2011

Something I learned about wss and moss for SharePoint 2007

In wss the spell checking feature on a wss list is not avaliabe to users and you don't have the option to activate it on site, site collection nor in ca. In moss there is a feature within ca that you activate or deactivate. Took me about 2 hours to figure this hours, grr.

Well I hope you learn something.

Wednesday, January 12, 2011

Using the ECMAScript Client Object Model to display all sub sites from your top level site in SharePoint Server 2010

Hey readers, I wanted to share with you a solution that I came up with on how to show all sub sites from your top level site using SharePoint's ECMAScript Client Object Model. Let’s get started!!!
 
 First, add a Content Query Web Part to your home page.










Home page view after adding the content query web part.










Next, edit the web part by clicking on the down arrow next to the checkbox and select the ‘Edit Web Part’ menu item.








Now we need to do some HTML editing within the Content Query Web Part. To do this we must double click on the content ‘Click here to add new content’, then select the HTML button towards the far right of the ribbon and select ‘Edit HTML Source’ menu item.










Now you should see the HTML Source dialog window appear. Within this window I want you to add the following code below.











ExecuteOrDelayUntilScriptLoaded method?
This method accepts two parameters, your function name and one of SharePoint's scripting files which is required inorder for you to interact with SharePoint. In my solution, the sp.js file provides you with the ability to retrieve site information, list information, even allows you to perform CURD operations against a single list and more. Before we can do this we first allow the sp.js to load, which is the purpose of the ExecuteOrDelayUntilScriptLoaded method, once the file is loaded then your method is executed. There’s a bunch more scripting files which allows you to interaction with other areas of SharePoint check out ECMAScript Class Library for more information.


ShowAllSubSites first establishes a connection to SharePoint by creating an instance of the SP.ClientContext object, similar to SPContext object. Now that I have a connection establish I can begin with retrieving all my child sites by using the ctx.get_web().get_webs() method. In short, this retrieves all sub sites for the current web application. Finally, we call the executeQueryAsync method which does async request back to SharePoint to retrieve all child sites from your top level site. If the call was successful then the onUpdate method is executed, else the onFail method is executed.

 
 
 


After a successful call, now we need to loop though the this.webSubSites collections object to print all child sites to the screen.






Here is your end result:






So here's a simple way to retreive all subsites using the ECMAScript client object model provided to you by SharePoint. You could  a data view web part or a content query web part, but then you're working with xslt and I haven't master xslt.....yet!! Well I hope you’ve learned something from this post, let me know if you like it or not. Other than that, thanks for stopping by. Below is a list of articles that I used to achieve this solution.
References:

Wednesday, September 1, 2010

ULSViewer

For SharePoint 2010 Developers - I found this cool tool that traces in real time your SharePoint log file and helps outs with the ambiguous "Correlation ID" errors that SharePoint provides. ULS Viewer . Check it out and let me know what you think about it.

Friday, June 4, 2010

What really motivates us? Is it money?

Hey readers,

I found this cool video presentation on Stephen Forte`s Blog that talks about the surprising truth about what motivates us. David Pink is the speaker and  he explains they various factors that really motivates really us in the work place. What I took from this is that money is a motivator, that obvious, the higher the pay, the better performance. If you remove the worries of money, meaning if you pay people enough to take the issue of money off the table, then instead of money leading to better performance, now you have 3 factors that lead to better performance; autonomy, mastery and purpose. Autonomy describes our desire to be self directed, which management wants. Manages expects their employees to be self-directed, not be dependent on their managers to direct them. Next you have mastery which describes our urge to get better at stuff, so for example I enjoy programming on the weekend, working with WCF, SQL Server, ASP.NET, etc., some might think that I'm acting irrational for doing work and not getting paid for it, so why do I do it? Because I love programming, learning, doing something new provides me with a feeling of self satisfaction and accomplishment and I can use my skills to produce applications where users can benefit from.....Then finally you have purpose, where purpose is to be a better an employee, putting yourself in a position where you can help others and be more effective when engaging with the company clients. Its an interesting video post. Check it out and post your reactions.....I'll be waiting....Below is the link

What really motivates us?