Get data from a specific item in Sharepoint list to populate infopath form - InfoPath Dev
in

InfoPath Dev

Use our Google Custom Search for best site search results.

Get data from a specific item in Sharepoint list to populate infopath form

Last post 02-05-2010 06:21 AM by ErnestoM. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 02-02-2010 06:34 AM

    Get data from a specific item in Sharepoint list to populate infopath form

    Hi,
    I am very new to Sharepoint and Infopath...
    
    my Sharepoint list has a column of type hyperlink. The link points to an
    Infopath template.  The idea is that when the link is clicked the Infopath
    (2007) form is displayed (in browser). OK, this bit works. Now the problem: I
    also need to be able to preload some data from the _selected_ list item into
    some text boxes on the form.  I created a secondary data connection based on
    that list but it retrieves ALL the list items. Since I try to populate the
    textboxes and not the dropdowns all my textboxes are getting values from the
    first list item by default, irrespective of which item's hyperlink I selected
    to click.
    Is there ANY way to somehow get the data of only the selected (current?)
    item? Also, is that possible to achieve this without any code writing?  I
    found it a bit difficult to publish and maintain forms with custom "code
    behind".
    
    Thank you in advance for your help.
    Filed under:
  • 02-05-2010 06:21 AM In reply to

    Re: Get data from a specific item in Sharepoint list to populate infopath form

    I think you want to look at the function current(). Can you attach a screenshot of the rule?

    Ernesto Machado
    Qdabra® Software/ InfoPathDev.com
    The InfoPath Experts – Streamline data gathering to turn process into knowledge.™


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