Jump to content

Sharepoint using ObjCreate


Jewtus
 Share

Recommended Posts

I'm trying to figure out how to build a sharepoint UDF. I looked at the >one that uses web services, but the sharepoint I'm using is grove based, so there is no URL (at least not one that I can find).

I've been looking at the MSDN to try to figure this out, but I'm obviously doing something wrong because The first line of my script errors:

$oSP = ObjCreate("Microsoft.SharePoint")

It gives me an invalid class string error message and I'm not sure what I'm doing wrong.

Can someone point me in the right direction?

Link to comment
Share on other sites

Yes. My supervisor wants to use sharepoint to manage documents and she created a "groove" workspace which she invited me to. I joined the workspace, but I cannot figure out how to get information out of the workspace using autoit (all I can use is the sharepoint client).

All I have for information about the workspace is the invitation that was sent to me (which despite many hours of googling, I cannot find a way to deconstruct it to figure out host names and what not).

Link to comment
Share on other sites

Every time I look up groove specific tech docs, it redirects me to MSDN sharepoint stuff. The MSDN link I gave above I found googling: "Sharepoint Groove development"

Anyone have suggestions for maybe extracting from the UI controls in the sharepoint document?

Link to comment
Share on other sites

If the documents are actually stored in SharePoint and are being accessed over http(s) by the Groove client app, you may be able to examine network traffic to see where it is actually pointing. You may be able to use netstat or Fiddler (Google them) to see. You may then be able to connect directly, unless the authentication model used throws you another curveball.

Dale

Free Internet Tools: DebugBar, AutoIt IE Builder, HTTP UDF, MODIV2, IE Developer Toolbar, IEDocMon, Fiddler, HTML Validator, WGet, curl

MSDN docs: InternetExplorer Object, Document Object, Overviews and Tutorials, DHTML Objects, DHTML Events, WinHttpRequest, XmlHttpRequest, Cross-Frame Scripting, Office object model

Automate input type=file (Related)

Alternative to _IECreateEmbedded? better: _IECreatePseudoEmbedded  Better Better?

IE.au3 issues with Vista - Workarounds

SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y

Doesn't work needs to be ripped out of the troubleshooting lexicon. It means that what you tried did not produce the results you expected. It begs the questions 1) what did you try?, 2) what did you expect? and 3) what happened instead?

Reproducer: a small (the smallest?) piece of stand-alone code that demonstrates your trouble

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...