SharePoint ID field into InfoPath form - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

SharePoint ID field into InfoPath form

Last post 10-07-2009 03:05 AM by giangy11. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 05-21-2009 03:57 PM

    SharePoint ID field into InfoPath form

    Hi guys,

    I am looking for a way to get the SharePoint ID field to show in a text box in the Infopath form.

    In pseudo-code, I am thinking along the lines of:

    Submit Button clicked.
    Has ID already been assigned?
         YES - Save form normally
         NO - Submit Form
               - Retreive ID field for this form from SharePoint
               - Assign value of ID field to a visible field on InfoPath form
               - Set flag to indicate ID has been assigned.
               - Save form


    It has been a long time since i've coded anything, and my terminology may be off. I call it pseudo-code, but I might be wrong.
    Regardless, I assume you get what I mean.

    Any ideas about this? Any better ways of acheiving it?

  • 05-26-2009 11:49 PM In reply to

    Re: SharePoint ID field into InfoPath form

    Yeah, that's the easy way to do it without code. You don't need to write code to do the NO stuff. You can just filter the newly saved row in the SharePoint library/list using a column. Create a field in your form that auto-populates date-time on Submit (before actually submitting). Then, you can regrieve the ID using this value as a filter. .

    Patrick Halstead
    Project Manager at Qdabra
  • 09-29-2009 06:17 AM In reply to

    Re: SharePoint ID field into InfoPath form

    Patrick, 

    What is the easiest way to pull the ID from SharePoint and populate it on a InfoPath form (text feild) when I click the New button in a SharePoint Library?

    Ken

  • 10-01-2009 09:32 PM In reply to

    Re: SharePoint ID field into InfoPath form

    the easiest way, i would suggest is to create a secondary data connection and fetch from that. and bind your field to that

    Qazi Anis
    Technical Architect
    Bitwise Inc
  • 10-07-2009 03:05 AM In reply to

    Re: SharePoint ID field into InfoPath form

    did someone realize that?

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