InDesign server CS 5.5 - app.scriptArgs.get doesn't work in jsx script or simpleclient problem

Hello
I'm working with Adobe InDesing Server CS 5.5 and having problem that *.jsx script is not able to read input parameters passwd from sampleclient.exe or SOAP (same story in both cases)
I run following command:
     sampleclient.exe -host localhost:8080 "c:\CreateJPEG.jsx" param1="1"
also
     sampleclient.exe -host localhost:8080 "c:\CreateJPEG.jsx" param1=1
and even
     sampleclient.exe -host localhost:8080 "c:\CreateJPEG.jsx" "param1=1"
app.scriptArgs.get("param1") is always FALSE (see script body below).
Please help, I couldn't find an answer anywhere. All documents stats that this should work in a way I described, but it doesn't. Script is performed but param1 is not set.
Here is the script:
#target  InDesignServer
app.scriptPreferences.version = 7.0;
main();
function main()
  var eRet;   
  if (app.scriptArgs.get("param1"))
    var sXMLFilePath = "C:\\CreateJPEG.xml";
    var eRet = app.createJpeg (sXMLFilePath);

I am having the same issue. I am pssing thru SOAP call through
     sampleclient.java -host localhost:12345 "c:\myJSXScript.jsx" myXml="myXmlLocation"
JSX:
function main() {
    try {
        var myInDesignXml;
        app.consoleout("isDefined:=" +app.scriptArgs.isDefined("myXml"));
        if (app.scriptArgs.isDefined("myXml")) {
          myInDesignXml = app.scriptArgs.getValue("myXml")
        app.consoleout("myXml:=" + myXml);
    } catch (e) {
        app.consoleout('General Exception');
    return result;
main();
Output:
isDefined:=false
I should get the text that we have assigned to myXml param.
Please Help on this.
Regards,
JK

Similar Messages

  • Can I get refund for in-app purchase that doesn't work?

    I bought a "no ads" in-app purchase for a game. At first the ads were removed. After a few software updates, the ads come back.
    When I asked for a refund, apple refers me to the developer's web site. When I go to the web site, there is no way to ask for support.
    Have you ever paid for an in-app purchase that doesn't work? What is the recourse?

    If you haven't gotten a refund from iTunes Store before, you might be able to. Get in contact with support to see:
    http://www.apple.com/emea/support/itunes/contact.html

  • HT1977 How do i get my money back for an app if it doesn't work?

    How do i get my money back for an app if it doesn't work?

    With every purchase you'll receive an email confirmatiom. There is a link: "Report Problem". Use it.

  • I have 3 computers. i want to get files from one to another. it doesn't work, i think it is a problem with the apple id?

    i have 3 computers. i want to get files from one to another. it doesn't work, i think it is a problem with the apple id?

    Roger:
    Zugriffsrecht means Access Right according to the translators.
    martinamm:
    You can't do what you want with iCloud.  You will need to setup remote access to your main computer with VPS or some similar remote access application.   With VPS you have an application running on your main computer turning it into a server and an client app on your laptop so you can access it remotely.  There are many such apps out there, some probably more feature filled than VPS.  You might post in the system forum that you're running and ask there.
    OT

  • HT1725 I bought an App last month, doesn't work. consulted the manufacture they sent me to iTunes for refund, reported the problem to iTunes, they sending me back to Manufacturer.

    I bought an App last month, doesn't work. consulted the manufacture they sent me to iTunes for refund, reported the problem to iTunes, they sending me back to Manufacturer. Can someone please assist me on this, I need my refund for this non functional App. BSSoft and iTunes Stores do something here, when I go back to report it again, I get an error message stating "...this problem has been reported or too old to report..."

    Debit card? Are you sure?
    USA iTunes Store does not appear to accept debit cards - http://www.apple.com/legal/itunes/us/terms.html  "The iTunes Store, Mac App Store, App Store, and iBookstore services (“Services”) accept these forms of payment: credit cards issued by U.S. banks, payments through your PayPal account, iTunes Cards, iTunes Store Gift Certificates, Content Codes, and Allowance Account balances."

  • My iPhone 4 turns off (crashes) after accesing any apps, It work fine when plugged to charger. I tried all troubleshooting steps suggested by Apple but it doesn't work. What could be the problem and what are the solutions?

    My iPhone 4 turns off (crashes) after accesing any apps, It work fine when plugged to charger (power supply). I tried all troubleshooting steps suggested by Apple but it doesn't work. I backed up my phone. I restored it several times. Even I re-installed iphone software. Also I restored it as a new iphone but doesn't work. What could be the problem and what are the availble solutions?

    We can't know if there's a "fixture" because we can't examine your phone.  But Apple can.  Make a Genius Bar appointment and get your phone evaluated.

  • I Try to open an Indesign document. The message: it is made in a newer version. Go tot CC: Help/Give your Adobe id/Start Indesign again and try to open the document. This doesn't work. How to solve this problem?

    I Try to open an Indesign document. The message: it is made in a newer version. Go tot CC: Help/Give your Adobe id/Start Indesign again and try to open the document. This doesn’t work. How to solve this problem?

    What version are you running?
    What version was it made with?

  • HT5622 What do to when you buy app and it doesn't work even though you are billed.

    What to do when you buy an app and it doesn't work after you were billed

    Start a ticket here: http://expresslane.apple.com
    Go to iTunes, iTunes Store.

  • I have an Iphone 3GS and the app for Facebook doesn't work anymore...

    I have an Iphone 3GS and the app for Facebook doesn't work anymore since last update made yesterday.
    How can I restore it without the last update?
    Or, what can I do to have the Facebook back again on my mobile?
    Thank you for your help.

    Hi Ricoco,
    I too had exact issue what you were experienced, then I went to Apple autorised service center and submitted my earpods, their it worked with all versions of Apple iphones, but it didn't worked on my 3gs. The service technician suggested for OS  upgrade.Then I came home and I took the backup and upgraded 5.1 to 6.1 as he suggested, also it didn't worked. I was totally frustated and suddenly I got an idea!. What a funny thing here is, a safety pin resolved my issue, I took out all dust which was there in the jack hole. Then I check my earpods, it was amazing you know..MY EAR PODS WORKED!.
    If you still have this issue, I hope this will help you.
    Umesh

  • Music App shuffle option doesn't work

    Stats: iPad 1, iOS 5.0.1
    Music App shuffle option doesn't work.  I have already reset the iPad, removed all my music and resynched.  Shuffle button is selectable, but just plays the songs in alphabetical order, even if I try to skip to another song or start anywhere on my playlist.
    So far this version of music player for apple product is disappointing, the iTunes app before never had these issues.  There are some serious bugs in this Music app, Apple your comback success was largely because of iPods and iTunes, so music is a big part of Apple users use, please fix this.

    Hello,
    Yes I believe this is a known bug in Firefox OS v1.0. [https://bugzilla.mozilla.org/show_bug.cgi?id=883781 Bug 883781].
    The bug is marked as resolved in Firefox OS v1.1. Once ZTE update the Open to v1.1 the bug will be fixed on your device.
    v1.1 of Firefox OS was officially released yesterday. Hopefully it won't be too long before it reaches the ZTE Open. See here for more details:
    [https://blog.mozilla.org/futurereleases/2013/10/09/firefox-os-update-1-1-adds-new-features-performance-improvements-and-additional-language-support/ Firefox OS Update (1.1)]
    I hope that helps.

  • After instaling mavericks  terminal, preview, app store, etc,  doesn't work anymore

    after instaling mavericks the terminal, preview, app store, etc,  doesn't work anymore...
    What have to do to solve this problem?

    You ran a defective third-party "utility" such as "CleanMyMac" that purports to "clean up" "junk" files. What it really does is to corrupt the operating system.
    The first thing you need to do is remove that software, if you know what it is, according to the developer's instructions. Never install it, or anything like it, again. Then see below.
    If you don't already have a current backup, back up all data, then reinstall the OS. You don't need to erase the startup volume, and you won't need the backup unless something goes wrong. If the system was upgraded from an older version of OS X, you may need the Apple ID and password you used.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    If you installed the Java runtime distributed by Apple and still need it, you'll have to reinstall it. The same goes for Xcode.

  • I push the cloud botton on the appstore to return the past purchased apps but it doesn't work.why?

    i push the cloud botton on the appstore to return the past purchased apps but it doesn't work.why?

    Oh gosh, this is ancient history for me.
    First, I remember some sort of third party boot enabler being required to install OSX on some G3s.  Not sure if it included iBook. http://eshop.macsales.com/OSXCenter/XPostFacto/Framework.cfm?page=XPostFacto.htm l
    Second, which exact set of installer discs?  They have to be black colored retail discs, not grey ones which came with a specific model Mac and will only boot that model.
    What are the exact specifications of the computer?  Does it have sufficient RAM?  You're asking a lot for a G3 to run Tiger.

  • HT204088 If I buy an app, and it doesn't work like its suppose to, can I get a refund, ?

    If I buy an app that doesn't work like it is suppose to, can I get the $6.99 refunded back to my iTunes account ?

    If you've tried contacting the developer and not had a response then you can try the 'report a problem' link from your purchase history : log into your account on your computer's iTunes via Store > View My Account (Store > View My Apple ID on iTunes 11) and you should then see a Purchase History section with a 'see all' link to the right of it ; click on that and you should see a list of your purchases ; find that app and click the arrow to the left of it, click the 'Report a Problem' link and fill in details about the problem (iTunes support should reply within, I think, about 24 hours).
    Some people have had a problem with the 'report a problem' link (it's been taking people to this site on a browser instead of showing a form in iTunes) - if it does that to you then try contacting iTunes support via this page : http://www.apple.com/support/itunes/contact/- click on Contact iTunes Store Support on the right-hand side of the page.

  • File server for school LAN--unable to get Open Directory working right

    I've been following the tutorials on wazmac.com for configuring an OSX 10.6 server for local network file sharing.
    Server IP address is 192.168.1.99.
    FQDN is oltserver.ourladyoftepeyac
    AFP, DNS, and Open Directory are configured, supposedly correctly.
    What works:
    Resolving the domain name to the server's IP address and vice-versa on Network Utility Lookup while on the server.
    On client computers, under Accounts, I can bind to the IP address and I can bind to "oltserver.local".
    After binding and restarting, I get a logon screen that shows the available users I have created in Workgroup Manager.
    What doesn't work:
    Cannot resolve the domain name to the server's IP address and vice-versa on Network Utility Lookup while on client machines.
    On client computers, under Accounts, I cannot bind to the FQDN, oltserver.ourladyoftepeyac. Error: Could not resolve the address (2200).
    When trying to log on to a network account from a client, it fails. "Cannot log in because an error occurred."
    There must be a problem with the settings for my DNS service. But unfortunately the wazmac guide doesn't give a lot of troubleshooting advice.
    Any help would be appreciated. Here are bunches of settings screenshots.

    That's terrific! I am almost there.
    What I did:
    I followed your advice on the domain name and renamed it ourladyoftepeyac.lan. Screenshot.
    Then (what probably made a big difference), I went into the network settings for the client Macs and removed their incorrect manual settings for DNS servers. This gave them the correct DNS servers! Screenshot.
    This allowed the Network Utility on client machines to correctly resolve the server's IP address with the domain name! Screenshot.
    Aaaaand it solved the problem with previously being unable to bind the client mac to the Open Directory server. Screenshot.
    But:
    After all of that, the clients still aren't logging in. So disappointing. It's unbelievable how unhelpful the error message is, too. "Logging in to the account failed because an error occurred."
    I can't understand why this is. AFP is active and set to allow guests to log in. Unfortunately, with all the help you've given, I don't have any clues left as to why the clients aren't logging on.

  • TS1702 How do I get a refund on an app purchase that doesn't work on my iPad?

    I recently purchased an app in the app store for 9.99 dollars, but it doesn't work in my iPad, I want a refund, how do I go about it?
    Pls help...
    Thanks a lot!

    Welcome to Apple Communities
    Contact with iTunes support, but you won't get a refund probably

Maybe you are looking for