Javascript development on Apex - How to show changes on the Javascript on Apex without restarting the web server?

  Hi,
I am working on a Javascript for Apex. The changes are not reflected and I was told to restart the app server. Is there a better way for Apex to process the changed Javascript? Thanks.

Hi,
I assume you store JavaScript to web server folder and browser caches your file.
Use query string end of file name like
/my.js?v=0.0.1
And when you change file, change query string value
Templates JavaScript help says:
File reference using a query string in the URL referencing the application version, such that when the application is upgraded
(and the version is incremented), the browser will be instructed to always load the new file and ignore any previously cached files.
/myjs/main.js?version=#APP_VERSION#

Similar Messages

  • How can I change a color of an image without affecting the texture, but based on a pantone pick?

    Here is an image of a paintbrush stroke that shows the texture of the paint.  I want to change the color to a specific pantone green in order to match a specific color pallet.  Rather than just using hue saturation to "guess" at the color (no pantone number), is there a way I can actually set a base color without losing the texture?

    You can only use the picker values as a guide on an image with many tones.
    I presume you are going to print as cmyk, so find the mix of the target colour and make a 'solid colour' adjustment layer and choose that mix. Then set the adj layer properties to 'hue' which should do it.
    Otherwise, add a 'hue/saturation' layer (and click on colorize in the adj layer palette) and move the slider to suit.
    If you convert to greyscale, you could colorize the pic with the spot colour too.

  • In CVI !!!! How to dynamic change BaudRate of RS232 Serial COM Without closing the Port !!!

    Dear all:
    I want to change the buadrate of serial com without closing the serial com, but it failed when I use the function "SetCommConfig(m_hCom, &Com_cfg, Com_cfg_S) " to reset the buadrate ,baudrate is no change when use GetCommConfig to read back the value. 
    Appreciated all of your advice . TKS!
    Code with WINAPI as beloow:
    CreateFile(..) ;
    GetCommState(..);
    dcb.BaudRate= 1000000 ;
    SetCommState(..);
    //......do other things
    //change baudrate to normal without closing port .
    GetCommConfig(m_hCom, &Com_cfg, &Com_cfg_S);
    Com_cfg.wVersion = 0X100;
    Com_cfg.dwProviderSubType = 1;
    Com_cfg.dcb.BaudRate =9600  ;
    Com_cfg.dcb.StopBits =1 ;
    SetCommConfig(m_hCom, &Com_cfg, Com_cfg_S);
    GetCommConfig(m_hCom, &Com_cfg, &Com_cfg_S);   
    Solved!
    Go to Solution.

    This topic has been discussed some years ago: see here. Please note that even if I made that sample program which changes the baud rate without closing the port, I never used it in a real situation: you'll need to made your tests and check if this solution can satisfy your needs in the short and long term.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • How can I change to a different SSL certificate without restarting FF?

    I work in a helpdesk environment and my team requires the use of two different SSL certificates for one particular website depending on what we are doing. I can only find the following two ways to do this:
    1. Restart Firefox - this is really unproductive due to the nature of our work we have a lot of things open and in use in different tabs/windows and restarting firefox makes us lose information/progress (it's not the kind of stuff that re-opening the tabs automatically will fix).
    2. Wait 20 minutes after the last use of the certificate for it to time out and then Firefox will ask us to choose the certificate next time we try to access the page - obviously this is a pretty asinine solution and won't really work. (:
    I'm just wondering if there is some way to force Firefox to change certificates or forget the one that is currently in use for the site?

    Thanks for the suggestion, I should've mentioned I'd already tried that without success. I tried clearing everything in the Clear Recent History section actually but the certificate is still remembered.
    I've also just now tried deleting the certificates completely but not even that works - a little concerning. (:

  • How do I change Firefox's audio output device without relaunching the browser?

    I frequently switch between different headsets and speakers using USB audio devices. Whenever I change from audio device to another, Firefox does not change it's audio output to match my current device. Other programs/games follow suit when I change my default audio device and I really dislike that I have to exit out of Firefox completely and reopen for my audio to come through the correct device. It's not a huge issue, but when I have multiple windows and multiple tabs open it can be annoying having to start my browsing session all over again. Any tips to deal with this issue?
    Thanks!

    philipp,
    Thank you! The beta worked perfectly when I swapped between audio devices. I just had to make sure I disabled the devices that weren't in use before Firefox would switch to the new default.
    Unfortunately, while I was typing this message my client crashed, but that's not uncommon for a beta.
    Thanks again for your help!!

  • How do I change my ICLOUD account on iphone without deleting the account?

    I entered a friend's account on Icloud and now I can't put mine's. If can, spanish answer please.

    Google translate:
    Para cambiar la cuenta de iCloud tienes que ir a Ajustes> iCloud, toque Eliminar cuenta, proporcione la contraseña cuando se le pida que apague Buscar mi iPhone, y luego volver a iniciarla con la ID que desea utilizar. Esto sólo elimina la cuenta del teléfono, no desde iCloud. Dispositivos personales de su amigo no serán afectadas por la eliminación de la cuenta de su teléfono.
    Al eliminar la cuenta que se le pedirá que sea conservar o eliminar los datos de iCloud desde su teléfono. Si estos son los datos de tus amigos, elija Eliminar en mi iPhone. Sus datos serán iCloud descarga en el teléfono al iniciar sesión en su cuenta.

  • HT5621 I changed my Apple ID but on my iPhone when I go into settings iCloud it still shows the old Apple ID. How do I change this? I was going to delete the iCloud account from my phone then add it back with the new Apple ID, but I'm not sure...help!

    I changed my Apple ID but on my iPhone 4S w/ iOS 7.0.4, when I go into settings > iCloud it still shows the old Apple ID. How do I change this? I was going to delete the iCloud account from my phone then add it back with the new Apple ID, but I'm not sure...help!

    http://support.apple.com/kb/TS5223?viewlocale=en_US
    Peace, Clyde

  • How do I restart apex without restarting the database?

    As the title says... How do I restart apex without restarting the database?
    For the second time in as many weeks apex 3.0.1(?) has stopped working while the database (10gR2) hasn't missed a beat.
    How do I restart apex?
    How do I get it to restart automatically on failure.
    How do I receive failure notification messages.
    How do I diagnose the cause of the failure.
    We were looking at using apex in a production environment but the prospect of unplanned restarts of production databases every week is a little daunting.
    Regards,
    David

    David,
    >> We're not using oracle http server as it's a 64 bit version so yes the whole thing is running within the database.
    1) So your Web server is the XDB HTTP protocol server and embedded PL/SQL gateway (basically, the database's embedded Web server)? Is this 11g? If so, what platform?
    2) Are there any reported issues in the database alert log?
    3) When you check the status of the database listener, does it show services running for this specific port (default 8080, I guess)?
    4) If you normally go to http://server:port/apex, when this situation occurs, what happens when you try and go to http://server:port?
    Joel

  • I don't remember my old Apple ID and I closed my email account that I was using for my old Apple ID. Now, how can I change my icloud id on my Ipad. The old icloud id is still on my Ipad.

    I don't remember my old Apple ID and I closed my email account that I was using for my old Apple ID. Now, how can I change my icloud id on my Ipad. The old icloud id is still on my Ipad.

    ChrisJ4203,
    Thank you for the help.  Every app on my phone was downloaded using my old I-tunes ID.  I just hope that they will re-download under my new ID because I still can't change it on my phone.  In order to change to the new ID it says I have to sign out from the old ID and change to the new one.  My problem is that I don't remember my password to be able to sign out from my old ID.  Then the phone says it can change my password through e-mail and I  agree but I never get an e-mail at my old address or the new one.
    BHuyett

  • In mail how do we stop the e-mail's showing as read when you select them without opening the full e-mail

    In mail how do we stop the e-mail's showing as read when you select them without opening the full e-mail? I want to click on a mail and read this in the preview pane only without showing it as read.

    Not possible. In order to read an email in the preview pane requires opening the message. You can mark a message that you've read as unread after reading it.

  • How do I change my security questions and answers without setting up a new account. I can't remember the answers to the questions that they ask.

    How do I change my security questions and answers without setting up a new account. I can't remember the answers to the questions that they ask.

    1. See my User Tip for some help: Some Solutions for Resetting Forgotten Security Questions: Apple Support Communities.
    2. Here are two different but direct methods:
        a. Send Apple an email request at: Apple - Support - iTunes Store - Contact Us.
        b. Call Apple Support in your country: Customer Service: Contacting Apple for support
            and service.
    3. For other queries about Apple ID see Frequently asked questions about Apple ID.
    4. Rescue email address and how to reset Apple ID security questions
    5. For online assistance use Apple - Support - Express Lane

  • HT4623 How can I change my Icloud account on my ipad to the one I use on my iphone?

    How can I change my Icloud account on my ipad to the one I use on my iphone?
    For example on my iphone I log in with a yahoo account.  My ipod was originally set up with another e-mail account (which I can't remember the password).  I want to use the yahoo e-mail and the password associated with it to log on to both devices.

    Welcome to the Apple Community.
    Firstly, you need to change your details with Apple,  Start here, change your country if necessary and go to manage your account.
    In order to change your Apple ID or password for your iCloud account on your iOS device, you need to delete the account from your iOS device first, then add it back using your updated details. (Settings > iCloud, scroll down and hit "Delete Account")
    Providing you are simply updating your existing details and not changing to another account, when you delete your account, all the data that is synced with iCloud will also be deleted from the device (but not from iCloud), but will be synced back to your device when you login again.
    In order to change your Apple ID or password for your iCloud account on your computer, you need to sign out of the account from your computer first, then sign back in using your updated details. (System Preferences > iCloud, click the sign out button)
    In order to change your Apple ID or password for your iTunes account on your iOS device, you need to sign out from your iOS device first, then sign back in using your updated details. (Settings > iTunes & App store, scroll down and tap your ID)
    If you are using iMessages or FaceTime, you will also need to log out and into your ID there too.

  • How can I change fullscreen background color, so that it is the same when viewing on mac and iPad? I want this to be able to use MathType in widget text.

    How can I change fullscreen background color, so that it is the same when viewing on mac and iPad? I want this to be able to use MathType in widget text.
    As an example, html widget has white background on iPad, and black on mac. The same goes for interactive widget.
    The MathType text inserted is inserted as a image, and will have the same color when in fullscreen as when not. So I need the textcolor to be the same in both views. Anyone know how to fix this?

    We're still not communicating. This is why I wanted an example .iba.
    Here's a re-creation of my own, going off what you described. You said "all html widgets and all gallery widgets" have this problem. So I inserted a blank HTML widget and a blank Gallery widget, and typed into both. Inserted a MathType equation into both. I don't see any difference when I preview it on my Mac compared to the preview on the iPad. I want to help, but I can't help if I can't duplicate the issue.
    I've attached the screen shots and the .iba file [link to .iba file].
    Feel free to email me directly at bobm at dessci dot com. If you're uncomfortable giving some information here, tell me anything you want in email. I work for the "MathType company", Design Science.

  • How we can limit the number of concurrent calls to a WCF service without use the Singleton pattern or without do the change in BizTalk Configuration file?

    How can we send only one message to a WCF service at a time? How we can limit the number of concurrent calls to a WCF service without use the Singleton pattern or without do the change in BizTalk Configuration file? Can we do it by Host throttling?

    Hi Pawan,
    You need to use WCF-Custom adapter and add the ServiceThrottlingBehavior service behavior to a WCF-Custom Locations.
    ServiceThrottlingBehavior.MaxConcurrentCalls - Gets or sets a value that specifies the maximum number of messages actively processing across a ServiceHost. The MaxConcurrentCalls property specifies the maximum number of messages actively
    processing across a ServiceHost object. Each channel can have one pending message that does not count against the value of MaxConcurrentCalls until WCF begins to process it.
    Follow MSDN-
    http://msdn.microsoft.com/en-us/library/ee377035%28BTS.10%29.aspx
    http://msdn.microsoft.com/en-us/library/system.servicemodel.description.servicethrottlingbehavior.maxconcurrentcalls.aspx
    I hope this helps.
    Rachit
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • I have a iPad and a iPod touch how do I sync both of them to iTunes without mixing the apps, my iPad apps shows up on my iPod which is not good because I only have 8G on the iPod, I would like to keep them separate

    I have a iPad and a iPod touch how do I sync both of them to iTunes without mixing the apps, my iPad apps shows up on my iPod which is not good because I only have 8G on the iPod, I would like to keep them separate

    Turn Automatic Download off
    Settings>iTunes and Apps Store>Automatic Download>Off

Maybe you are looking for

  • Add-on page won't open - want to enable and enable flash player

    The Firefox Ad-ons page will not open - it goes into an eternal cycle. I used to open it regularly to enable and disable the flash player - now I can't do this.

  • System.out.println in jar files

    hi i have created by jar file all works fine it is a swing application and is some places for debugging i have used System.out.println but when run my jar file and it should print out somthing o System.out.println it dose not how do i get this to wor

  • Getting runtime Error 'UC_OBJECTS_NOT_CHARLIKE'  for ALV grid

    Hi, When I call method SET_TABLE_FOR_FIRST_DISPLAY of ALV I get runtime error 'UC_OBJECTS_NOT_CHARLIKE'. Actually i have set in the fieldcatalog the field 'CHK' of internal table as checkbox. wa_fcat-fieldname = 'CHK' . wa_fcat-coltext = 'Clear' . wa

  • Web Intelligence Rich Client Loading time

    Hi all, Need some help. Anyone know what's the specification requirement to use the BO XI R3.1 Client Tools example for Web Intelligence Rich Client. I have an issue from client saying that their Web Intelligence Rich Client loading too slow before t

  • Please fix the ring tone!

    The ring tone is still broken for many users. This happened during a recent "update" this spring. Don't you guys do beta testing? http://community.skype.com/t5/Windows-desktop-client/No-ring-tone-when-receiving-incoming-call/td-p/...