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

  • Anonymous
    May 31, 2005
    How do i download sharepad? There isn't a link to download the stuff.

  • Anonymous
    May 31, 2005
    Over on the left side of the workspace's home page, you'll see a link named "Source Code". Follow that link.

  • Anonymous
    June 02, 2005
    Hi Mike,
    I really don't see a link for source code. I only see two links for source control though.

  • Anonymous
    June 07, 2005
    There is now a release section that contains the source in a zip file.

  • Anonymous
    June 08, 2005
    Zwei GotDotNet-Projekte zu SharePoint

    SharePad - ein NotePad f

  • Anonymous
    July 25, 2005
    How can I update the "created by" and "modified by" fields when using FPRPC to upload files to WSS?

    tia

  • Anonymous
    July 26, 2005
    I wished the example could handle custom properties definitions. A tool to intercep fpse calls will be very helpful too.

  • Anonymous
    August 21, 2005
    The comment has been removed

  • Anonymous
    August 23, 2005
    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 :(

  • Anonymous
    August 24, 2005
    The comment has been removed

  • Anonymous
    May 30, 2007
    Here is some reference material available for the OpenDocuments ActiveX control Here is the OpenDocuments

  • Anonymous
    June 19, 2007
    Here is some reference material available for the OpenDocuments ActiveX control Here is the OpenDocuments

  • Anonymous
    July 16, 2007
    Here is some reference material available for the OpenDocuments ActiveX control Here is the OpenDocuments

  • Anonymous
    August 27, 2007
    Un petit post en réponse à une question que j'ai vu sur le newsgroup français de SharePoint. En résumé,

  • Anonymous
    January 22, 2009
    PingBack from http://www.hilpers.fr/942577-wss2003-fenetre-de-saisie-des