Sandboxed Code + UserProfileService - InfoPath Dev

InfoPath Dev

Use our Google Custom Search for best site search results.

Sandboxed Code + UserProfileService

Last post 03-25-2013 11:49 AM by rgordonj. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • 03-25-2013 11:49 AM

    Sandboxed Code + UserProfileService

    I have a browser-enabled InfoPath 2010 form with several data connections to various SharePoint web services (User profile service etc - All data connections are packaged as UDCX files and reside in a data connection library.) The form works absolutely fine UNTIL I add any code at all. Even so much as adding an empty form loading event and publishing the form results in the following error when opening the form: "An error occurred while trying to connect to a Web service." (BTW, the code retrieves InputParameters from form URL parameters and changes form views depending on the values of the params. - It has been tested and works fine in InfoPath forms WITHOUT data connections which call web services.) My hunch (and question) is this: Do calls to SP web services not work in conjunction with SandBoxed code? (I would very much like to accomplish my goal WITHOUT having to make the form full-trust/administrator-approved. - In this particular environment all admin-approved infopath forms must be packaged as WSP files in order to be deployed, no XSNs are accepted.) If admin-approved is a necessity for this, has anyone successfully packaged an InfoPath 2010 form with managed code and data connections as a WSP? I've looked through plenty of blogs/articles but have not had any success. Any thoughts/feedback would be greatly appreciated. Thanks.
Page 1 of 1 (1 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.