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