Category: SharePoint Development


  • Since the new User Profile Batch Update API is not available on all tenants yet I have been using the “User Profile Bulk Property Updater” from the OfficeDevPnP samples at https://github.com/OfficeDev/PnP/tree/master/Samples/Core.BulkUserProfileUpdater This bulk updates user profile properties in SharePoint Online through the use of a CSV file. I am a big fan of Office 365…

  • Trying to filter a list on its workflow status is pretty non-intuitive. You need the special status codes. Theese will work with all workflows in ShaePoint even Nintex workflows. Status Code Status Description 0 Not Started 1 Failed on Start 2 In Progress 3 Error Occurred 4 Cancelled (i.e. Stopped by User) 5 Completed 6…

  • Here is a list of web template features to use in your SharePoint 2013 web template projects. Make sure that each of the features in the table beneath is contained in the WebFeatures section in your ONET.XML DisplayName Feature ID AccSvcAddAccessApp d2b9ec23-526b-42c5-87b6-852bd83e0364 AnnouncementsList 00bfea71-d1ce-42de-9c63-a44004ce0104 BaseWeb 99fe402e-89a0-45aa-9163-85342e865dc8 BizAppsListTemplates 065c78be-5231-477e-a972-14177cc5b3c7 ContactsList 00bfea71-7e6d-4186-9ba8-c047ac750105 ContactsList 00bfea71-7e6d-4186-9ba8-c047ac750105 CustomList 00bfea71-de22-43b2-a848-c05709900100 DataConnectionLibrary…

  • The following table lists the locales/languages with an assigned Locale ID (LCID). Helpful in development of solutions in multilingual environments. Language Country/Region Locale ID Afrikaans South Africa 1078 Albanian Albania 1052 Arabic Algeria 5121 Arabic Bahrain 15361 Arabic Egypt 3073 Arabic Iraq 2049 Arabic Jordan 11265 Arabic Kuwait 13313 Arabic Lebanon 12289 Arabic Libya 4097…

  • Using the in the the wrong parameter with the SPWeb.GetList method you will receive a FileNotFoundException with the following very SharePoint-ish error message: System.IO.FileNotFoundException: <nativehr>0x80070002</nativehr><nativestack></nativestack><nativehr>0x80070002</nativehr><nativestack></nativestack> The stacktrace will often give more information but the ULS log it wil simply show: <nativehr>0x80070002</nativehr><nativestack></nativestack> So the parameter is incorrect; Either the URL does not specify a valid path…

  • When compiling a project in Visual Studio, I got the error message “the exec task needs a command to execute” , with no line number or anything. Solution Check the “build Events” in the project properties. The error is caused by a newline character in the pre or post build text fields. This applies to…