Infopath form submits for preview but not after published. - InfoPath Dev
in

InfoPath Dev

Infopath form submits for preview but not after published.

Last post 02-04-2014 12:39 AM by jacqui1811. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 01-26-2014 06:50 PM

    Infopath form submits for preview but not after published.

    Hi,

    I have a form with several 'submit' data connections.

    When I use the preview mode all works lovely and the web services are called and data is submitted perfectly.

    When I have published the form though only some of the submits work.

    I have checked and there is no difference in the UDCX files between the ones that work and don't and they are all stored in the same location.

    If I print any errors out to the screen on the published form I get the error 'The given key was not present in the dictionary I choose the form to be published from a 'Local data connection library' and the error if published from a 'Centrally managed connection library'.

    I would really appreciate any help with this.

    Thanks.

    Jacqui.

  • 02-03-2014 12:18 AM In reply to

    Re: Infopath form submits for preview but not after published.

    I have found that the form can't seem to find the udcx file which is causing this problem.

    Still haven't found a solution though, if anybody has any ideas I would be grateful.

    Jacqui.

  • 02-03-2014 08:34 AM In reply to

    Re: Infopath form submits for preview but not after published.

    You might want to save the form as source files and see what IP is using for the URL to the data connection. I'm sorry I don't have anything more helpful to offer - I've not run into this before. You could also walk through the data connection wizard again now that you have published your form and be certain the location is correct. Is your UDCX on the same site as the published form?

    Hilary Stoupa

  • 02-03-2014 05:33 PM In reply to

    Re: Infopath form submits for preview but not after published.

     Hi Hillary,

    I will do the export as source and examine the data connections thanks.

    Yes all the UDCX files are on the same site, I can see them in the DataConnections Folder.

    Let you know how I get on with the exporting.

    Thanks for your help as ever.

    Jacqui.

  • 02-04-2014 12:39 AM In reply to

    Re: Infopath form submits for preview but not after published.

     Hi,

    No luck, there was nothing obviously wrong with any of the links. or the site collections.

    Here is how my data connections are set up.

    I have a Data Connections folder in my site collection.

    I test the connection is working when I create it then I select to convert to udcx.

    I find add the file to the others sitting in that folder (most of which are working) ;

    I re-publish the form.

    I definitely think that for some reason it can't find that file as the others all seem to get picked up okay.

    Is there a database list of these connections I can look into ?

    Jacqui.

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