Change the view via query string? - InfoPath Dev
in

InfoPath Dev

Change the view via query string?

Last post 01-28-2010 10:39 PM by Qazi Anis. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 01-28-2010 12:48 PM

    • nmagee
    • Not Ranked
    • Joined on 01-28-2010
    • Posts 1

    Change the view via query string?

    Hi there, 

    I seem to recall from earlier research that this is possible, and not very difficult, but I want to make sure and get the details right. I have an InfoPath 2007 form published to a MOSS2007 server, exposed via InfoPath svcs, and have lots of views that are rules-based depending on where the form is in our approval process. Right now I'm in the process of writing a new MOSS feature that will add a "Open in Print View" option in the Edit Control Block of the form library, so that users can open up any form in the print view.

    However, I'm wondering if there is a query string parameter that I can pass to force the print view to open? I obviously have the name of the view to pass, but don't know the name of the parameter itself. So I'm looking for something like:

         http://server/_layouts/FormServer.aspx?XmlLocation=blah blah blah.xml&view=printview

    (It's the last bit I'm trying to figure out) Also, I'm seeing there is almost always a DefaultItemOpen=1 value in my query strings, when opening in InfoPath services. What does that do? Or is that what I'm looking for?

    Any help would be greatly appreciated! :)

    Best,

    Neal

  • 01-28-2010 10:39 PM In reply to

    Re: Change the view via query string?

    Qazi Anis
    Technical Architect
    Bitwise Inc
Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.