|Syntactic Confectionery Delight|
Sharepoint Automation?by imrags (Monk)
|on Sep 15, 2010 at 10:50 UTC||Need Help??|
imrags has asked for the
wisdom of the Perl Monks concerning the following question:
I have to login to a sharepoint portal using IE. There are about a thousand files that are orphaned (not checked in)..
I found how to checkin in bulk, but problem is
I need to first take the ownership of the files (Since they were left by the guy who worked before me)...
Since the number of files is huge, when I click on "Select All" and click on Take Ownership, it throws an error "Unknown Error"...
So I thought of writing a perl script to login to the sharepoint, to the required page and click on few checkboxes at a time
and then click on ownership button.
I searched the net for the modules to be used, found that HTTP::DAV can be used, however, i can't use anything that's not in PPM (ActivePerl) and I can't add external repo to it
I tried WWW::Mechanize but it fails. Can you please help????