in

InfoPath Dev

Backend and frontend usage

Last post 09-10-2008 07:20 AM by Soulwound. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 09-05-2008 02:27 AM

    Backend and frontend usage

    Hi all. I've been creating some infopath forms to be deployed on a Sharepoint site. This site has 2 "views", a backend (or back office, for administrating porpuses) and a frontend (or front office, for normal users). I've publish the form with full trust security level and as an administrator-approved form template (since it has some C# code) and it works fine on the backend, I can fill it and submit without problems. But when I try it on the frontend (the normal user level) I can open and fill it, but it says it's not possible to submit. I've already tried to convert the submit connection to a udcx connection but it still has the same error.

     Also I can send the form by mail, but if the form has any kind of attachments they won't show up, so I would like to know if it's possible to send the form attached files in the same email of the form.

     PS: The Infopath Form Services are configured in Sharepoint to "allow cross-domain data access for user form templates that use connection settings in a data connection file" and the form is browser compatible.

  • 09-06-2008 07:55 AM In reply to

    Re: Backend and frontend usage

    Hi -- does your 'cannot submit error' from the front end have any detail to it? Or does it just say it can't submit?

    I created a sample form with an attachment control and used an email submit to send it to myself. I included the form as an attachment, and attached files were present. When I just send the active view of the form, I do not get the attached file. You may need to use code if you want to email just the view, without the form itself attached, but with the files attached to the form attached to the email (whew -- I'm not sure if that sentence makes sense at all! hopefully, you get my gist... )

    Hilary Stoupa / InfoPath Developer
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 09-10-2008 07:20 AM In reply to

    Re: Backend and frontend usage

    After searching a lot I now know that it's not possible to submit anonymous forms into Sharepoint with "normal" rules/code. For that we need to build a web service that is capable of uploading forms into the Sharepoint list.
    I've created a web service based on the code that is present on this site ( http://sheetal-d.spaces.live.com/blog/cns!237C3DEA7120098B!632.entry ) but now I'm stuck with a SOAP problem. Everytime that I try to submit the form on the preview mode it gives the error: "The SOAP message cannot be parsed.". When I try to submit it on a published version, Infopath says that the form was submited sucessfully but it doesn't appear on the destination list. Anyone know what I can do?

     About the mail attachment feature I would like to send only the attachments with the current form view, guess I gotta make some code for it.

Page 1 of 1 (3 items)
Copyright © 2003-2007 Qdabra Software. All rights reserved.
View our Terms of Use.