Change Image Prefix at the Application Level

Hi All,
I have an APEX installation and the image prefix has been set as /j/. I have changed this to /i/ using the reset_image_prefix.sql script.
This however does not update the Image Prefix field in the Applications Definition (the entry still appears as /j/).
Is there a way to change this using a SQL script?
Will the following achieve the same result:
update APEX_030200.APEX_APPLICATIONS
set IMAGE_PREFIX='/i/'
where IMAGE_PREFIX='/j/';
Thanks,
Riz

Hi Riz,
there exists a nice API for that purpose. You have to either login as parsing schema or privileged user to perform such action. To be sure, I'd set the workspace id to your environment first, so I guess the following block should be doing exactly what you want:
DECLARE
  v_ws_sgid NUMBER := APEX_UTIL.FIND_SECURITY_GROUP_ID('<WORKSPACE_NAME>');
  v_app_id NUMBER := <APP_ID>;
  v_prefix VARCHAR2(256) := '/i/';
BEGIN
  WWV_FLOW_API.set_security_group_id(v_ws_sgid);
  WWV_FLOW_API.set_image_prefix ( p_flow_id => v_app_id,
                                  p_image_prefix => v_prefix);
COMMIT;
END;
/You can edit (almost) any part of the application defintion with that API.
-Udo

Similar Messages

  • Changing image prefix in Apex 4.1

    Hi guys,
    I installed APEX 4.1 with EPG on Oracle linux 6 and for some reason I want to change image prefix from */i/* to */i4/*.
    I browsed to apex/utilities and logged in sqlplus as sysdba and run the file:
    @reset_image_prefix.sql choosing */i4/* as my new prefix.
    then i tried:
    select id, flow_image_prefix from apex_040100.wwv_flows; all application now have the prefix /i4/ but when I go to http://myserver:8080/apex nothing is displayed !!!!
    when i change */i4/* back to */i/* everything is back to normal...
    please help :) ....

    Your results would be expected. You changed the image prefix to reference /i4/ which by default would not exist. Did you take any steps to actually create and load the files into /i4/?

  • Acrobat or Reader: Is there a way to set the print scaling default at the application level?

    Is there a way to set the Page/Print Scaling to a default at the application level? For Acrobat and Reader?
    Thanks,

    Often asked, but that feature retains the last used local setting.
    You can however, change the default for Documents, individually, in their Properties > Advanced tab

  • How to view the table at the application level

    Dear All,
    How to view the table in the Data Dictionary at the application level, If a table is created at the database level by using CREATE statement.
    code/
    create table zmard as select * from sapone.mard where 1 = 2
    /code
    I would like to view the table above, which is created at the Oracle database level in the Data Dictionary.
    can anyone guess the solution.
    Best wishes
    Mahesh

    Hi
    U should create a program using SQL native in order to select and show the data.
    By SE11 or directly in the program u can define a structure like your table:
    DATA: BEGIN OF W_ZMARD,
                  FIELD,
              END     OF W_ZMARD.
    EXEC.
       OPEN CURSO FOR SELECT * FROM ZMARD
    ENDEXEC.
    DO.
      EXEC.
         FETCH NEXT CURSOR INTO :W_ZMARD
      ENDEXEC.
      IF SY-SUBRC <> 0.
         EXIT.
      ENDIF.
      WRITE: / W_ZMARD-FIELD,
    ENDDO.
    EXEC.
      CLOSE CURSOR
    ENDEXEC.
    I don't know if it's possible to create a view in SE11, because it's needs a table just defined in SE11, u can create a new view ZMARD based on MARD but I don't believe it'll use your table.
    Max

  • Prompt user to save change before abnormally closing the application

    Hi,
    I've some trouble prompting user to save change before abnormally closing the application (logging off, shutdownding machine...). I tried to use Runtime.getRuntime().addShutdownHook() and it doesn't seem to work. Here's part of my code. Help please!!!
    program print out "1" and stays in a "dead-lock" mode...
    private void shutdown() {
    boolean saveConfig = true;
    if (saveConfig) {
    System.out.println("1 ");
    int answer = JOptionPane.showConfirmDialog(null,
    "Configuration has been changed. Do you want to save
    configuration before exit?",
    "Save Config"
    JOptionPane.
    YES_NO_CANCEL_OPTION);
    JOptionPane.showMessageDialog(this, "Can't connect to unit. Error in Heal unit!", "Error", JOptionPane.INFORMATION_MESSAGE);
    System.out.println("2 ");
    if (answer == 0) {
    savefileButton_actionPerformed();
    jMenuFileExit_actionPerformed();
    else if (answer == 1) {
    jMenuFileExit_actionPerformed();
    else {
    return;
    else {
    int answer = JOptionPane.showConfirmDialog(itself,
    "Are you sure you want to exit? ",
    "Exit",
    JOptionPane.YES_NO_OPTION);
    if (answer == 0) {
    jMenuFileExit_actionPerformed();
    else {
    return;
    private class MyShutdownHook extends Thread {
    public void run() {
    shutdown();
    // add shutdown hook
    MyShutdownHook shutdownHook = new MyShutdownHook();
    Runtime.getRuntime().addShutdownHook(shutdownHook);

    doesn't much matter. shutdown hooks are not guaranteed to run or be able to finish.

  • How do you change image size in the title window?

    I just changed operating systems to Windows 7, which meant that I had to re install Premiere Pro CS4. I am now working on a 64 bit system. Might not make any difference, but thought I would give you the specifics just in case.  When I pull up the title window to add a title to my clip, the image is about the size of a postage stamp. How do I increase the size of the image in that window?

    Thank you again for responding Hunt. I did find out what what was happening.
    I had to reinstall the program on my computer. I just upgraded to Windows 7, and I now have a 64 bit system. When I booted up PPCS4, I assumed that my settings would be the same as they were before when I had Vista installed and didn't bother to check them when I started a new project. Well, they were not. I also added a TV tuner card to my computer. I now can watch HD TV on my computer. I suppose that it is possible that somehow PPCS4 noticed that, and set my default settings to HD, rather than NTSC DV. I just merrily went along clicking the OK button and started editing. When I start a new project now, I select NTSC DV and the Title window works just fine, and exactly the way I expect it to.
    I just received Jeff Bellune's book Adobe Encore DVD 2.0 in the mail and will be totally immersed in Encore studies today. With all of his children, I don't see how he had time to write it, but I'm glad that he did. I also ordered a book entitled Designing Menus with Encore DVD. I know that it was written for an earlier version than CS4, but I will trust what you said about that. Many things are the same with some minor variations due to upgrades in the program. The basic ideas don't change, but how you accomplish them can, and usually do over time.
    Terry Lee Martin
    Date: Mon, 17 Aug 2009 16:04:16 -0600
    From: [email protected]
    To: [email protected]
    Subject: how do you change image size in the title window?
    Welcome to the forum.
    That is an odd one. The Title should be the same Frame Size as your Project/Sequence. What is it's Frame Size? Also, are you perhaps doing a Title based on an older Template, that was done for a different Frame Size?
    What happens if you choose Title>New Title>Default Still?
    Good luck,
    Hunt
    >

  • Can XI as a middleware drive the content from the Application level

    Can XI as a middleware drive the content from the Application level (backend) into the front-end Portal?  By XI connectors?  Is there a documentation that explains that?

    You can't plug an iPod into an iPad in order to access its media, and as far as I am aware you can only use home sharing between a computer and an iOS device (iPad, iPhone, iPod Touch, but not an iPod Classic), and not between 2 iOS devices : http://support.apple.com/kb/HT4557 and http://www.apple.com/support/homesharing/

  • Unable to license Office 365 ProPlus when customized at the application level

    It has long been claimed that Office 365 ProPlus can only be installed as one single package, and that Click-to-Run is not customizable at the application level.  Microsoft lists the following at
    http://technet.microsoft.com/en-us/library/jj839718.aspx “Office 365 ProPlus installs as one package. This means you can't choose to deploy Word and PowerPoint to users, but not Access.
    If you don’t want users to run Access, you can customize the installation by using App-V. You can also use AppLocker to prevent users from starting certain Office applications.”
    Can anyone then explain the purpose of the additional product ID’s specified in the following kb article:
    http://support.microsoft.com/kb/2842297
    Using the product ID’s listed here, I set the Configuration.xml file to selectively install only four Office products, which included Access, Excel, PowerPoint and Word.  In this example, I removed the Product ID O365ProPlusRetail and instead just included
    the Product ID’s for the individual applications we wanted to install.
    <Configuration>
      <Add OfficeClientEdition="32">
       <Product ID="AccessRetail" >
         <Language ID="en-us" />     
       </Product>
       <Product ID="ExcelRetail" >
         <Language ID="en-us" />     
       </Product>
       <Product ID="PowerPointRetail" >
         <Language ID="en-us" />     
       </Product>
       <Product ID="WordRetail" >
         <Language ID="en-us" />     
       </Product>
      </Add>
     <Updates Enabled="TRUE" />
     <Display Level="None" AcceptEULA="TRUE" />
     <Logging Name="OfficeSetup.txt" Path="%temp%" />
    </Configuration>
    Given what I had read throughout multiple areas of documentation, especially the line that mentions, “Click-to-Run is not customizable at the application level,” I was surprised and excited to see that the click to run installer only installed the applications
    that I specified.
    Using the Configuration.xml file I specified above, I was able to complete a custom install of Office 365 ProPlus, and included only programs that I wanted to have installed.
    The issue comes when you go to license the software.  I can launch any of the individual programs without issue, but I am unable to complete the process of activating the license.
    For example, see below where I have launched Word, entered my account information and attempted to activate.  Everything has worked fine up to this point, but I am told that I cannot activate because the product is not installed.  It seems that
    my custom install has prevented needed information from being added to my system to allow for the activation wizard to detect the presence of the installed Office software and to activate appropriately.
    Can anyone from Microsoft comment on this?  Is there any way possible to proceed given my configurations?  If not, what is the purpose of
    http://support.microsoft.com/kb/2842297 ?
    In what case would you actually be able to use the additional product IDs? (AccessRetail, ExcelRetail, WordRetail, etc.)

    Whilst I don't work for MS, I have a few thoughts on this..
    The documentation refers to the use of ODT for customisation, but that is mainly for customising the install-time aspects and the update sources, not the resultant feature state.
    For controlling feature state, either AppLocker of re-packaging/sequencing via App-V is suggested.
    KB2842297 mentions the products that ODT will "recognise" for the purposes of "customisation", but doesn't really detail how nor why.
    C2R, as it is a pre-packaged sequenced output, is intended to be consumed as-is, by the vast majority.
    Re-packaging/sequencing of a complex product such as Office isn't for the faint of heart (and to be honest, the installers for Office have long been a complex topic over many years)
    MS have stated for many years that the individual component applications of the Office suites, are not permitted to be broken up out of the suite, for license compliance.
    e.g. If you install OfficeProPlus, and via customisation, disable or do-not-install specific component apps, you must hold a license for the relevant suite (ProPlus in this example).
    Even if you re-compose the resultant installed apps, such that only those apps that would equate to OfficeStd, because you installed ProPlus, it is a ProPlus license that you must hold.
    Similarly, if you were to install individual apps, composing a feature-equivalent result to ProPlus, and "functionally" have the same set of apps that ProPlus would give you, holding a license for ProPlus is not sufficient, becuase it is not ProPlus
    that you have installed.
    So, when you modified the configuration XML, and downloaded and installed "WordRetail" + "ExcelRetail" etc, this is not equivalent to ProPlus (neither from an installed-product perspective, nor from a licensing perspective).
    It seems to me, that your license (as recorded/represented in your MS account) is finding that you have products installed for which you don't hold a license.
    And, that the license that you do hold, is not a match for the products you are trying to activate.
    In years gone by, MS did make available individual products (e.g. Word, Excel etc) for sale.
    I don't know if MS continue do make individual apps, in C2R form, available for sale, but the Office product team have created ODT in such a way that ODT can cater for them.
    Perhaps in some global markets, or possibly in the future, MS might make those individual products available in C2R form.
    So I'm not all that surprised, based on nothing more than previous experience (sprinkled with some assumption and theory), that you've found some interesting, slightly-mystifying things ;)
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Changing my volume causes the application to minimize!!! How i can solve this???

    Dear Friends,
    I purchased a HP Pavilion dv6-2180us and I'm having this problem. Whenever I'm gaming or watching a movie on full screen and try to change the volume (my volume is touch sensitive) sliding to increase or decrease the sound, the application minimize and the screen display of the volume pops up. How can i change the setting of the display to don't minimize the programs??
    Thanks for the help.
    Igor Brant

    That is a function of MediaSmart Menu coming into action...The Volume On-screen display part of MediaSmart Menu...If you are ok with not happening Volume On-Screen Display, you can uncheck if from Startup...
    Although I am an HP employee, I am speaking for myself and not for HP.
    Make it easier for other people to find solutions, by marking my answer with 'Accept as Solution', if it solves your problem.
    Click on the BLUE KUDOS button on the left to say "Thanks"

  • Changing database version in the application

    Hi
    The production site would be changing its database version from oracle 8.1.5 to oracle 8.1.6. Could I please have pointers to documents telling me the changes in the versions; or your expert comments; so that I would know the differences and the effect if any on the application using the database.
    mandira

    Try these:
    http://otn.oracle.com/doc/oracle8i_816/nt.816/readmedoc.htm
    http://otn.oracle.com/docs/products/oracle8i/htdocs/toc.htm
    null

  • The application level multicast and VoD/LiveTV application

    Hi,
       As I read from the document, so far only user's video published out from a Flash Player 10.1 could take advantage of the new application level multicast. But can other video applications scenarios, such as VoD and Live TV (encoded by Flash Live Media Encoder) , also take advantage of this new feature? Please advise. Thanks.

    Thanks for the answer, but does Adobe has any plan to enable it and when?

  • Is it possible to change image quality on the iPhone 4S?

    What's happened is that all images viewed on the phone used to have good quality to them (note not actual images taken by the camera but safari related) but something has changed and now they are small and poor. Have tried to research what it could be but have been unsuccessful.
    Can anyone help? Is it a possibility that settings on the phone have been changed somehow and if so how do I change them back?

    No Flash for iPads, iPhones, or iPods
    Here's why there's is no Flash available for iDevices or other mobile devices. Adobe was unable to provide a product that was suitable to the needs of battery powered mobile devices used for Internet browsing. Existing Flash technology used too much memory, ate battery life, and was buggy. Simply put Flash did not work well on mobile devices.
    Apple's Steve Jobs led the escape from Flash dependency when Apple introduced the iPhone, and later introduced the iPad. There was a hue and cry over the omission. Time proved Jobs was right on target.
    So this is why there is no Flash for your iPhone or iPad or iPod nor for most SmartPhones. Flash has been abandoned by many sites in favor of supported technologies such as HTML5 or by providing their own custom app.
    Here is Steve Jobs official comment on his momentous decision to omit Flash from iDevices: Steve Jobs on Flash.
    Here is Adobe's later announcement to cease development of Flash for mobile devices: Adobe on Mobile Flash.
    Now, you are not necessarily out on a limb. There are some apps that can display some Flash, but don't count on there ability to display anything using Flash.
    Apps that can display some Flash from the Web:
    Puffin
    SkyFire
    Photon Flash
    Browse2Go
    iSwifter
    Also, note that many sites that use Flash provide their own app for accessing their material. So check with your favorite sites and find out if "there's an app for that."

  • How can I change what shows in the Application Fan?

    Hiyas,
    I've been trying to find an answer to this problem and gotten nowhere fast:
    On the dock, there is my applications folder and you click it and you have some options of how it displays but basically it shows you what's in your applications folder.
    The problem is that it shows me Automator and Chess and Amazon MP3 Downloader, and Dashboard and then a note that there are 48 more in finder. Clearly it's listing alphabetically, and I know how I could right click and adjust it by a variety of dates, but mostly I just want to see some icons of stuff that I actually use. I don't need Automator, I don't play Chess on my Mac and the Amazon MP3 Downloader is an abomination of DRM management that I only tolerate because it's necessary (very rarely).
    Is there someway I can get the Applications fan on my dock to actually show icons for programs that I use? Like I said, I don't use "Automator" very often, I'd rather it put Spotify in it's place but I've just got no idea how because A is a long way before S and the dates that both items were created/modified etc. is irrelevant. Thoughts?

    I found myself a sort of workaround for not being able to change the actual applications folder. 
    Create a new folder with the aliases of the applications that you do use, and placing the folder on the Dock for access. I keep that folder in the Applications Folder, which makes it easier to drag and drop aliases into it
    You get to have a more personalized grouping of the applications you use the most, and avoid cluttering up your dock, while still getting the fan/ grid view out of it. which im guessing was the OP's target goal

  • How to change podcast settings in the Application options dialog

    I have attempted to subscribe to an RSS feed for a podcast - URL is http://www.abc.net.au/triplej/kingsmill/rss/podcast.xml
    I am being prompted to join using live bookmarks. As i use Google reader, there is no option available to change it to google. Hitting the dropdown arrow, my choices are live bookmarks or Microsoft Outlook - or browse for application. How do i change / remove the applications entry for RSS so i can start over and select Google as a default
    The Options / Application / Podcast - has the RSS logo - says "preview in firefox"

    Apple does not make what you are asking straightforward for a reason: the user usually sets the system language to the one they prefer anyway.
    If you think you have a good reason for setting the language in the application itself, I would suggest using the pathForResource:ofType:inDirectory:forLocalization: method of the main bundle to get the applicable strings file and then deserialize it into a dictionary as if it were a plist (strings files actually are).

  • Change Start-Page for the Application

    Hallo,
    how can I change the Start-Page for the Application ?
    Thanks
    I. Schult transcoject Neumünster

    Another action you can take is to change the page ID in the p_flow_page argument to the wwv_flow_custom_auth_std.login call in the login process on the login page (if you have one), e.g., change P_FLOW_PAGE => :APP_ID||':1' to FLOWPAGE => :APP_ID||':99' to change the 'after login' page from 1 to 99. This will be the page (in the current application) redirected to after authentication, absent a deep link.
    The home link application attribute has limited use, e.g., for determining which page to show when you use the Run Application icon in the builder.
    Scott

Maybe you are looking for