in

InfoPath Dev

Display section after switch view

Last post 01-22-2008 02:48 PM by Greg Collins. 3 replies.
Page 1 of 1 (4 items)
Sort Posts: Previous Next
  • 01-20-2008 08:04 AM

    • Elvis
    • Not Ranked
    • Joined on 01-20-2008
    • Posts 5

    Display section after switch view

    Hello and thank you for this great forum.

    I hope this is the right place... :)

    Is there a way to send parameter from task pane to a view?

    My scenario:

    I have 2 views and task pane (html file for menu).

    I need to navigate from one view to the second one and to display only specific section in the second view (by parameter from the task pane).

    Any way to do so?

    Thanks.

    Filed under: , ,
  • 01-21-2008 04:20 PM In reply to

    Re: Display section after switch view

    Have the task pane set a field value in a secondary data source, then filter the repeating table/section based on that secondary data source field value.

    Visit my Web site:

    http://www.braintrove.com

    Greg Collins / Microsoft MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
  • 01-22-2008 12:10 AM In reply to

    • Elvis
    • Not Ranked
    • Joined on 01-20-2008
    • Posts 5

    Re: Display section after switch view

    Thanks.

     Set the field by XPath?

    Can you, please, write this line of code for example?

    Thank you.

  • 01-22-2008 02:48 PM In reply to

    Re: Display section after switch view

    JavaScript in the task pane:

    window.external.Window.XDocument.GetDOM("MySecondaryDataSource").selectSingleNode("/Root/FilterField").text = nRepeatingRowToShow;

    Visit my Web site:

    http://www.braintrove.com

    Greg Collins / Microsoft MVP
    Qdabra® Software / Streamline data gathering to turn process into knowledge
Page 1 of 1 (4 items)
Copyright © 2003-2007 Qdabra Software. All rights reserved.
View our Terms of Use.