Error when opening saved files in sharepoint library - InfoPath Dev
in

InfoPath Dev

Error when opening saved files in sharepoint library

Last post 06-16-2010 02:58 PM by daskuntal. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-20-2009 01:01 PM

    Error when opening saved files in sharepoint library

    I have the form querying a my secondary data source. I save the file to a SharePoint site and when I go out to edit the form I receive the below error.

    Form template: http://servername/Forms/template.xsn
    InfoPath cannot open the selected form because of an error in the form's code.
    The following error occurred:

    'msoxd__getUserProfile__firstname' is undefined
    File:script.js
    Line:24

    Looks like it's trying to retrieve the data again.

  • 02-20-2009 09:06 PM In reply to

    Re: Error when opening saved files in sharepoint library

     Hi,

    Once check for the variable 'msoxd__getUserProfile__firstname' in script.js. What you are doing with that variable? Can you  paste the code that you are using with that variable?

    Swathip
    www.ggktech.com
  • 02-23-2009 01:30 PM In reply to

    Re: Error when opening saved files in sharepoint library

      Thanks for the response.  I have the text field assigned to a data field assigned to a query assigned to a WDSL.  So when the query runs it updates and stores the info into the form I submit.  I have not really added any code into the form.

    During the process I open the template or published form to sharepoint.  I open the form and complete it.   It is then stored in the sharepoint library to a reviewed section.  I would need to go to the review section modify the document.  I get the above error when I opening the saved document from sharepoint library.    

     I hope I can help.

  • 02-23-2009 01:54 PM In reply to

    Re: Error when opening saved files in sharepoint library

    SOLVED.  Thanks for the insight and help.

  • 06-16-2010 02:58 PM In reply to

    Re: Error when opening saved files in sharepoint library

     Can you please let us know how you solved this issue?

    I'm facing the exact same problem, but I can't edit the script.js file. 

    Thanks

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