Search - InfoPath Dev Sign in | Join | Help 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 Search More Search Options Page 1 of 3 (22 items) 1 2 3 Next > Re: what is the best way to autonum a form? It's because users interact with the forms in the library and the filename field needs to be on display so they can access the context menu. Having a long name like 'username - time' is meaningless to the users and takes up space in the view. None of these are huge problems but it just makes it generally easier for them. It's OK, ... Posted to General (Forum) by sudlev on 04-18-2013 Re: what is the best way to autonum a form? Hi cpluce, Following this method won't the actual file name remain the same (e.g. as "user - timeofsubmit"). What I am trying to achieve is have the file name to be the same as the sharepoint ID. Danny Posted to General (Forum) by sudlev on 04-16-2013 Re: what is the best way to autonum a form? Hi Patrick, I'm interested in more details on your double submit method! I wasn't able to find more details on the forum and was unsuccessful in my own experimentation. When time permits can you please provide more detail? Appreciate your help. Danny Posted to General (Forum) by sudlev on 04-14-2013 Re: what is the best way to autonum a form? Have you considered using workflow? I have a number of forms where I set the file name to the sharepoint item ID which is very simple. Create a text field called FileName in the datasource In your data connection to 'submit to sharepoint library', ensure you use the FileName field as the file name. When you publish the form, ... Posted to General (Forum) by sudlev on 04-04-2013 Re: Setting non-text values using selectSingleNode ...and also the cs project. It would only allow me to attach one file. Posted to Code (Forum) by sudlev on 09-09-2012 Re: Setting non-text values using selectSingleNode No worries Gennady Vanin. I've attached the form. Posted to Code (Forum) by sudlev on 09-09-2012 Re: Setting non-text values using selectSingleNode Yes, I can understand. Thankfully someone else went through all the pain so I didn't have to... You'd think they'd have some kind of guide out there on how to do all this stuff. I mean something as simple as setting a field value programmatically really shouldn't be so painful. Posted to Code (Forum) by sudlev on 09-06-2012 Re: Setting non-text values using selectSingleNode This works beautifully! I can't thank you enough Hilary, you've been a MASSIVE help! Danny Posted to Code (Forum) by sudlev on 09-06-2012 Re: Setting non-text values using selectSingleNode Hi again guys, My code (above) was working beautifully in preview mode in the designer, but now that it's been published it is failing again. Is there a reason this would not work in a browser form? Sorry to be a pest. Danny Posted to Code (Forum) by sudlev on 09-05-2012 Re: Setting non-text values using selectSingleNode You were correct, in order to clear the value of the field I needed to add the xsl:nil attribute to the element. As you described in the how to add xsi:nil = "true" thread. I've pasted my code below for reference. _____________valueNode.SetValue(string.Empty); if (!valueNode.MoveToAttribute("nil", ... Posted to Code (Forum) by sudlev on 09-04-2012 Page 1 of 3 (22 items) 1 2 3 Next > Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.