Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

SharePoint automation

by jdporter (Canon)
on Feb 01, 2006 at 21:53 UTC ( #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.

Comment on SharePoint automation
Re: SharePoint automation
by NetWallah (Abbot) 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 (Canon) 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
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? | Other CB clients
Other Users?
Others chanting in the Monastery: (6)
As of 2014-09-02 00:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (18 votes), past polls