Want a Good Example of FPRPC? Try SharePad!

I haven’t blogged for a while, but I’m hoping to make up for it — starting with this…

I’ve told you before that, if you want to add full SharePoint document library support for your own document editor, you'll have to use FrontPage RPCs to do it.  Web Services and WebDAV just won’t cut it.  I also said we’d do more about showing you how to go about it.

I wasn’t kidding.  Head on over to the SharePad project on GotDotNet.  I’ll take a little credit for concept, specifications, and funding, but the real work to date has been done by our friends at The Interlink Group

Would you like a complete, ready-to-use example of how to:

  • Open a file that’s stored in a SharePoint document library?
  • Save a file to a SharePoint document library?
  • Navigate through the libraries in a SharePoint site?
  • Check out the file?
  • Check in the file?
  • Register it within the WSS/SPS environment so it launches your editor automatically (like we do for Word, Excel, and PowerPoint documents)?
  • Set custom properties on the file as you save it?
  • Read a file’s custom properties at the time you open it?

Of course you would.  Go get it.  Then come back in about two weeks and get it again, because we still have a little bit more code to write before we’re finished with the part that gets/sets custom properties at open/save time.  How to do it is known, so it’s just a matter of a code/test pass.  We use simple text files (with a custom extension of our own) as the example file format.

If you’re an ISV with a document format and editor of your own — get this code and adapt it to your needs.  We want you to be able to use SharePoint document libraries to the fullest.  If you’re an application developer and you want to see how we use FrontPage RPCs, steal that code and ignore the document editor stuff.  There’s something here for everyone.

Comments (19)
  1. Loke Kit Kai says:

    How do i download sharepad? There isn’t a link to download the stuff.

  2. Mike Fitzmaurice says:

    Over on the left side of the workspace’s home page, you’ll see a link named "Source Code". Follow that link.

  3. Loke Kit Kai says:

    Hi Mike,

    I really don’t see a link for source code. I only see two links for source control though.

  4. There is now a release section that contains the source in a zip file.

  5. Zwei GotDotNet-Projekte zu SharePoint

    SharePad – ein NotePad f

  6. Kavitha says:

    How can I update the "created by" and "modified by" fields when using FPRPC to upload files to WSS?


  7. Raul Tejada says:

    I wished the example could handle custom properties definitions. A tool to intercep fpse calls will be very helpful too.

  8. Simon Burgess says:

    I am successfully using FPRPC to bulk upload documents into a wss site and categorise these documents against custom columns. However I cant find a way to set meta data vaues on columns where you can multi select from checkboxes…any ideas greatly appreciated

  9. Sam says:

    I need to import bulk data into sharepoint, too, and I need to create a lot of folders to copy the old structure.

    You got a sample somewhere how to create new folders using FPRPC? So far I found … nothing 🙁 which is annoying, since creating folders is the only thing that keeps me from migrating our document store to sharepoint 🙁

  10. Sam says:

    okies, got it running now (somehow in my first attempts the new folders had not been created, now they are).

    But bulk upload does not work well for me, it does upload a few dozen files, then I get some or other connection error (different errors, not reproducable, *sigh*).

    Ah well, I’ll keep trying…

  11. Here is some reference material available for the OpenDocuments ActiveX control Here is the OpenDocuments

  12. Here is some reference material available for the OpenDocuments ActiveX control Here is the OpenDocuments

  13. Here is some reference material available for the OpenDocuments ActiveX control Here is the OpenDocuments

  14. Un petit post en réponse à une question que j’ai vu sur le newsgroup français de SharePoint. En résumé,

Comments are closed.

Skip to main content