Unanswered External Data Gathering

  • Monday, March 26, 2007 11:54 PM
     
     
    I want to create a form on a web page other than on my Sharepoint server and then have that data get submitted to a list on my Sharepoint server.

    Can anybody suggest the best way of going about this? Also, is it possible for me to specify which user that submitted data gets written into the database as, so i can discern a submitted web form from a manually entered list item?

    I'm assuming its just a matter of using .net postback but unfortunately, i'm not particularly experienced in .net

    edit: Damn it. Sorry about title spelling :/


All Replies

  • Tuesday, March 27, 2007 1:54 AM
     
     

     SParker wrote:
    I want to create a form on a web page other than on my Sharepoint server and then have that data get submitted to a list on my Sharepoint server.

    Can anybody suggest the best way of going about this?

     

    Web services.

     

    Sharepoint has a "lists.asmx" web service that allows you to add list items to the list (see "Adding new list items using the lists.asmx web service" by Ryan Rogers).

    as for which user -  well, that depends on too many things (are the two web applications using the same authentication method?) and there is the problem of pass-through that will prevent you from doing the call to the web service with the original user's credentials, so you should do some impersonation for a user with permissions to add items.

    You may want to write your own web service on the sharepoint server that will receive the call from the web application and add the item, and set it's "author" field.