InfoPath 2010 problem using Custom Task pane (javascript and aspx) - InfoPath Dev
in

InfoPath Dev

InfoPath 2010 problem using Custom Task pane (javascript and aspx)

Last post 09-22-2010 12:11 AM by manu2911. 1 replies.
Page 1 of 1 (2 items)
Sort Posts: Previous Next
  • 06-01-2010 09:52 AM

    InfoPath 2010 problem using Custom Task pane (javascript and aspx)

    We have started testing Office 2010 and have discovered a problem with Infopath forms.   We have many old Infopath 2003 developed forms which utilize the InfoPath custom task pane with javascript and an ASPX page.   The ASPX performs a search of our Active Directory to pull employee information.   We realize that we probably need to eliminate this custom task pane code and use the contact selector control to pull AD information but we have many forms to convert and we need to move forward with Office 2010.   Here is the Javascript with the line highlighted that is failing.   Any help would be greatly appreciated.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"><HTML>  <HEAD>              <title>Eastman User Search</title>              <link REL="stylesheet" TYPE="text/css" HREF="InfoPathTaskPane.css">              <script language="javascript">                     function itemSelected (userid)                     {                           var xDoc = window.external.Window.XDocument;                           if (xDoc == null)                           {                                  alert ("Could not obtain reference to XDocument.");                           }                           else                           {                                  xDoc.Extension.UserLookupDone (userid);                            }                           return false;                     }                     function disableSearch()                     {                         document.forms(0).startSearch.value = "Searching...";                         document.forms(0).startSearch.disabled = true;                     }              </script></HEAD>

     

     

  • 09-22-2010 12:11 AM In reply to

    Re: InfoPath 2010 problem using Custom Task pane (javascript and aspx)

    Hello,

    do you have a solution for this problem?

     

    Thx

Page 1 of 1 (2 items)
Copyright © 2003-2019 Qdabra Software. All rights reserved.
View our Terms of Use.