<?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>SharePoint Integration</title><link>https://www.infopathdev.com:443/forums/46.aspx</link><description> For questions concerning issues in the integration of SharePoint and Microsoft InfoPath.</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: task pane call back</title><link>https://www.infopathdev.com:443/forums/thread/16175.aspx</link><pubDate>Tue, 28 Mar 2006 16:42:47 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16175</guid><dc:creator>Richard</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16175.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16175</wfw:commentRss><description>In my example, the link is in the sharepoint web part, totally separate than where the script is mypage.html . you seem to have them in the same page.&lt;br /&gt;&lt;br /&gt;I did not have a view name problem, since, outside of sharepoint the example works fine. &lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: task pane call back</title><link>https://www.infopathdev.com:443/forums/thread/16174.aspx</link><pubDate>Tue, 28 Mar 2006 07:00:08 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16174</guid><dc:creator>uma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16174.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16174</wfw:commentRss><description>While trying the scenario as you explained above, I committed one small mistake. Because of that I got the script error.&lt;br /&gt;I found it, and I fixed it. Then it work's fine.&lt;br /&gt;If you got the same script error, I think you did the same mistake.&lt;br /&gt;That is I didn't mention the correct view name which I created for the switch view.&lt;br /&gt;Please make sure the view name which you put in the switch view function while trying the scenario.&lt;br /&gt;The code sample which I tried is:&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;script&amp;gt;&lt;br /&gt;var XDoc = window.external.XDocument; &lt;br /&gt;XDoc.View.SwitchView("view2");&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt; &lt;br /&gt;&amp;lt;A href="http://www.mysharepointsite.com/aspapps/mypage.html" &amp;gt; imi &amp;lt;/A&amp;gt;&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;</description></item><item><title>Re: task pane call back</title><link>https://www.infopathdev.com:443/forums/thread/16173.aspx</link><pubDate>Tue, 28 Mar 2006 01:05:54 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16173</guid><dc:creator>Richard</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16173.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16173</wfw:commentRss><description>thanks for your response, However try this to see the error :&lt;br /&gt;&lt;br /&gt;Form Options, Advanced , taskpane location :&lt;a target="_blank" href=http://www.mysharepointsite.com&gt;http://www.mysharepointsite.com&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In your sharepoint site create an xml web part page and in the xml source paste this:&lt;br /&gt;&lt;br /&gt;&amp;lt;A href="http://www.mysharepointsite.com/aspapps/mypage.html" &amp;gt; imi &amp;lt;/A&amp;gt; &amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;br /&gt;now you have a link in your sharepoint site that takes you to the html page with that script in it..&lt;br /&gt;&lt;br /&gt;In my sharepoint site, I excluded the aspapps directory , and copied my page to there. &lt;br /&gt;&lt;br /&gt;so this way sharepoint should not complain.. but it seems that we still have problems with it..&lt;br /&gt;&lt;br /&gt;</description></item><item><title>Re: task pane call back</title><link>https://www.infopathdev.com:443/forums/thread/16172.aspx</link><pubDate>Fri, 24 Mar 2006 05:24:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16172</guid><dc:creator>uma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16172.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16172</wfw:commentRss><description>I tried with the same scriping code that you mentioned above, by publishing the form to a share point site. But it is working fine with out giving any errors.&lt;br /&gt;For this scenario the result is when I fill out the form, switch view function is called in the onload event itself, by this I can see the view which I mentioned in the switch view with the task pane for which I used the sample html file.&lt;br /&gt;&lt;br /&gt;The code sample which I tried is:&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;script&amp;gt;&lt;br /&gt;var XDoc = window.external.XDocument; &lt;br /&gt;XDoc.View.SwitchView("view2");&lt;br /&gt;&amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt; &lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;</description></item><item><title>Re: task pane call back</title><link>https://www.infopathdev.com:443/forums/thread/16171.aspx</link><pubDate>Thu, 23 Mar 2006 23:39:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16171</guid><dc:creator>Richard</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16171.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16171</wfw:commentRss><description>I tried to take out the comment line but still same error occured.&lt;br /&gt;</description></item><item><title>Re: task pane call back</title><link>https://www.infopathdev.com:443/forums/thread/16170.aspx</link><pubDate>Thu, 23 Mar 2006 04:51:56 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:16170</guid><dc:creator>uma</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/16170.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=16170</wfw:commentRss><description>Hi,&lt;br /&gt;&lt;br /&gt;Permission is denied, error will occurr if InfoPath access any external objects in the scripting code (ie. where you put // TESTING A SCRIPT IN SHAREPOINT TO SWITCH INFOPATH VIEW commented code) with out having "fulltrust" level of security.&lt;br /&gt;&lt;br /&gt;I hope this will help you to solve your problem. &lt;br /&gt;</description></item><item><title>task pane call back</title><link>https://www.infopathdev.com:443/forums/thread/15379.aspx</link><pubDate>Thu, 23 Mar 2006 00:21:09 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:15379</guid><dc:creator>Richard</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/15379.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=46&amp;PostID=15379</wfw:commentRss><description>I am pointing my taskpane to the sharepoint site. &lt;br /&gt;a link in my site takes me to a html page under a directory that is excluded from the sharepoint service.&lt;br /&gt;I have a script in this page  like this:&lt;br /&gt;&amp;lt;HTML&amp;gt;&lt;br /&gt;&amp;lt;script&amp;gt;&lt;br /&gt;      var XDoc = window.external.XDocument; &lt;br /&gt;    XDoc.View.SwitchView("View 1");&lt;br /&gt;   &amp;lt;/script&amp;gt;&lt;br /&gt;&amp;lt;BODY&amp;gt; &lt;br /&gt;   // TESTING A SCRIPT IN SHAREPOINT TO SWITCH INFOPATH VIEW&lt;br /&gt;&amp;lt;/BODY&amp;gt;&lt;br /&gt;&amp;lt;/HTML&amp;gt;&lt;br /&gt;&lt;br /&gt;But when this page is hit, I get Internet Explorer script error, permission denied , ??&lt;br /&gt;&lt;br /&gt;</description></item></channel></rss>