Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

SharePoint automation

by jdporter (Paladin)
on Feb 01, 2006 at 21:53 UTC ( [id://527182]=perlquestion: print w/replies, xml ) Need Help??

jdporter has asked for the wisdom of the Perl Monks concerning the following question:

Does anyone have any experience scripting SharePoint? I want/need to import whole directory structures full of documents into my SharePoint site. I understand that WebDAV is probably the protocol to use; if so, then HTTP::DAV could be useful. But if anyone has any more info that could help get me started, or even sample code for talking to SharePoint, that would be very helpful.
Thanks...

We're building the house of the future together.

Replies are listed 'Best First'.
Re: SharePoint automation
by NetWallah (Canon) on Feb 02, 2006 at 02:57 UTC
    This is probably easier than you think. Why script it ? Does this need to be done repeatedly ?

    If I remember right, I was able to open my Sharepoint "document library" ine "Explorer" mode, and drag a file structure into it. YMMV.

    I also find documents on the web allowing you direct access into Sharepoint's SQL database, where everything is a list. so, DBI may be a candidate approach . Hmmm : it would be a great idea to come up with a DBI::Sharepoint module.

         "For every complex problem, there is a simple answer ... and it is wrong." --H.L. Mencken

Re: SharePoint automation
by roboticus (Chancellor) on Mar 06, 2008 at 20:20 UTC
    jdporter:

    I just got out of a meeting where I learned that I'll have to be publishing some reports to SharePoint. So I did a little googling, and found that under Windows, you can access a sharepoint site via a UNC name. The URL:

    sharepoint.domain.dom/sites/Roboticus/Test

    is accessible via:

    \\sharepoint.domain.com\sites\Roboticus\Test

    So if you're running your code on a Windows client, you may be able to just treat it as another directory. (That's what I'm planning on doing.)

    ...roboticus

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: perlquestion [id://527182]
Approved by Corion
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (6)
As of 2024-04-23 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found