Accessing Sharepoint Objects - InfoPath Dev
in

InfoPath Dev

Accessing Sharepoint Objects

Last post 01-12-2006 11:00 PM by delu. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 01-12-2006 11:00 PM

    • delu
    • Not Ranked
    • Joined on 01-12-2006
    • Posts 13

    Accessing Sharepoint Objects

    I have seen that many users want to do this, but I did not find any solution:

    Briefly, I have a sharepoint form library and I want do create a discussion thread when a users submits a new form.

    I use manage code for my infopath form and created a submit button.
    Now I wanted to do something like this:

    using Microsoft.SharePoint;
    [..]

    SPSite myBITEST = new SPSite("http://bitest");
    [..]


    But on executing the code, I get an System.Security.SecurityException.
    I this is no suprise, since the classes provide to delete sites and items. So there should be some restriction.

    But I can't figure out how to solve my problem, however, I think it should be feasible.

    Has anybody a good suggestion?
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.