Update Single/Multiple Lookup field in SharePoint 2010 using WCF Data Services, REST API, C#

If you want to use SharePoint 2010 WCF Data Services to update SharePoint lookup field in a list; you need remember following things: To update single Lookup field: Use Id to reference to the looked up list object to the target list object similar as the code below:  To update…

Continue ReadingUpdate Single/Multiple Lookup field in SharePoint 2010 using WCF Data Services, REST API, C#

SharePoint 2010 Excel Services: Unable to process the request ERROR

Sometime you receive error message “Unable to process the request” as picture below: If open the Event Viewer in SharePoint Server, you will se the exactly error message related to Excel Services as below: There was an error in communicating with Excel Calculation Services http://SPSERVER2:32843/1d6c7449da5d4abd9e3e12d23d550738/ExcelService*.asmx exception: An error has occurred.…

Continue ReadingSharePoint 2010 Excel Services: Unable to process the request ERROR

Khóa học SharePoint 2010 tại TechMaster

SharePoint 2010 là một giải pháp xây dựng cổng thông tin điện tử cho doanh nghiệp, chính phủ số một hiện này. SharePoint 2010 có thể cài đặt, cấu hình để đáp ứng ngay những nhu cầu cộng tác, quản lý công văn, luồng công việc, xin-duyệt mà không cần…

Continue ReadingKhóa học SharePoint 2010 tại TechMaster

SharePoint 2010 BDC using EF4: Troubleshooting

This article listing common errors when develop CRUD Business Connectivity Services solution in SharePoint 2010 using ADO.NET Entity Data Model (EF4). Error 1: ConnectionStrings “The specified named connection is either not found in the configuration, not intended to be used with the EntityClient provider, or not valid.'”."ADO.Net Entity Framework Connection…

Continue ReadingSharePoint 2010 BDC using EF4: Troubleshooting

TFS2010: Project data is unavailable at this time

Error: Project data is unavailable at this time. As a result, all reports on this dashboard have been hidden. After you have created data in your team project and the warehouse has been processed, reports will be available. Solution: Using the TFS console 1. Verify connectivity to Analysis service (Edit->Analysis->Test…

Continue ReadingTFS2010: Project data is unavailable at this time

Building batch approval ribbon in SharePoint 2010

In SharePoint 2010, We can delete multiple items but cannot with approve/reject items. So, how can user approve/reject multiple items in one time? For example TimeSheet application in SharePoint. We can create custom Ribbon then using Application page as dialog and SharePoint Server-Side object model to solve that problem. To…

Continue ReadingBuilding batch approval ribbon in SharePoint 2010

ECMAScript: SP.ClientContext is undefined or null

Sometime We cannot use SP.ClientContext in Site pages, Web part pages or Application pages. Although We was following this guide from msdn Setting Up an Application Page for ECMAScript If so, please replace the below lines <script type="text/ecmascript" src="/_layouts/SP.Core.js" /><script type="text/ecmascript" src="/_layouts/SP.Debug.js" /><script type="text/ecmascript" src="/_layouts/SP.Runtime.Debug.js" /> With <SharePoint:ScriptLink ID="ScriptLink1" Name="sp.debug.js"…

Continue ReadingECMAScript: SP.ClientContext is undefined or null

SharePoint 2010 Woes: Avoid comments in your CustomAction-XML for Ribbon customizations

For a customer project I had to add a custom tab to the Ribbon of SharePoint 2010 for a specific library. In this tab I wanted to have several groups of controls. In one group I needed to have a button that triggers the standard upload functionality of SharePoint (Command="UploadDocument").…

Continue ReadingSharePoint 2010 Woes: Avoid comments in your CustomAction-XML for Ribbon customizations