How to list all Site Custom Actions using CSOM and PowerShell in Office 365

Hi, Today a short one :P, I’d like to share how to query and list all Custom Action for a SharePoint Online Site Collection using CSOM:   HTH @jquintozamora

Compile, optimize and watch our LESS / CSS files with Gulp tasks using Visual Studio 2015 in our SharePoint Online solutions

When we are working on SharePoint (or Office 365) projects, eventually you need to integrate custom CSS, HTML, JavaScript within SharePoint components. I remember my first projects with SharePoint 2007 where we coded server components with C# or VB and it were really hard to integrate custom CSS and JavaScript in our solutions. But since Read More →

TypeScript: Configure the environment to use the latest installed version

Hi, Yesterday (4th May 2016), Microsoft announced the new SharePoint Framework ( TypeScript will be important technology for developing new client web parts, you can see a good article of my colleague Chris ( TypeScript code is not processed by browsers that work with JavaScript code. Therefore to be executed, TypeScript code has to be Read More →

How to configure Visual Studio 2015 with the latest version of Node.js and NPM

Hi, I recently installed Visual Studio 2015 Update 2 in order to work in a project, in which, we would like to use a combination of  different technologies like SharePoint stuff, React, Node.js, LESS and Gulp. In my opinion, is good to to use new technologies at the right time, in terms of, learning curve, Read More →

Convert from two letters language code to four letters Language Tag with PowerShell

Hi, This post is about how to convert two letter language code to four letter language tag format (Language Tag defined by Microsoft). Introduction Windows Language Tag was defined based on IETF BCP 47 best practice that defines “Tags for Identify Languages” and all the values and the Windows version where released are documented here Read More →

Dealing with authentication when Developing with multiple Office 365 tenants using Chrome Profiles

Hi there, When we are developing with multiple tenants in Office 365 using the same development environment, I am pretty sure we are annoyed when we have to deal with with the Office 365 authentication. That is not Office 365 issue, is just having different accounts having to access to the same authentication portal in Read More →

Using PowerShell To retrieve all Sites (Web Object) recursively from SharePoint Online

Hi there, When you deploy a solution in SharePoint Online (SPO) sometimes, you need to apply some post – configurations and need to iterate thru all sites and sub-sites in a given Site Collection. In general talking about Office 365, there is more frequent the use of PowerShell to solve some kind of processes automation. Read More →

Using PowerShell to Add WebPart to SharePoint Page via CSOM in Office 365

Hi, This time, I was supposed to add a webpart to SharePoint Online page programmatically. It depends on our requirements, but we could use JavaScript or other Client Object Model libraries to add a web part to SharePoint page. My advice is, even if your requirements guide you to write PowerShell script, try to use Read More →

Using PowerShell to Set Available Web Templates via CSOM in SharePoint Online / Office 365

Hi, Sometimes, the easiest way to deploy some additions, or updates in an already deployed SharePoint Online solution, is using PowerShell. In my case, I had the requirement of updating some Web Templates in a Office 365 Intranet and enable these Web Templates to be used in several sites that were already provisioned. So, ideally Read More →

SharePoint Online PowerShell problem: Cannot convert the "Microsoft.SharePoint.Client.ClientContext"

Hi, When we are doing a SharePoint deployment using PowerShell there we could find similar problem like that: Cannot convert the “Microsoft.SharePoint.Client.ClientContext” value of type “Microsoft.SharePoint.Client.ClientContext” to type “Microsoft.SharePoint.Client.ClientRuntimeContext”.” In my scenario I was trying to Activate a Sandboxed solution using PowerShell: $ctx = New-Object Microsoft.SharePoint.Client.ClientContext($siteUrl); $credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($adminUsername, $secureAdminPassword); $ctx.Credentials = $credentials [Microsoft.SharePoint.Client.Publishing.DesignPackage]::Install($ctx, Read More →