create multiple files by submitting form - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

create multiple files by submitting form

Last post 06-29-2023 01:21 PM by mahoii. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 06-29-2023 11:43 AM

    • mahoii
    • Not Ranked
    • Joined on 11-01-2020
    • Posts 2

    create multiple files by submitting form

    hi We have a form that contains a multiple-selection-listbox control box. (Personnel names) I am trying to create unique files that contain selected personnel names from the mentioned control box. I've tried eval,double eval, variable from workflow 2010 but no chance. Is this possible to create multiple file with dedicated workflow for selected names in control box? For example, when I select Eli, Paul and john from the list, after submitting the form 3 files that start with names be created automatically. Regards
  • 06-29-2023 12:04 PM In reply to

    Re: create multiple files by submitting form

    I think the answer is maybe - I think you'd have to add a counter of some kind in the form for this (and then, if there might be a large number of these selected, you might run into rule errors about looping). But at a high level - you could have a counter field with the total count of selected personnel and then have a rule on it to get the person at the index of the counter, submit the form with their name, then decrement the counter.... which would fire the rule again. I've created a simple sample. Logic is on the Go button and the Counter field. The Counter field just displays a message box - but could have any rule, including a submit. You'd need to use a formula for your file name in your Submit connection - just maybe add a filename field to your form and set it with the name of your person prior to each submit. To take a look at the sample form, right click the link in the header and save the file locally. Right click the saved file and select design to open in design mode :)
    Hilary Stoupa

  • 06-29-2023 01:21 PM In reply to

    • mahoii
    • Not Ranked
    • Joined on 11-01-2020
    • Posts 2

    Re: create multiple files by submitting form

    Hi. It is a great idea and a useful example. It makes a clear view of solution for me. Thanks a lot
Page 1 of 1 (3 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.