[IronPython] Automation of Sharepoint Server 2007

Mitch Barnett mbarnett at uniserve.com
Wed Apr 11 06:25:57 CEST 2007

Hi Chetan,

MOSS 2007 is fully .NET 2.0 (built on ASP.NET 2.0 actually - no COM).  You
can find the SDK at: http://msdn2.microsoft.com/en-us/library/ms550992.aspx

Note the class library and web service reference down the tree abit.

You can automate pretty much anything and everything you want in MOSS 2007
with IronPython (at least I can in C#, so should be no probs in IP).

Hope that helps,


-----Original Message-----
From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of
users-request at lists.ironpython.com
Sent: Tuesday, April 10, 2007 4:15 PM
To: users at lists.ironpython.com
Subject: users Digest, Vol 33, Issue 11

Send users mailing list submissions to
	users at lists.ironpython.com

To subscribe or unsubscribe via the World Wide Web, visit
or, via email, send a message with subject or body 'help' to
	users-request at lists.ironpython.com

You can reach the person managing the list at
	users-owner at lists.ironpython.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of users digest..."

Today's Topics:

   1. Re: Automation of Sharepoint Server 2007 (Dino Viehland)


Message: 1
Date: Mon, 9 Apr 2007 20:09:43 -0700
From: Dino Viehland <dinov at exchange.microsoft.com>
Subject: Re: [IronPython] Automation of Sharepoint Server 2007
To: Discussion of IronPython <users at lists.ironpython.com>
<7AD436E4270DD54A94238001769C222776869080DA at DF-GRTDANE-MSG.exchange.corp.mic
Content-Type: text/plain; charset="us-ascii"

It looks like there are managed APIs (maybe they're just COM wrappers?) for
SharePoint which you could use from IronPython.  A quick search turned up
this site http://www.codeproject.com/useritems/SharePoint_Automation.asp
which is using SharePoint from C#.  From IronPython you would add references
to the assemblies via the clr module:

import clr
... and same for the other assemblies they suggest referencing ...

>From there you need to import the appropriate namespaces, e.g.:

import Microsoft.SharePoint as SP

And then you could start inspecting the namespaces and types available:


and drill down into the available functionality.  That should line up with
what you see for other examples of automating SharePoint on the web.

From: users-bounces at lists.ironpython.com
[mailto:users-bounces at lists.ironpython.com] On Behalf Of chetan soundankar
Sent: Monday, April 09, 2007 1:36 PM
To: users at lists.ironpython.com
Subject: [IronPython] Automation of Sharepoint Server 2007

Is it possible to Automate tasks such as creating a site, checking content
types in sharepoint server 2007 with IronPython? if yes how can you give me
some direction I am completely new to the Automation under COM environment.

-------------- next part --------------
An HTML attachment was scrubbed...


users mailing list
users at lists.ironpython.com

End of users Digest, Vol 33, Issue 11

More information about the Ironpython-users mailing list