Auto generate form file name - InfoPath Dev Sign in | Join | Help in General InfoPath (Entire Site) InfoPath Dev InfoPath Dev is dedicated to bringing you the information and tools you need to be successful in your Microsoft Office InfoPath development projects. Home Blogs Forums Photos Downloads InfoPath Dev » InfoPath » General » Auto generate form file name Auto generate form file name Last post 06-09-2010 07:24 PM by aruna akella. 5 replies. Page 1 of 1 (6 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 06-08-2010 09:32 PM Dom80 Joined on 07-11-2008 Posts 31 Auto generate form file name Reply Contact Hi all, Is there a way to standardise the naming of an infopath form when a user submits it to a sharepoint form library? Example: form title - username - form number Thanks in advance! 06-08-2010 10:19 PM In reply to aruna akella Joined on 02-11-2010 Posts 321 Re: Auto generate form file name Mark as Not AnswerMark as Answer... Reply Contact When you create your submt data connection, you will get a dialog that will give you a chance to specify the name of the file - for this, you can use values from the fields in the form. Aruna AkellaQdabra® Software / InfoPathDev.comThe InfoPath Experts – Streamline data gathering to turn process into knowledge.™ 06-09-2010 04:54 PM In reply to Dom80 Joined on 07-11-2008 Posts 31 Re: Auto generate form file name Mark as Not AnswerMark as Answer... Reply Contact I am trying to create the file name from two values in my fields and am always getting NaN as the file name. Both the values work independently, but not together is there a spacific way to enter 2 different values in a row for the file name? 06-09-2010 05:09 PM In reply to aruna akella Joined on 02-11-2010 Posts 321 Re: Auto generate form file name concat_FileName.png Mark as Not AnswerMark as Answer... Reply Contact Use concat function - attached a snapshot of how it looks. Attach your template if you sill run into issues. Aruna AkellaQdabra® Software / InfoPathDev.comThe InfoPath Experts – Streamline data gathering to turn process into knowledge.™ 06-09-2010 06:36 PM In reply to Dom80 Joined on 07-11-2008 Posts 31 Re: Auto generate form file name Mark as Not AnswerMark as Answer... Reply Contact I've got it working now! one more thing, I would like to number the forms when they are created so there is no overwrite. is there a way of auto numbering them too? thanks again! 06-09-2010 07:24 PM In reply to aruna akella Joined on 02-11-2010 Posts 321 Re: Auto generate form file name Mark as Not AnswerMark as Answer... Reply Contact Add a field or attribute (say field1) with a default value to 0, and in the submit button add a rule to set a fields value (field1 = sum(field1) + 1) - this way it increments field1 value. Concat this field in your subject field. Hope that helps! Aruna AkellaQdabra® Software / InfoPathDev.comThe InfoPath Experts – Streamline data gathering to turn process into knowledge.™ Page 1 of 1 (6 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
Hi all, Is there a way to standardise the naming of an infopath form when a user submits it to a sharepoint form library? Example: form title - username - form number Thanks in advance!
When you create your submt data connection, you will get a dialog that will give you a chance to specify the name of the file - for this, you can use values from the fields in the form.
I am trying to create the file name from two values in my fields and am always getting NaN as the file name. Both the values work independently, but not together
is there a spacific way to enter 2 different values in a row for the file name?
Use concat function - attached a snapshot of how it looks. Attach your template if you sill run into issues.
I've got it working now! one more thing, I would like to number the forms when they are created so there is no overwrite. is there a way of auto numbering them too?
thanks again!
Add a field or attribute (say field1) with a default value to 0, and in the submit button add a rule to set a fields value (field1 = sum(field1) + 1) - this way it increments field1 value. Concat this field in your subject field.
Hope that helps!