<?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 Office 365</title><link>https://www.infopathdev.com:443/forums/169.aspx</link><description>General Office 365 questions</description><dc:language>en</dc:language><generator>CommunityServer 2007 SP3 (Build: 31118.962)</generator><item><title>Re: Publishing InfoPath form(with code) on Office365 Site.</title><link>https://www.infopathdev.com:443/forums/thread/81157.aspx</link><pubDate>Tue, 31 Jul 2012 11:59:34 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81157</guid><dc:creator>ErnestoM</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81157.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=169&amp;PostID=81157</wfw:commentRss><description>&lt;p&gt;Hi-&lt;/p&gt;&lt;p&gt;You don&amp;#39;t mention what the error is, or whether the error happens during the publishing process or while opening the form. But Office 365 does not allow admin approve. Forms with code must be published directly to the library, thanks to the sandboxing option. Here&amp;#39;s what Microsoft has to say:&lt;/p&gt;&lt;blockquote&gt;&lt;p&gt;&lt;i&gt;With InfoPath 2010, you can publish form library forms, with code, 
directly from the InfoPath Designer as long as the form is not a fully 
trusted form and you are a site collection administrator by using the 
Sandboxed Code service in SharePoint. Publishing forms with sandboxed 
code uses the same process as publishing a form to a form library or as a
 site content type.&lt;/i&gt;&lt;/p&gt;&lt;/blockquote&gt;&lt;p&gt;More here: &lt;a href="http://office.microsoft.com/en-us/infopath-help/publish-a-form-HA101783381.aspx#_Toc262226390"&gt;http://office.microsoft.com/en-us/infopath-help/publish-a-form-HA101783381.aspx#_Toc262226390&lt;/a&gt;&lt;/p&gt;&lt;p&gt;Good luck! &lt;br /&gt;&lt;/p&gt;&lt;p&gt;&lt;br /&gt;&lt;/p&gt;</description></item><item><title>Publishing InfoPath form(with code) on Office365 Site.</title><link>https://www.infopathdev.com:443/forums/thread/81153.aspx</link><pubDate>Tue, 31 Jul 2012 07:55:42 GMT</pubDate><guid isPermaLink="false">033a2e2d-04e2-4a9d-be01-a4634161eefd:81153</guid><dc:creator>sheetal.shevate</dc:creator><slash:comments>0</slash:comments><comments>https://www.infopathdev.com:443/forums/thread/81153.aspx</comments><wfw:commentRss>https://www.infopathdev.com:443/forums/commentrss.aspx?SectionID=169&amp;PostID=81153</wfw:commentRss><description>&lt;p class="MsoNormal"&gt;Hi all,&lt;/p&gt;

&lt;p class="MsoNormal"&gt;I have written code in InfoPath 2010 using C#. &lt;/p&gt;

&lt;p class="MsoNormal"&gt;I want to implement this form &lt;b style="mso-bidi-font-weight:normal;"&gt;&lt;u&gt;&lt;span style="font-size:12.0pt;line-height:115%;"&gt;on office365 site&lt;/span&gt;.&lt;/u&gt;&lt;/b&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;I am using the following line of code.&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;color:blue;mso-no-proof:yes;"&gt;using&lt;/span&gt;&lt;span style="font-size:10.0pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;mso-no-proof:yes;"&gt; (&lt;span style="color:green;"&gt;SPSite mySite = new
SPSite(ServerInfo.SharePointSiteUrl.ToString()))&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;color:green;mso-no-proof:yes;"&gt;{&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -------------- &lt;br /&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;b&gt;&lt;span style="font-size:10.0pt;line-height:115%;font-family:&amp;#39;Courier New&amp;#39;;color:green;mso-no-proof:yes;"&gt;}&lt;/span&gt;&lt;/b&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;color:black;mso-themecolor:text1;mso-no-proof:yes;"&gt;But facing error
while publishing it. Aslo can not able to run this code. Getting error in above
line of code.&lt;/span&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;color:black;mso-themecolor:text1;"&gt;&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;Also tried with both the options&lt;/span&gt;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;1]&amp;nbsp; Form Option --&amp;gt; Full Trust (the form has access to file and setting on the computer)&lt;/p&gt;
&lt;p class="MsoNormal"&gt;2]&amp;nbsp; Form Option --&amp;gt; Automatically determine security level (recommended)&lt;/p&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal"&gt; &lt;/p&gt;
&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;Still it needs Administrator Approved.&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&lt;span style="mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;Can anybody have any solution on this?&lt;/span&gt;&lt;/p&gt;

&lt;p class="MsoNormal"&gt;&amp;nbsp;&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Thanks,&lt;/p&gt;
&lt;p class="MsoNormal"&gt;Sheetal &lt;br /&gt;&lt;/p&gt;</description></item></channel></rss>