April 2009 Entries

Tweets in SharePoint – Part 3

In part 1, I showed how to add Twitter Search to SharePoint using the RSSBus WebPart. In part 2, I added input properties to the script so that the web part was controlled by the properties in the property editor. Now, I can hook this up with a regular input textbox to let the user drive the search. Now my RSSBus WebPart script looks like this: <rsb:info title="My Custom Search"> <input name="query" description="A default query" default="SharePoint" /> </rsb:info> <div align="center" ......

Posted On Thursday, April 23, 2009 1:45 PM | Comments (1)

Tweets in SharePoint – Part 2

In an earlier post I showed how I use the RSSBus SharePoint WebPart to show a list of Twitter search results in your SharePoint pages. Now I’ll expand on that a bit to show how to make the WebPart a bit more dynamic. The script of the webpart itself gives a ton of power to the webpart user. As shown before, each tweet can be formatted however you like. But we can do so much more, like specifying webpart input properties. Starting with the same script from last time, here’s how I can make the search ......

Posted On Wednesday, April 22, 2009 11:33 AM | Comments (1)

PowerShellASP – Generate an RSS feed from PowerShell cmdlets

PowerShellASP is a powerful tool for generating web pages with PowerShell. It allows you to insert PowerShell script directly into a webpage (a .ps1x page), that code will be executed and the resulting powershell objects are renderable in your page. It also exposes familiar $response, $request, $server, etc. for accessing response, request, and other information about the HTTP context. This example shows how to use PowerShellASP to generate an RSS podcast feed. The dir command in PowerShell (get-childitem) ......

Posted On Tuesday, April 21, 2009 3:08 PM | Comments (2)

Tweets In SharePoint

I saw Michael @Gannotti’s Tweets Wiki and thought it was pretty handy. It made me think of @jazzychad’s TweetGrid and how that would be nice inside SharePoint. So I combined these two into my own little twitter search page in SharePoint, and here’s how: Tools I used: RSSBus SharePoint WebPart. Installed and activated the RSSBus SharePoint WebPart, added the webpart to my SharePoint page. I went to search.twitter.com, and did a search for “PowerShell”. The results page includes the RSS feed for the ......

Posted On Tuesday, April 21, 2009 12:57 PM | Comments (0)

RPC and SharePoint

If you’re doing SharePoint development that requires accessing and modifying SharePoint over HTTP, you’ll need to familiarize yourself with the RPC protocol (HTTP posts) used there. Unfortunately its not the greatest thing in the world, but it gets the job done I suppose. Here’s a hard to find but very useful MSDN resource: FrontPage Server Extensions RPC Protocol. Technorati Tags: SharePoint, RPC ......

Posted On Wednesday, April 15, 2009 5:01 PM | Comments (2)

Automatically Email SharePoint List and Library Items

Tutorial - Automatically Email SharePoint List and Library Items By Lance Robinson, /n software, Requirements: /n software SharePoint Workflow Extensions Contents Introduction Default Actions Workflow Configuration Customizing Actions Introduction SharePoint administrators who manage lists and document libraries may wish to configure specific lists or libraries to automatically send out emails when items are added or updated. Administrators can quickly and easily configure a workflow to handle this ......

Posted On Thursday, April 9, 2009 4:18 PM | Comments (5)

Get-Ldap NetCmdlet in PowerShell

I saw Jeff Hicks’ great Get-LocalMember post this morning, in which he has extensive demonstration of retrieving information about AD group members. I thought it might be a good time to show some of the power of the get-ldap cmdlet. Yes, using the get-ldap cmdlet does require familiarity with the LDAP protocol itself, so in this way it is for more advanced users who just need to do quick LDAP operations without a lot of required coding and with just one universal cmdlet. So, how do I list the group ......

Posted On Thursday, April 9, 2009 11:29 AM | Comments (2)

How RSSBus is useful in PowerShell

PowerShell users are scripters and developers who love productivity tools. That’s why you and I like PowerShell – it gives us so much to help us work more efficiently. RSSBus is another swiss-army knife of technology along this same vein, and is a handy complement to PowerShell. The biggest wins? #1, RSSBus makes it easy to get data. No matter the source of the data (tons of sources are supported already, with many more to come and an open interface so anybody can build more data connectors), with ......

Posted On Friday, April 3, 2009 12:26 PM | Comments (1)

PowerShell Custom Formatter for Mystery Objects

I needed to create a custom output formatter that would work for any object. Since I need it to work with any object, that means I won’t know before hand what properties the object has, or which of those properties I want to actually output. So, I couldn’t use any of the existing PowerShell format cmdlets like format-table, format-list, or format-custom. Instead, I needed to look at each object, get a list of its properties and their associated value(s), and then loop through those and display them ......

Posted On Friday, April 3, 2009 11:33 AM | Comments (0)

Copyright © Lance Robinson

Design by Bartosz Brzezinski

Design by Phil Haack Based On A Design By Bartosz Brzezinski