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
clr.AddReference('Microsoft.SharePoint')
... 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:
dir(SP)
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: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of chetan soundankar
Sent: Monday, April 09, 2007 1:36 PM
To: [email protected]
Subject: [IronPython] Automation of Sharepoint Server 2007
Hi,
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.
-Chetan
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com