Change application to RUN ONLY via API?

Is it possible to set an application to be RUN ONLY via the API instead of accessing the Workspace manager? We have an environment that discourages access to the workspace manager in production and try to do as much as possible via SQL Plus..
Right now when we migrate an application to production, we get a copy of the application from version control, modify the app to a RUN ONLY version and then pass it over to our DBA to load into production. We would prefer to made the RUN ONLY change when the app is loaded into production via SQL Plus and the APEX API...
Any suggestions?
Thank you,
Tony Miller
Ruckersville, VA

TexasApexDeveloper wrote:
So in theory, if you setup an anonymous block with the security and such and tried to update the flows table, you could achieve this, right???
(I know what I am asking is unsupported, thus the "In Theory" portion of posting, just to be sure no thinks I will violate the terms that we use APEX under)..
Thank you,
Tony Miller
Ruckersville, VATony,
I understand, In theory it should be ok and here is the full update statement, and valid values for build_status column are RUN_AND_BUILD and RUN_ONLY
  update wwv_flows
  set build_status = 'RUN_ONLY'
  where id = l_id and
        security_group_id = :flow_security_group_id and
        build_status != nvl(l_build_status,'x') and
        build_status is not null;Thanks,
Vikram

Similar Messages

  • Script to export a script as run-only via AppleScript Editor

    Hi,
    I have written a script that's creating a new script and than save it to the desktop as run-only.
    Now Apple has re-written the rules of AppleScript Editor so the run-only command had to go via 'Export' (and not 'Save' anymore).
    I can't figure out how to script it now... I even tried to script the menu's but that's only possible for all menu's without '...' ending it. For example: 'File > New' is scriptable, but 'File > Export...' is not.
    Script 1 is the script I want to get working, but if scripting the Export of AppleScript Editor is not possible, I want to get de workaround of Script 2
    Script 1:
    ==================================================
    set myScript to "
    set studentnumber to \"" & studentnumber & "\"
    set password to \"" & password & "\"
    tell application \"Safari\"
    tell application "AppleScript Editor"
    activate
    make new document with data myScript
              save document 1 as "application" in file ((path to desktop as Unicode text) & "Automatisch Inloggen op GLR.app") with run only
    -- save doesn't work anymore and has to be EXPORT...
              return
    close document 1
    end tell
    =================================================
    Script 2 (workaround, but doesn't work either)
    tell application "AppleScript Editor" to activate
    menu_click({"AppleScript Editor", "File", "Export..."})
    -- 'File > New' works but 'File > Export... not'
    on menu_click(mList)
              local appName, topMenu, r
    -- Validate our input
              if mList's length < 3 then error "Menu list is not long enough"
    -- Set these variables for clarity and brevity later on
              set {appName, topMenu} to (items 1 through 2 of mList)
              set r to (items 3 through (mList's length) of mList)
    -- This overly-long line calls the menu_recurse function with
    -- two arguments: r, and a reference to the top-level menu
              tell application "System Events" to my menu_click_recurse(r, ((process appName)'s ¬
                        (menu bar 1)'s (menu bar item topMenu)'s (menu topMenu)))
    end menu_click
    on menu_click_recurse(mList, parentObject)
              local f, r
    -- `f` = first item, `r` = rest of items
              set f to item 1 of mList
              if mList's length > 1 then set r to (items 2 through (mList's length) of mList)
    -- either actually click the menu item, or recurse again
              tell application "System Events"
                        if mList's length is 1 then
      click parentObject's menu item f
                        else
                                  my menu_click_recurse(r, (parentObject's (menu item f)'s (menu f)))
                        end if
              end tell
    end menu_click_recurse

    Applescript has changed a little. You can now save uncompiled scripts, but it would make no sense to save an uncompiled script as read-only, so trying to do that fails. Add a compile command before the save:
    tell application "AppleScript Editor"
      activate
              set doc to make new document with data myScript
      compile doc
              save doc as "application" in ((POSIX path of (path to desktop)) & "Automatisch Inloggen op GLR.app") with run only
              return
      close doc
    end tell

  • How do you delete an application that is run only ? (Apex 3.1.2)

    Hi,
    There must be something simple I'm missing here ...
    I've deployed an application as run only on a server and I'd like to drop it and then import a new version (I'd like to keep the application number).
    But, from the application builder I don't get the option when I click on it ... how is this done using the screens or do I need to use sqlplus and an API call ?
    Steve

    If you just want to delete applications set to 'Run Application Only', 2 possible methods (method 2 is much easier, but relies on use of SQL Developer):
    1) The first method involves firstly changing the status back to 'Run and Build', which must be done in the APEX instance administration application, then going back into your workspace and deleting the application(s). So login to the APEX instance administration module (you'd need to have instance administration access), go to 'Manage Applications > Build Status' and click on the Edit icon of the application you eventually wish to delete. On the next page change the status to 'Run and Build Application'. Then you can log back into your workspace and delete this application as normal.
    2) Use the SQL Developer integration to do this. In SQL Developer, open a connection to the parsing schema defined for your application. Then you'll see an Application Express node within that connection. Expand this and you'll see a list of applications (regardless of status). Locate the application you wish to delete and right click on it, select 'Drop' and click 'Yes' and your done.
    Anthony.
    http://anthonyrayner.blogspot.com

  • Flash-Application to run on CD-Rom only

    Hi
    I'm looking for a solutions to a seeminlgy simple problem:
    I have an standalone Flash application on CD-Rom, and I want
    the application to run only if the app runs directly off the CD -
    or at least if the CD is inserted in the CD-drive.
    Thus if the app gets copied from the CD onto the computer it
    shouldn't be playable if the CD ain't here.
    Except of getting an (expensive) copy protection on the
    CD-Rom, can I solve this within Flash or with any other Flash-Tool?
    What kind of options do I have to achieve this?
    What are some of the solutions you came up with?
    Thanks for any input on this one.

    peter_76 wrote:
    > Hi
    >
    > I'm looking for a solutions to a seeminlgy simple
    problem:
    > I have an standalone Flash application on CD-Rom, and I
    want the application
    > to run only if the app runs directly off the CD - or at
    least if the CD is
    > inserted in the CD-drive.
    > Thus if the app gets copied from the CD onto the
    computer it shouldn't be
    > playable if the CD ain't here.
    > Except of getting an (expensive) copy protection on the
    CD-Rom, can I solve
    > this within Flash or with any other Flash-Tool?
    > What kind of options do I have to achieve this?
    > What are some of the solutions you came up with?
    > Thanks for any input on this one.
    Hmm
    Tough one. Even with high end protection tools there is never
    a problem to rip
    content off the CD.
    I would perhaps go with shared object. Not perfect solution
    but it could work
    to some degree.
    Shared Object is a native form of Flash's cookies. It can
    store data on user drive
    in form of *.sol file. It's not editable or possible to open
    with any conventional
    program, nor it's easy to find as most users don't even know
    these files exists.
    How would Shared Object apply here?
    On first run you get the drive letter by checking the path of
    the projector file and
    store that in Shared object on user drive. On every other run
    you compare the letter
    to a new path and if it changes, which is not likely if user
    run it off the CDROM, than
    you maintain the application playback and if it did change,
    you can do some action to
    stop it.
    Now, it would be very easy to work it around if before
    running user would copy it directly
    to the drive but is not likely. Someone usually run it first,
    than copy so as long as it
    run once, you able to make that record using shared object.
    Best Regards
    Urami
    !!!!!!! Merry Christmas !!!!!!!
    Happy New Year
    <urami>
    If you want to mail me - DO NOT LAUGH AT MY ADDRESS
    </urami>

  • Run only application

    Hi all,
    I have 2 question about application installation procedure (via 2.1.0.00.38):
    1. in the export-to-file process i specify in the 'build status override' field a value (run only ot build and run). why do i have to specify this kind of value in the import process too (in 'build status' field)?
    2. I installed an application in run-only status. now, it disappeared from the application repository. how do i regain access to the application (lets say...in order to delete the application)?
    regards
    Liron

    Liron,
    1. You have the option on export to create a file with a run-only status so that it will be run-only after it's installed somewhere else, unless the person installing it overrides that. It's also possible to use SQL*Plus to install applications, so then the run-only or run-and-build status would be taken from the setting in the file with no opportunity for override.
    2. Import it again from your exported file, set it to run-and-build and then delete it.
    Scott

  • Need Help Writing Server side to submit form via API

    Hey
    I need help writing a serverside application to submit
    information via API to a separate server.
    I have a client that uses constant contact for email
    campaigns. We want to add to her website a form taht submits the
    information needed to subscribe to her email list, to constant
    contact via API.
    FORM.asp :: (i got this one under control)
    name
    email
    and submits to serverside.asp
    SERVERSIDE.ASP
    In serverside.asp i need to have
    the API URL
    (https://api.constantcontact.com/0.1/API_AddSiteVisitor.jsp)
    username (of the constant contact account)
    password (of the constant contact account)
    name (submited from form.asp)
    email (submitted from form.asp)
    redirect URL (confirm.asp)
    Can anyone help get me going in the right direction?
    i have tried several things i found on the net and just cant
    get anyone to work correctly.
    One main issue i keep having is that if i get it to submit to
    the API url correctly - i get a success code, it doesnt redirect to
    the page i am trying to redirect to.
    ASP or ASP.NET code would be find.
    THANKS
    sam

    > This does require server side programming.
    > if you dont know what that is, then you dont know the
    answer to my question. I
    > know what i need to do - i just dont know HOW to do it.
    If you are submitting a form to a script on a remote server,
    and letting
    that script load content to the browser, YOU have no control
    over what it
    loads UNLESS there is some command you can send it that it
    will understand.
    No amount of ASP on your server is going to change what the
    remote script
    does.
    http://www.constantcontact.com/services/api/index.jsp
    they only allow their customers to see the instructions for
    the API so i
    can't search to see IF there is a redirect you can send with
    the form info.
    But posts on their support board say that there is.
    Alan
    Adobe Community Expert, dreamweaver
    http://www.adobe.com/communities/experts/

  • How Can Work With Installed (RUN Only MODE)

    hi,
    i have export application in run only mode from APEX ONLINE .Now i have install this application offline with Upgrade XE with APEX in my machine.
    i have upgrade XE and install an application in RUN ONly Mode .After Installing It shows APPLICATION INSTALLED But Application is not EDITABLE.
    Tell Me How can i work on this installed application in runing mode .

    Hi Br,jari,
    Thanks you Understand my problem.i have done all these changes too.after finished all these steps. what i have to do next. so that i can check the application how it is working. i have to work as the customer. is there need to type anything into url so that i can see it?
    when i login into my application
    by using
    workspace name
    username
    password
    again when i click on the application builder it gives me the error you can not edit the application..
    Thanks

  • Change Run-Only Application to Editable

    Hello,
    Yesterday i've finished part of my APEX 4 application and, in order to get it tested i edited it's properties to Run-Only.
    Now i want to modify something in it and i can't since it's "Not Editable".
    Any ideea how can i change it to be editable again?
    Kind Regards,
    Cearnau Dan

    Hi,
    Documentation might help
    http://download.oracle.com/docs/cd/E17556_01/doc/admin.40/e15521/adm_mg_wrkspc.htm#sthref452
    Regards,
    Jari
    Edited by: jarola on Oct 27, 2010 4:19 PM
    Also
    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/bldr.htm#sthref438

  • Reinstalling - "Only a single instance of this application can run"

    I had to uninstall Adobe Reader some months back and ever since have been unable to reinstall. I get through the first couple download steps, and click yes to "allow the following program to make changes to this computer", but then it all closes down and sometimes I get the "Only a single instance of this application can run" box pop up. I googled that error message and have spent hours trying every tip on how to resolve it on various message boards but nothing works and I really need to be able to open pdfs again. Thanks for any help you can provide.

    If you are in Windows (which we don't know), you can try using this tool to first remove all traces of Reader from your computer:
    http://labs.adobe.com/downloads/acrobatcleaner.html
    Then, you can download the full offline Reader installer from
    http://get.adobe.com/reader/enterprise/
    After downloading, restart your computer and run the installer before doing anything else.

  • Applescript application(Run only)/Password protected

    Hi,
      I'm copying files from source to destination using input XL then relink the images in InDesign Files. Saved that Apple script as Application(Run Only).  When I run the application its throwing "0 doesn't understand the count message".  But Code is working fine for me. Don't know why. Can anyone help me...
    And also I need to protect that apple script using password as manual.  Is it possible??
    Thanks in Advance,
    Sudha K

    admin is the normal "admin rights" under SL.  I would NOT change these.  If you have an admin account then you have the proper rights.
    Regards

  • How do I get The ipad locked to run only one application for customers (perhaps a webapp)

    how do I get The ipad locked to run only one application for customers (just one web app, or video- instructions, or just safari). What I really want is that my customers to only use one app that has all my services. It is an interactive app so I would not like them to go surfing elsewhere while they are in my store.
    Is it possible to do this on the iPad ?

    Try this:
    LabVIEW Champion . Do more with less code and in less time .
    Attachments:
    checkbox - clusters_MOD.vi ‏23 KB

  • I have a button in JSP page inside an UIWebView by pressing the button i want to run another existing iPhone native application in background only.Do anyone have a solution for this.

    I have a button in JSP page inside an UIWebView by pressing the button i want to run another
    existing iPhone native application in background only.Do anyone have a solution for this.

    Sounds like a virus.... I hope it's not...
    Launching Other Apps within an iPhone

  • Run only allowed application gpo and ie 11 on remote desktop server (terminal server)

    I configured win 2008 R2 server as Remote desktop server (terminal server) and I have domain GPO that's applying to this server. when I configure "Run only specified Windows application" IE 11 does not work.
    I have iexplore.exe as allowed application.
    when new user profile is created it setup and user can open other listed application fine but soon as IE 11 launched the IE windows loads up and after about 15-20 seconds it closes.
    if I remove the "Run only specified Windows application" policy then everything works fine.
    I am trying to figure out if any other .exe I have to allow in order for this to work properly?
    nothing in event viewer about ie crashing.
     

    > "Run only specified Windows application"
    Don't use this setting... This only restricts explorer.exe from
    launching applications. If you manage to create a cmd file or open a
    command prompt, this policy is useless.
    Better switch to AppLocker :)
    Martin
    Mal ein
    GUTES Buch über GPOs lesen?
    NO THEY ARE NOT EVIL, if you know what you are doing:
    Good or bad GPOs?
    And if IT bothers me - coke bottle design refreshment :))

  • Can't Install Flash Player, What does "Only a single instance of this application can run" mean?

    I try to follow the steps 1-3, as it shows. After it downloads, after step 2, a dialog box pops up saying “Open Executable File? Then it says it may contain viruses or malicious code and to be careful when opening file.  So I click OK, then step 3 occurs, file name lists as: install_flashplayer11x32_mssd_aih(2).exe.  So then I hit “Run”.  Then another dialog box pops up titling “UI_FlashPlayerInstaller”, and it says “Only a single instance of this application can run”, “OK”. I’ve checked to see if there is another version installed, but I don’t see any.  I am operating a Windows 32 Bit, FireFox,

    Download the full installer from this FAQ http://forums.adobe.com/thread/909550
    Save it to disk, then close all browser windows and run the downloaded installer.

  • Why I can't install adobe keep getting: "only a single instance of this application can run"?

    Hello, Can someone help me with Adobe Flash Player installation ?
    I have tried too many things to install it but keep getting this message " only a single  instance of this application can run. 
    I can't see any Adobe applications, I've tried deleting all files adobe and still nothing.
    I have opened the task manager and try to end the processes related to Adobe manually by selecting 'End Process' and then try to install it, but nothing happened.
    I've tried 'clean boot' but neither worked.I downloaded the 'Adobe unistaller' from the official page and the 'latest version of flash player' but it doesn't work!.
    I've also went on the Adobe website and it said this error message was due to the flash application but I deleted all of those files to and still nothing.
    I've got firefox and windows 7.

    If you haven't done so already, reboot your computer, then re-run the installer you downloaded.

Maybe you are looking for