Modifying a Application Substitution String in Run-time

Hello all,
I have a substitution string defined in an application (under application definition) that needs to be different based on whether the application is on a development server or a test server. Is there a way that I can alter the value of that subsitution string on my test run-time instance after I've brought the application in from development? Perhaps an API call? APEX_INSTANCE_ADMIN doesn't appear to have anything for this.
Or do I have to either do a test in code and set an application item when the application starts up, or pull it from a database table or constant?
Thanks!
John

Shane,
SubVersion works with files, so everything you do has to be a file, including all of your PL/SQL procs / functions / packages. If you have "cowboy coders" editing packages in the database with SQL Developer or TOAD, that's the first thing that needs to change. I regularly export my APEX apps and check them in. I also make a DDL-only backup of any schemas I'm working on at major mile-stones or before upgrades.
There's a server and client component. The sever houses the repository and everyone checks projects out from and commits projects to the server. On the client-side, the TortoiseSVN client is by far the most popular Windows client. It perfectly integrates with Windows so you can right-click a file and lock, update, commit it.
To work on a project, you:
- check it out from the repository. you typically only do this once as you keep a working copy on your client pc.
- get a lock on a file you want to edit. This is optional, but it's my preferred method. Now you are the only one that can commit the file back to the repository.
- make your changes to the file, once you are happy, simply right-click and select commit. you can then enter comments on the file.
- now, anyone else who wants to edit that file will see your changes when they request a lock or issue the "update" command.
You can review every version of the file, diff versions, "Tag" a version of your code, and the list goes on.
After a few hours you'll be comfortable with the client process. I think the server component of it deters most people as you have a number of choices to make and it can be slightly complicated to install. For this reason, I STRONGLY recommend trying one of the hosting providers as then all you have to worry about is the client-side. Additionally, your code is now backed-up off-site.
I don't have any personal experience with these services, but here are a few reasonably priced ones. The first one has a free option which is where I would start with a test project just to get a feel for it.:
- https://www.projectlocker.com
- http://svnrepository.com/
For what it's worth, the APEX team uses SubVersion, as do many dev teams inside Oracle (not the DB dev team though). Also, the new https://samplecode.oracle.com uses Subversion as part of an offering from CollabNet. My 1st project hosted there is called logger . You can brows the logger subversion repository here: https://logger.samplecode.oracle.com/source/browse/logger/
Links:
- [TortoiseSVN Client|http://tortoisesvn.tigris.org/]
- [SubVersion Server|http://subversion.tigris.org/]
Tyler Muth
http://tylermuth.wordpress.com
[Applied Oracle Security: Developing Secure Database and Middleware Environments|http://sn.im/aos.book]
Edited by: Tyler on Nov 17, 2009 2:57 PM

Similar Messages

  • Subtitution of application substitution string only in uppercase?

    Dear Apex users,
    I am working on a specific template for a company. I would like to use a substitution string for the application name, so that the template need not be adapted for each application.
    It works when I create a substitution parameter APP_TITLE and I reference it in the body using &APP_TITLE. The only problem is that I entered a mixed case string and on the page I see an only uppercase string.
    Is there a way to use mixed case substitution strings?
    Greetings,
    Dik

    No, lower case is reserved for HTML expressions and the like.
    Scott

  • I get an error when I try to trim my string during run-time??

    I am able to get the string inputted in without the trim.. but when i add the trim, the program screws up during run-time..
    i have this in my code...
    input = in.readLine();
    when i put the following afterwards.. it doesn't work:
    input = input.trim();
    what should i do that I am not doing? or what am I doing wrong?

    You don't specify what the error is, if it's a NullPointerException then you just need to check
    if (input != null) {
        String trimmed = input.trim();
        ...

  • Folder of application builder(*.exe) with run-time DLL

    My application consists of main.vi, subvi folder, and example folder.
    In addition, I have to add the run-time libraries for add-on tool kit (advanced signal processing, lvwa.dll) which should be located in the root folder.
    (For exe application, can I set the location of DLLs to not the root folder but "DLL folder"?)
    In my several trials, I can't maintain the hierachy of "example folder".
    Instead of my intension, the NI application builder copied the files in the folder to the support directory.
    Can I locate the "example folder" to the root folder by using NI application builder?
    In summary, I want to get the folder structure by application builder.
    main.exe, DLL folder, Example Folder.
    메시지가 08-08-2008 01:30 AM에 labmaster에 의해 편집되었음

    Hey Labmaster,
    What version of LabVIEW are you using?
    I am not too clear as to what you are trying to do. You can create folders and add anything from your project when creating an installer under the Source Files section in its properties.
    It might be easier if you'd attach a screen shot of what you are doing or trying to do.
    Aashish M
    Applications Engineer
    National Instruments
    http://www.ni.com/support/

  • Modifying built in substitution strings (i.e. #NAVIGATION_BAR#)

    All,
    My #NAVIGATION_BAR# substitution string is showing white text on a white background. I'd like to change this to black, but don't know where to access the color. I've tried overriding it in a table cell:
    <pre>
    <td align="right" style="padding:4px;color:#000000;font-size:9pt;" colspan="20" valign="top">#NAVIGATION_BAR#</td>
    </pre>
    but this doesn't work and I don't want to hardcode styles in my html.
    How do I change these values?
    Thanks.

    as you probably know, this stuff is all HTML. so i just now went to tweak my example app's navbar look and feel and found it wasn't so straight forward as modifying a tabledata tag. similarly to you, some of my changes in that <td> seemed to have no effect. then i traced things back to my style sheet where i had stuff like...
    a:link {text-decoration: none;color:#9C6531}
    a:visited {text-decoration: none;color:#9C6531}
    a:hover {text-decoration: underline;color:red;}
    ...and by modifying that style sheet things started to come together.
    hope this helps,
    raj

  • When creating an application installer in LV, what run-time engine or driver must be installed to install the VISA interactive control?

    I've created an application installer using LabVIEW's application builder and use it to install NI MAX.  However, after running the installer, the VISA interactive control is disabled in NI MAX.
    The installer installs the following NI components:  NI LabVIEW Run-Time 2014 SP-1(64-bit), NI LabWindows/CVI Shared Run-Time Engine 2013 SP2, NI Measurement & Automation Explorer 14.5, NI-488.2 Application Development Support (includes run-time), NI-VISA Configuration Support 14.0.1, NI-VISA Runtime 14.0.1, NI-VISA Server 14.0, NI Systems Configuration Runtime 14.5.0, vision run-time, dc-power run-time.
    If I download and run the 488.2 installer, the VISA interactive control is enabled in NI MAX.  But, the installer created with the application builder does not seem to install the necessary components.
    What needs to be added to the installer to enable  the VISA interactive control (VISAIC)?
    Thanks.
    Solved!
    Go to Solution.

    From Pedro Munoz, Applications Engineer, National Instruments
    Sorry for the confusion with the forum post that Jon sent you. I did some research on our internal database and I found out the component will not be installed by any of the components added from the additional installers section on the configuration of the installer. As you have already found out you need to install the full installer in order to enable this feature.
    I know that this might be an inconvenient for you because you wanted to have one installer to run. On this case may I suggest using the NI Batch Installer Builder.
    The NI Batch Installer Builder allows building installers that contain National Instruments software from several products. That way you can create an installer for you application in LabVIEW (and not include the drivers in the additional installer section), then use NI Batch Installer Builder to include the installer for your application and the full version of the drivers that you mentioned.
    Here is the download link:
    http://www.ni.com/download/ni-batch-installer-builder-14.5/5193/en/
    And in here you can find instructions on how to get started with it:
    http://zone.ni.com/reference/en-XX/help/374206A-01/
    Let me know if you have any question.
    Regards
    Pedro Munoz
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Deux run time différents pour deux applications différentes sur un PC

    Bonjour,
    Je suis actuellement en stage et je possède la version 2010 étudiante de Labview sur mon protable. Mon centre de recherche possède également la version complète 2010. Je cherche à créer un exécutable dans cette version pour qu'il soit exécuter sous un autre PC qui possède un run-time de la version 5.1 et 6.0. Je voudrais savoir si je peux installer le run-time version 2010 sur ce PC pour que toutes les applications puissent fonctionner normalement ( et en même temps) ou si simplement les applications de version 5.1 et 6.0 utilisent leur propre run-time indépendamment du fait que j'utilise une autre application nécessitant le run-time 2010.
    Prévenez-moi s'il vous plait si je n'ai pas été suffisamment clair.
    Merci pour votre aide d'avance.
    Olivier.

    Bonjour
    chaque runtime peut s'installer indépandement l'un des autres.
    Le runtime Labview 2010 ne devrait pas perturber les autres.
    Par contre , attention : avec une appliccation il n'y a pas que le run time labview mais aussi (et surtout) les runtime des autres composants qui sont souvent moyée dans le runtime.
    fait ne particulier allusion à DataSocket, daq, daqmx, mathlib, visa, max, ect...
    Cela est d'autant plus complexe, que les versions 5 et 6 de LV ne faisait pas la différence.
    Donc méfiance lors de la mise à jour des PCs.
    Un conseil, faite un backup avec des outils commes Norton Ghost ou easeus todo backup. Si toutefois ils sont compatibles avec des machines faisant tourner du LV 5 et 6.
    bon courrange !
    EricC
    Ingénieur d'Application / Développeur LabVIEW Certifié (CLD)
    Application Engineer / LabVIEW Certified Developer (CLD)

  • Run time Error while Creating Expense request

    Dear Friends ,
    In   E-Payment ( Expense  Claim )   creation , While clicking on Enter Receipts application is going to run time error for only one user.    
    Run time Error Info :
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED
    Exception              CX_SY_REF_IS_INITIAL
    Short text
         Access via 'NULL' object reference not possible.
    What happened?
         Error in the ABAP Application Program
         The current ABAP program "CL_WDR_P13N_UTILITIES=========CP" had to be
          terminated because it has
         come across a statement that unfortunately cannot be executed.
    Error analysis  
        An exception occurred that is explained in detail below.
       The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not
        caught in
       procedure "PRESET" "(METHOD)", nor was it propagated by a RAISING clause.
       Since the caller of the procedure could not have anticipated that the
       exception would occur, the current program is terminated.
       The reason for the exception is:
       You attempted to use a 'NULL' object reference (points to 'nothing')
       access a component (variable: "LR_CONTEXT_ELEMENT").
       An object reference must point to an object (an instance of a class)
       before it can be used to access components.
       Either the reference was never set or it was set to 'NULL' using the
       CLEAR statement.
    How to correct the error 
         Probably the only way to eliminate the error is to correct the program.
       If the error occures in a non-modified SAP program, you may be able to
       find an interim solution in an SAP Note.
       If you have access to SAP Notes, carry out a search with the following
       keywords:
       "OBJECTS_OBJREF_NOT_ASSIGNED" "CX_SY_REF_IS_INITIAL"
       "CL_WDR_P13N_UTILITIES=========CP" or "CL_WDR_P13N_UTILITIES=========CM002"
       "PRESET"
    Information on where terminated
        Termination occurred in the ABAP program "CL_WDR_P13N_UTILITIES=========CP" -
         in "PRESET".
        The main program was "SAPMHTTP ".
        In the source code you have the termination point in line 60
        of the (Include) program "CL_WDR_P13N_UTILITIES=========CM002".
        The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in
        procedure "PRESET" "(METHOD)", but it was neither handled locally nor declared
        in the RAISING clause of its signature.
        The procedure is in program "CL_WDR_P13N_UTILITIES=========CP "; its source
         code begins in line
        1 of the (Include program "CL_WDR_P13N_UTILITIES=========CM002 ".
    Regards,
    Suresh .

    Hi Agrawal
    As you are getting run-time error after entering the sold to party and material and the error is in SAPLV61Z ,
    close the session for sometime and open again and then create sales order and then enter sold to party and material and then check wheather you are getting or not. If you are still facing the problem then take the help of the ABAP & BASIS consultant's.
    Regards
    Srinath

  • Unable to locate labview run time engine (lab view 8.5)

    Hello I have a problem whit the labview 8.5 installer. I have created I project with included a .vi file (a simple panel wich control a serial port, with parameters (baud rate, stop bits, ...)), then I have created an application for this file (.exe) and then the installer (I have included the labview run time engine 8.5). When I run the setup.exe  I have the following error message:
    Unable to locate labview run time engine, the application require a labview run time engine 8.5 or compatible...
    What I'm missing??
    Thanks
    Maurizio

    are there one other reasons why it would not work.  I have asimilar problem.
    I intsalled version 8 of run time engine and acrtivated software.  Now I am trying to run compiled application provided to me by third party.
    When I click on application it says
    Unable to locate LV run time engine
    Test server requires a version 6.0 or compatible LV engine.
    How do I know if the engine I installed and activated is running and is it supposed to be able to execute a program which is expectin rev 6 of the rund engine?

  • Multiple app on same Run time engine

    Hello
    Can we run multiple application on same CVI run time engine?
    We have thin client desktop and want to run application on different terminals. Is it possible?
    Means on server there will be one application installed and 5 terminals will  use same desktop application.
    Thanks

    Yes, you can call multiple instances of the Run-Time Engine. 

  • How to specify a different directory for the Run-Time Engine?

    With LV 7.1 it's become even more difficult to create installation sets in third-party tools without having to include the full run-time engine separately.
    If you use any of the advanced analysis VIs you have to install the run-time engine (no use in including files in the same directory as the built application) and if you do and you use the old serial VIs you get a problem because the application will load the run-time from the main run-time installation and then look for serpdrv in that directory, not in the application folder...
    So - being forced to use the installer builder in the application builder and include the run-time engine in the installation kit I wonder whether it is possible to specify where the run-time should be installed?
    By default it will go in a directory called National Instruments in the program files folder, however that is not ideal due to the fact that the users have no relation to the fact that our application needs something from NI...and may end up deleting the directory ("National Instruments? - what do I need that for...let me delete it...). We would like to be able to specify that the run-time is installed silently in a directory named with our company name instead.
    MTO

    When you create the stand alone, in options you can actually set the temp directory and default directory. You can change it there OR in goto options and check for libraries/directories. You can change it there too.
    Kudos always welcome for helpful posts

  • Run time error in CS5

    I have a run time error in CS5. Not the trial version !
    I desinstalled and reinstalled Photoshop and the error ist still here.
    The application did work fine for a couple of days and suddenly the error appeared.
    Other applications like Lightroom work fine.
    I am running on Windows 7 64 bits. The 32 bit CS5 application has the same run-time error.
    What should I do ?
    Thanks for help.

    Look in Windows 7 event viewer for the runtime hit. The error will be listed there in more detail.
    Also you can run the troubleshooting software built in windows 7.
    You can also run the windows 7 system file checker in a elevated command prompt. Type in sfc /scannow and let it run. 99.9 percent of the time the command will find the error and fix it.

  • I cannot access my openoffice documents. I keep getting a run time error message

    When I try to open any OpenOffice.org 3.0 file I get a message that says Run time error! This application has asked the Run Time to terminate it in an unusual way.

    Please try updating to version 19.0
    Please check if all your plugins are up-to-date. To do this, go to the [http://mozilla.com/plugincheck Mozilla Plugin Check site].
    Once you're there, the site will check if all your plugins have the latest versions.
    If you see plugins in the list that have a yellow ''Update'' button or a red ''Update now'' button, please update these immediately.
    To do so, please click each red or yellow button. Then you should see a site that allows you to download the latest version. Double-click the downloaded file to start the installation and follow the steps mentioned in the installation procedure.

  • Iam getting run time error message when i try to open dream weaver cs4

    iam getting run time error message when i try to open dream weaver cs4

    exact message am getting when i try to open dreamweaver cs4- this application has requested the run time to terminate in it in an unusual  way . please contact the applications support team for more information.

  • Vision Run-Time Evaluation Period

    HI NI,
    I have an application that uses NI Vision functions which require a Vision Run-Time license.  When I distribute this application to potential customers they should be able to run the application with the Vision Run-Time license in "evaluation mode" for 30 days, or at least that used to be the case.  Now, when my potential customers install and run the application they get an error message "Error -1074396157 occurred at an unidentified location Possible reason(s): IMAQ Vision:  Unlicensed copy of NI Vision."
    Why will it not allow me to run in evaluation mode?
    Thanks,
    B

    Hi Ian,
    My customer sells software built on LabVIEW and the Vision Development module.  His potential customers often want to "evaluate" the software before purchasing it.  So, the evaluation period for the vision run-time license is very important.  I wonder if the licensing department has considered this scenario.  Not having an evaluation period for the vision run-time license will make it more difficult for him to sell his software which may trickle down to impact National Instruments sales as well.  I would appreciate it if you would communicate this back to the licensing department.
    Here is my customers response to the new policy:
    This is an Interesting justification for NI's decision....albeit misplaced.
    If the development includes the Vision run time then how on earth is one
    to evaluate the development ? If the development requires the Vision
    run time license to execute how can that be perceived, by any rational
    person, to supersede ( definition: Supersede: take the place of; supplant)
    the Vision run time license ? It doesn't supersede it. it complements it.
    Thanks for your consideration,
    B

Maybe you are looking for

  • Need help with Itunes Authorization issue

    I've been a Itunes/Ipod user for a couple years. During that time, I've sure spent over $500.00 on Itunes music from the Itunes store for my Ipod. My daugter and I both have Ipods.. There have only been 2 machines with Itunes installed here but I occ

  • Separating audio Tracks 1 and 2 in Final Cut Pro 6

    Hello, So this may seem like a easy question but for some reason I'm having trouble. I am editing a project with two audio tracks. Track 1 is a lav microphone and track 2 is (back up) boom mic.  All of track 1 is great with the wireless mic so I want

  • Problème inactivité VISA GPIB

    Bonjour, Je travail sous LB8.5 J'utilise une centrale d'acquisition AGILENT 34980A pour switcher sur 32 pièces dans un banc de mesure. Mon programme est du type séquentiel dans une boucle infinie ( je fait un tas de mesure, j'enregistre, je switch su

  • How to set a Default variant for VL06O (Outbound Delivery Monitor)?

    Hi All, I want to set a DEFAULT VARIANT for  VL06O (Outbound Delivery Monitor) selection screen with "For Picking", "For Confirmation", "For Goods Issue" and "List of Outbound Deliveries" button option. I have already created a variant with those 4 b

  • Personality development plan customization

    Hi All, Good Morning. I am new into OA framework.Here i got requirement Personality development plan customization in r12 version. Navigation: Performance Management > Competence Appraisal Plan / Self Assessment > Appraisals Action Button > Final Rat