in

InfoPath Dev

Browse by Tags

  • マネージコード フォームを開けるときのセキュリティ エラーの回避法

    Webサイトに配置されたInfoPathフォームを開けようとした時、暗号めいたエラーメッセージが出てフォームを開けないという経験をしたことがあるかもしれません。これはインターネットでもイントラネットでも起こりえます。実はC#のコードがフォームに含まれているのが原因だということもしばしばあります。たとえそのC# InfoPathプロジェクトが空だったとしても! この時に表示されるダイアログは、次のようなものです。 まずは、良くある原因への対処としいて、以下を実行してみてください。 インターネット エクスプローラのキャッシュを、[ツール]メニューの[オプション]から、クリアします。これはIEのバグの回避策です...
    Posted to Shiraz Cupala (Weblog) by Kaoru Okumura on 11-02-2006
  • Adding Intranet Sites to IE Trusted Sites Makes IE Zone Internet

    Managed code forms that use simple code like System.Environment.Username will fail with a security exception for form templates with domain trust when launched from an Internet IE zone. Here are the options: Remove Trusted Site setting for the intranet site. Pro: this is the best approach since intranet...
    Posted to Patrick Halstead (Weblog) by Patrick Halstead on 10-21-2006
  • Open an InfoPath File from a Web Page

    There are times when you get data from a DB and want to throw an xml file from a web page. To do that, in your aspx code you would have to build the InfoPath xml with the PI information using methods in the System.Xml namespace (or StringBuilder String.Format etc). This xml string is then given as input...
    Posted to Agni Reddy (Weblog) by Agni Reddy on 06-28-2006
  • Security Error Opening a Managed Code Form

    Sometimes when trying to access an InfoPath form deployed to a web site you will get a cryptic security error preventing the form from opening. This can happen both for intranet or internet web sites and is oftentimes due to the fact that the form has C# code in it. This can happen even if the C# InfoPath...
    Posted to Shiraz Cupala (Weblog) by Shiraz Cupala on 04-27-2006
  • Display Inline Pictures From a Rich Text Field on a Web Page

    To display your InfoPath form data in a Web page, you can write XSL to translate your form into HTML. With a little knowledge of XSL this is a straightforward task. To display the contents of a rich text field you must use xsl:copy-of instead of xsl:value-of . This allows the XHTML content to be displayed...
    Posted to Greg Collins (Weblog) by Greg Collins on 06-11-2005
  • Launch a Supporting Form

    InfoPath forms can do a lot of things. But at times you might want one form to launch another form to perform a different, but related task. You might have needs for numerous forms to work together as part of an overall solution. In this task we will create several buttons which will launch a supporting...
    Posted to Greg Collins (Weblog) by Greg Collins on 06-10-2005
  • Prevent the Internet Explorer Cross-Domain Security Dialog Box

    With default settings, Internet Explorer might warn you when your InfoPath form attempts to access data across domains (see Figure 1). Notice that the title bar is labeled as "Internet Explorer"; this is because Internet Explorer, and not InfoPath, is posing the security risk. Although this...
    Posted to Greg Collins (Weblog) by Greg Collins on 06-10-2005
Page 1 of 1 (7 items)
Copyright © 2003-2007 Qdabra Software. All rights reserved.
View our Terms of Use.