Author: jbmurphy
-
SharePoint 2010, Client OM, jQuery Autocomplete and BCS/External lists
In this previous post, I used jQuery/SOAP/SPServices to access a SharePoint BCS list (an external list). I wanted to do the same thing using the Client Object Model (Some call it Clien OM? Or maybe CSOM?). Below is the code to access contact data in a BCS connection to Microsoft CRM 2011, and use it…
-
Accessing SharePoint 2010 BCS lists via SOAP/WebServices for use in a jQuery autocomplete
So it seems that you can’t access BCS list data via REST, according to this article. But it seems that you can access the list data through SOAP. I used the code below to query a BCS list that points to a MSCRM 2011 backend (I know I could go right to CRM via REST,…
-
Add an appointment/email/phone activity to CRM 2011 via PowerShell (REST/oDATA)
I am looking to move some older list data into CRM 2011, so I wanted a way to create some “activities” via powershell. Below is the code to do that. In the first part of the code, I create a PowerShell object and then I convert it to a JSON object via PowerShell 3’s new…
-
PowerShell script to search SharePoint Search WebService via SOAP
I wanted to copy all the files found in a SharePoint Search result for a scope that lived on a file share. So I wrote the following PowerShell code to query a SharePoint Search scope and find the url for each result.
-
SQL query to find number of WordPress posts per week
I wanted to know how many posts I have been creating each week. Here is a quick MySQL query to find out: Returns:
-
PowerShell how to create an object (Note to Self)
Second example taken from here
-
PowerShell to get all items in a SharePoint 2007 list via Web Services/SOAP
I wanted to get a list’s contents in a SharePoint 2007 site via PowerShell. I ran into only one issue – how to handle the pagination. When creating the Xml to include the next page, I was running into formatting issues because the text contained a “=”. This link suggested that I create the XML…
-
4500 visits in March!
Hope your vist was somewhat helpful!
-
PowerShell: redirect (System.Xml.XmlDocument).Save() to console
I saw the code below somewhere, and could not remember how to do it later when I needed it. System.Xml.XmlDocument has a built in method to save the document to a file. I wanted to simulate that, but redirect it to the console. I finally found the code how to do it. $xml = new-object…
-
PowerShell to list SharePoint 2007 lists
I wanted to get a quick list of all the lists in our SharePoint 2007 environment. With PowerShell 2, it is easy.
