drop down list in a form but get updated values from another libary - InfoPath Dev
in

InfoPath Dev

drop down list in a form but get updated values from another libary

Last post 06-18-2010 06:38 AM by ehaze. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 06-11-2010 01:16 PM

    • ehaze
    • Top 500 Contributor
    • Joined on 12-11-2007
    • Posts 49

    drop down list in a form but get updated values from another libary

    looking for a little direction on how to do this.

    user opens an IP browser form, in a repeating table the user can click a button that copies a document and pastes it in another sharepoint library. when doing this, my managed code is capturing the ID of the document in the new library.

    in that same repeating table there is a drop down list called Status. the user updates the Status drop down, code is fired, and the associated document's Status column is updated in the sharepoint library.

    that's the easy part.

    here is where i'm lost.

    if a user updates the Status column in the SharePoint Library, how would i reflect the change in the infopath web form?

     

    my soluction has three libraries: form_library, doc_library_from, and doc_library_to

     

     

     

  • 06-11-2010 01:40 PM In reply to

    Re: drop down list in a form but get updated values from another libary

    Here's an idea: when the form opens, query the SharePoint Library to get the Status value for any documents associated with that form. That way the users opening the form will always see the most recent Status.

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


  • 06-14-2010 09:33 AM In reply to

    • ehaze
    • Top 500 Contributor
    • Joined on 12-11-2007
    • Posts 49

    Re: drop down list in a form but get updated values from another libary

     that was nice and easy, thank you!

     any suggestions on updating all the rows in the repeating table? 

     

     thinking about doing a For Each / Loop and query the Library for every item in the table?

  • 06-18-2010 06:05 AM In reply to

    Re: drop down list in a form but get updated values from another libary

     I don't, sorry. I suggest you open a separate thread for that. Good luck.

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


  • 06-18-2010 06:38 AM In reply to

    • ehaze
    • Top 500 Contributor
    • Joined on 12-11-2007
    • Posts 49

    Re: drop down list in a form but get updated values from another libary

     I got it work using the open event to loop in the repeating table.

    thanks again!

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