When I search a document library with infopath form files, it willreturn the results as xml files. When I try to open it, it asks foropen or save infopath form. I want it to be opened in browser by default.How to do this?
I already had the settings "Display as Web Page" for the documentlibrary. It is working properly when we go to the list and open anyexisting/new form, by displaying it in browser. But when I search forthe document and click on any xml file returned by search, it isprompting for open or save the infopath form. I want the searched formto open in browser when I click on the search result xml file. Pleaseprovide me some solution for this.
This will require a customized search results web part - the OOTB oneuses the URL for InfoPath client, not form services. If you do a websearch you should be able to find several examples of editing the xsltfor the web part, in this case you'd be adding the additional querystring parameter to open the form in a web page.
here is the answer, it works really fine for me: phillyxaml.org/blog/Lists/Posts/Post.aspx?ID=41the subject is modify the XSLT Applied to the Search Results