Issue ID and File Name - InfoPath Dev Sign in | Join | Help in SharePoint Integration 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 » SharePoint Integration » Issue ID and File Name Issue ID and File Name Last post 12-03-2008 09:28 PM by swathip. 1 replies. Page 1 of 1 (2 items) Sort Posts: Oldest to newest Newest to oldest Previous Next 12-03-2008 02:37 PM grunritter Joined on 12-03-2008 Virginia USA Posts 1 Issue ID and File Name Reply Contact This is a multipart question: 1) I want to import the IssueID from Sharepoint (this has been answered below and I think I follow how to do this) I then want to combine this with the year (ie 2008-X where X is the IssueID from MOSS. Anyone know how to just get the date in Infopath. there is a Today() function but it seems to return the whole date 2008-12-3. How do you extract the year from the date? 2) I then what to use this info as the file name when saving the template to the MOSS list. My only idea on this one is to write a script or can MOSS do this? Any ideas? 12-03-2008 09:28 PM In reply to swathip Joined on 10-30-2007 India Posts 487 Re: Issue ID and File Name Mark as Not AnswerMark as Answer... Reply Contact Hello and welcome to the forums, 1) You can get the year from the Today() using substring(today(),1,4). 2) Set this value to a field in the data source and use that field as the file name while taking the submit connection. Swathipwww.ggktech.com Page 1 of 1 (2 items) Copyright © 2003-2019 Qdabra Software. All rights reserved.View our Terms of Use.
This is a multipart question:
1) I want to import the IssueID from Sharepoint (this has been answered below and I think I follow how to do this) I then want to combine this with the year (ie 2008-X where X is the IssueID from MOSS. Anyone know how to just get the date in Infopath. there is a Today() function but it seems to return the whole date 2008-12-3. How do you extract the year from the date?
2) I then what to use this info as the file name when saving the template to the MOSS list. My only idea on this one is to write a script or can MOSS do this?
Any ideas?
Hello and welcome to the forums,
1) You can get the year from the Today() using substring(today(),1,4).
2) Set this value to a field in the data source and use that field as the file name while taking the submit connection.