<?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>Re: Permision denied in Task Pane</title><link>https://www.infopathdev.com:443/forums/thread/18398.aspx</link><pubDate>Wed, 19 Jul 2006 16:43:48 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18398</guid><dc:creator>Greg Collins</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18398.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18398</wfw:commentRss><description>Strange. The statement in Init() looks fine. This doesn't even require full trust. I'm not sure why you are experiencing this.</description></item><item><title>Permision denied in Task Pane</title><link>https://www.infopathdev.com:443/forums/thread/18329.aspx</link><pubDate>Fri, 30 Jun 2006 00:08:43 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:18329</guid><dc:creator>kalimon99</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/18329.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=41&amp;PostID=18329</wfw:commentRss><description>Hi&lt;br /&gt;&lt;br /&gt;I implemented urn-based fully trusted infopath form for one our current projects. The infopath form has custom task pane for the action buttons which are dynamically created. To create custom pane, I added myHTML.htm in resources and select this resource file as task panehtml. The Javascript code of myHTML.htm as follows:&lt;br /&gt;&lt;br /&gt;But I got "Permission denied" &lt;br /&gt;Javascript error in the function "Init()", when client side code was executed.&lt;br /&gt;&lt;br /&gt;var gobjXDocument = null;&lt;br /&gt;&lt;br /&gt;function Init()&lt;br /&gt;{&lt;br /&gt;gobjXDocument = window.external.Window.XDocument;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;function asignar(nombreSP, adscripcion)&lt;br /&gt;{&lt;br /&gt;var myField;&lt;br /&gt;Init();&lt;br /&gt;var objMetaNodes = gobjXDocument.View.GetSelectedNodes();&lt;br /&gt;if(objMetaNodes.Count &amp;gt; 0)&lt;br /&gt;{&lt;br /&gt;myField = objMetaNodes.Item(objMetaNodes.Count - 1);&lt;br /&gt;myField = myField.selectSingleNode("./my:titularDestino");&lt;br /&gt;myField.text = nombreSP;&lt;br /&gt;myField = objMetaNodes.Item(objMetaNodes.Count - 1).selectSingleNode("./my:areaDestino");&lt;br /&gt;myField.text = adscripcion;&lt;br /&gt;}&lt;br /&gt;else&lt;br /&gt;{&lt;br /&gt;gobjXDocument.UI.Alert("Seleccione el área en donde se asignarán los datos.");&lt;br /&gt;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Help me please...&lt;br /&gt;</description></item></channel></rss>