<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://www.infopathdev.com:443/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>General</title><link>https://www.infopathdev.com:443/forums/41.aspx</link><description>If you're not sure where to ask your question, ask it here. If necessary, our moderators will make sure it gets classified in the correct board.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>"Switch view" actions in custom task pane generate error in Infopath 2013</title><link>https://www.infopathdev.com:443/forums/thread/96805.aspx</link><pubDate>Tue, 01 Apr 2014 07:26:07 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:96805</guid><dc:creator>lblanc</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/96805.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=96805</wfw:commentRss><description>Hi,

I am facing an issue for which I did not find any answer yet. Indeed, I have developed an Infopath template using Infopath 2010 and any person who tries to open it via Infopath 2013 receives a script error for actions implemented in the custom task pane. These actions consist in switching views in the HTML using JS such as &amp;quot;XDocument.Extension.SwitchView(&amp;#39;myview&amp;#39;). That works like a charm for Infopath 2010 and unfortunately generated that script error for Infopath 2013. Would someone of you have an idea?  

Thanks in advance for your help!
Lionel</description></item></channel></rss>