script.js not showing up in Script Editor - InfoPath Dev
in

InfoPath Dev

script.js not showing up in Script Editor

Last post 01-30-2009 04:13 AM by skrile. 2 replies.
Page 1 of 1 (3 items)
Sort Posts: Previous Next
  • 01-28-2009 07:32 AM

    • skrile
    • Top 500 Contributor
    • Joined on 08-17-2006
    • USA
    • Posts 29

    script.js not showing up in Script Editor

    Wonder if this has happened to anyone else.  I have been scripting in InfoPath for a while and was telling a co-worker some stuff.  He started to try some of the techniques, but a weird thing is happening.

     When he opens the script editor (either by looking at the Form Load events, or Edit Form Code... from a button) the Script Editor loads, but the Script.js file contents are NOT DISPLAYED.  All the other windows are there including the Project Explorer which shows the script.js file under the Template. 

    Anyone ever come across this?  When I open the same InfoPath document on my machine and open the script editor, I see the code just fine.  We both have exactly the same InfoPath versions (11.8165...) and the same Script Editor version (7.0.9064). 

  • 01-28-2009 06:37 PM In reply to

    • Shiva
    • Top 25 Contributor
    • Joined on 04-15-2005
    • India
    • Posts 694

    Re: script.js not showing up in Script Editor

    Hello,

    Can you look at once that script.js file is locked symbol in your solution? Then you have to remove the existing script.js and add it again.

    Can you try to open that script.js file in editor mode?

  • 01-30-2009 04:13 AM In reply to

    • skrile
    • Top 500 Contributor
    • Joined on 08-17-2006
    • USA
    • Posts 29

    Re: script.js not showing up in Script Editor

    Well, the script.js is part of an InfoPath 2003 document - as such, I don't have direct access to the file.  As I understand it, it's wrapped up in the .xsn file.  I didn't "add" it to begin with.

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