I thought I needed a SharePoint Provider Hosted App for that. – Part 2

In my previous post I explained how to create a SharePoint Remote Event Receiver (RER) without the need for a Provider Hosted Application (PHA).  In this post I’ll go over a few limitations to this approach that may help you determine if it is right for you.  I’ll also talk a bit about some other…

0

I thought I needed a SharePoint Provider Hosted App for that. – Part 1

This is part 1 of 2 where I’ll explain deploying a SharePoint Remote Event Receiver (RER) without the need for a Provider Hosted Application (PHA).  In part 2 I’ll talk a bit about the limitations of this approach and also mention some other really great client side enhancements that you can add without deploying a PHA. …

0

SharePoint View CAML [Me] query not returning items belonging to me even though I’m logged on as… Me.

The short answer…  When creating a view through code that targets a field of type “User”, the following CAML will not work <Where><Eq><FieldRef Name=”MyUserField” /><Value Type=”User”>[Me]</Value></Eq></Where> nor this <Where><Eq><FieldRef Name=”MyUserField” LookupId=”True” /><Value Type=”User”>[Me]</Value></Eq></Where> nor this <Where><Eq><FieldRef Name=”MyUserField” LookupId=”True” /><Value Type=”Lookup”>[Me]</Value></Eq></Where> this works <Where><Eq><FieldRef Name=”MyUserField” /><Value Type=”Integer”><UserID Type=”Integer” /></Value></Eq></Where> The long answer… I recently created a…

1

Auto collapse multi-valued refiners in the SharePoint 2013 search refinement panel

My client asked if it was possible to auto-collapse the refinement panel and I thought to myself…  that should be a setting right?  Probably something that I had just never used or needed, it’s got to be there.  No. So I found this great post that gives some good instruction on how to modify Filter_Default.html…

11

"Invalid provider type specified." when using a high trust cert that was created with CNG in a Provider Hosted App

The short solution:  When generating a cert to be used for high trust in a Provider Hosted application, choose “(no template) Legacy key”, Microsoft RSA SChannel Cryptographic Provider. The longer explanation: In my continuing journey with Provider Hosted applications, I’ve run into a new issue that is documented in other areas of Microsoft technology, but not…

0

Taxonomy fields return as Dictionaries using the Client Objcet Model in SharePoint 2013

Recently, a collegue of mine and I ran into this issue. The Problem: Let’s assume you execute the following code against one of your SharePoint lists that contains taxonomy fields List oList = cc.Web.Lists.GetByTitle(listName);CamlQuery camlQuery = newCamlQuery();camlQuery.ViewXml = caml;ListItemCollection collListItem = oList.GetItems(camlQuery);cc.Load(collListItem);cc.ExecuteQuery(); Firstly, we’ll assume (and you must),  you’ve added a reference to Microsoft.SharePoint.Client.Taxonomy.  Without a…

2

Greetings!

Hello everybody, I am a software engineer, designer, developer and technologist in general.  I’ve been doing this professionally for about oh… 26 years (Yike!) and have been with Microsoft for almost 3 years.  I’ve owned a software company, led numerous development projects, been a DBA, managed project schedules, development teams, etc. etc. ad infinitum.  Assembler and COBOL to C++,C# and everything in between, this platform,…

0