I currently open infopath files save in a SharePoint library through a webpart.
The user can enter the the file name in a textbox and click a button and the file will open.
The URL is like:
http://servername/_layouts/FormServer.aspx?XmlLocation=/InstrumentsLib/" + fileName + "&Source=http://b1544:8080/InstrumentsLib/Forms/AllItems.aspx&DefaultItemOpen=1";`m
Right now the web part works fine, but I want the infopath file to open in a specific view, the infopath template has 2 views.
I want the file to open in the 2nd view.
How can I do this?
The form is web based.