To view Infopath in the browser
To view Infopath in the browser
| | Hi,
I want to view the infopath file in the Web browser using Dotnet.
I am able to render the template.xml file by using the view.xsl file. But some components like Datetime picker and also some scripts are missing
Can any body help me in solving this problem
Thanks, Gowrisankar. | |
To view Infopath in the browser
FeaturesfromFlash
Hi,
The best way around this is to generate a "Print" view of your form. In that view, you will turn any data entry controls to textboxes (drop-downs, calendars, etc.).
Then, you can apply the xsl of that print view against the xml output to generate the html that you are looking for.
If you did do it yet, I would recommend that you check these links:
Turn an InfoPath form into HTML for display only:
http://msdn.microsoft.com/library/default.asp url=/library/en-us/ipsdk/html/ipsdkUsingTheDownLevelTool_HV01081784.asp
Develop your own viewer:
1. http://www.gotdotnet.com/Community/UserSamples/Details.aspx SampleGuid=1e9ac208-ed4e-4f6f-ad23-3d56280261af
2. http://codebetter.com/blogs/brendan.tompkins/archive/2004/05/24/14323.aspx
3. http://blogs.msdn.com/bowerm/articles/211757.aspx
Hope that it helps,
Regards,
Franck Dauche
Iouri B.
Thanks for your help. I dont have much expertise on Infopath. How can create a print view of the form Can you give the steps to create the view.
I looked into the other links also. I think Brendan's way of doing will be good.
SX
To create a print View, just select your main View in the Taskpane at design time and click "Create Print Version for This View...".
Then copy all controls from your main View to your newly created print View. Then, delete drop-downs, date pickers, etc. and replace them by textboxes by droping your controls from your Data Source.
Good luck with your developments.
Regards,
Franck Dauche
sunny39
Hi,
I also need to show the InfoPath form in the browser. I am able to do so. But if i have InfoPath client installed on my machine it will open in InfoPath designer and not in browser.
Can you help me with this.
Regards,
Ketaki
ChromeDomeSA
I am rendering InfoPath in IE since 2 years, and no matter what you do you will always have things missing.
Wait for the InfoPath 12 Server, it does it automatically.