How to get the #APP_VERSION # to display in a region

Request Express 3.2.1.00.11

Using a page template (home page > Application Builder > ApplicationNUM > shared components > models > modify the Page template) I can get the version of the Application to display on a page, using the following substitution #APP_VERSION string # in the foot.

But how do I get the version of the application to display (#APP_VERSION #) in a region.

If I place the #APP_VERSION text # in a model of the region, it displays the text #APP_VERSION.

I tried to use the Panel of dispatches Home > Application Builder > Application 221 > shared components > change the definition of request but the same thing happens.

Ben

Benton says:

I tried to use substitutions Panel to access the Version of the Application in the same way that I could do this;

Replacement replacement value string

-------------------------------------------------------

MY_ALIAS & APP_ALIAS.

Replacement replacement value string

-------------------------------------------------------

MY_APP_VERSION what is happening here - I want to access the value which is next to the * Version text in the panel titled 'Name' under Home > Application Builder > Application 221 > shared components > change the definition of request

I can to the Version of the Application other than its use #APP_VERSION # in a page template. I don't want to use static text.

The only way to access the application Version attribute using the #APP_VERSION model # substitution string in a template header or footer, or interviewing in the APEX_APPLICATIONS view SQL. Create an application APPLICATION_VERSION element and set it in a calculation of application of SQL query executed about calculation on the new Session:

select
    version
from
    apex_applications
where
  application_id = :app_id

The question of the application can now be referenced in the HTML source code like & APPLICATION_VERSION. or in SQL and PL/SQL like: APPLICATION_VERSION

Tags: Database

Similar Questions

  • How to get the icons to display correctly in the Finder?

    At the time of the "classic" Mac OS, if the icons are not correctly display in the Finder, we could 'rebuild the desktop file' to correct the problem. I've recently updated to Yosemite, and most things work well, but for some reason, most of the files in the Finder .webloc now show as blank icons (but not all; a few show the correct icon). There is no model, I can see: some very old .webloc files now show a white icon (where I know that their icons used to be correct), while the most recent show the icon of correct - although I just created four (by dragging the URL of the Safari, the usual method) which are all empty. Sometimes they appear with the older icon, with the symbol @ (although those who seem to have changed vacuum after running and restart maintenance). I tried from an external disk, repair permissions and repair the file system, as well as cleaning with the utility of Maintenance (which clears the web browser and other caches), nothing works. Does anyone know how to get the computer to display these icons correctly?

    May be a corrupt .plist.

    Make a backup, preferably 2 backups on 2 separate drives.

    Go to Finder and select your user folder. With this Finder window as the windshield, select Finder/display/display options for presenting or order - J.  When the display options opens, check "show the library folder. This should make your visible user library folder in your user folder.  Select the library. Then go to Preferences/com.apple.finder.plist and com.apple.desktop.plist.  Move the .plists on your desktop.

    Relaunch the Finder by restarting the computer and test. If it works fine, delete the plists from the desktop.

    If the same, return the .plists to where you obtained since, by crushing the latest.

    Thanks to leonie for certain information contained in this.

  • How to get the icon to display for a Midlet app?


    Does anyone know how can I fix? It's all over on my application with the exception of the icon. It is ready for release, but the icon does not appear. I tried for a week now get the icon to display.

  • How to get the image to display on the Blackberry screen URL

    Hi all

    I'm setting up a Blackberry java application. I have a url to the image... (as you can tell "http://www.christianfilmdatabase.com/wp-content/uploads/2013/06/Movies.jpg"). I get this image dynamically and display on my screen. ... How can I do it... I post my code here...

    Bitmap bitmap = Bitmap.getBitmapResource(imageUrl);
    
                        Background background = BackgroundFactory.createBitmapBackground(bitmap);
    

    Best regards,

    Thank you very much, Peter... Now, I could get the web images and display them on the screen...

  • How to get the Panel to display thumbnails of the boundaries of the layer instead of document of toentire relative size?

    There is an option for this, but it only partially works... and I was wondering if there is something else I'm supposed to know about to make the feature work as described...?

    I can activate the option to display thumbnails... transmission in works for the bitmap stuff.  None of my vector masks are shown in the size of their layer.  (Note - I layer in the form of transparency disabled - which means that the layer is shaped by the vector mask and not any content.)  It is verifiable by checking the option to display the boundaries of the layer).

    Yet, when I do this, it's obvious on the biggest screen (if the boundaries of the layer are displayed), than the vector contains the complete layerBut in the thumbnail, I often can't even the shape of all , not very useful.

    So what don't understand me?  How can I get thumbnails of vector to display the size of their layer?

    Thank you!

    I think it is supposed to work this way - vector layers are basically always full document size and the path determines only the pixelation and the visibility of the content based on the rule of filling in the path box. Don't say that there could be no way to determine the bounding box on the fly and use it for the thumbnails does not, but I do not know there is a certain reasoning / logic for this behavior. I guess it is also a matter of preference - in Illustrator, it's like that and it makes me crazy, because we never see where the substance is compared to the artboard.

    Mylenium

  • How to get the number of lines in a region of report

    Hi all

    Is there a way to get the number of rows returned in a report region, without issuing an another 'select count (*) from une_table?
    I mean something like the substitution string #ROW_NUM # but for the total of the lines.

    Thank you

    Pedro.

    http://download.Oracle.com/docs/CD/E17556_01/doc/user.40/e15517/UI.htm#CHDDGGEG

    For parts of classic report, the footer region supports the following substitution strings:

    #ROWS_FETCHED # indicates the number of lines read by the reporting engine Oracle Application Express (the size of the page). You can use these substitution strings to display messages to the user. For example:

    Read #ROWS_FETCHED # #TIMING # seconds lines.

    * #TOTAL_ROWS # displays the total number of rows that satisfy an SQL query used for a report.

    #FIRST_ROW_FETCHED # and #LAST_ROW_FETCHED # show the range of displayed lines. For example:

    Until #FIRST_ROW_FETCHED # by #LAST_ROW_FETCHED # of #ROWS_FETCHED # displayed >

    Van
    Trent

  • How to get the run time on page

    Hello

    I want to display the clock running and the user that loggin.

    Pls knows me how to get the running time display and the user name which connect you.


    thakns
    Kumar

    Hello

    You can use javascript clock and substitution string APP_USER
    This place at the source of the HTML region

    &APP_USER.
    
    

    Use styles to get look like you entered and span tag

    BR, Jari

  • How to get the bar display of title in pixels text length?

    Hello

    Does anyone know how to get the length of the title bar text (in pixels) display?  Just to clarify, that's what I'm looking for:

    I don't see a CVI function for this.  The attribute ATTR_TITLE_FONT for GetPanelAttribute (...) is only valid for the panels of the child which prevents me from using the GetTextDisplaySize (...) to get the size.  Dive into the Windows SDK I can not even find an answer here.  Any ideas?  Thank you.

    Figured out how to do this.  Go to the SDK to get the font properties - is kind of nonobviousness.  But once you have the font properties, you can create a font of meta in CVI, with properties, and once you have the meta font you can use GetTextDisplaySize (...) to get the size.  For any future reference:

    //define a NONCLIENTMETRICS structureNONCLIENTMETRICS ncmtest;//We have to set the cbSize parameter to the size of the passed structure before retrieving it
    ncmtest.cbSize = sizeof(NONCLIENTMETRICS);
    //Get NONCLIENTMETRICS structure
    result = SystemParametersInfo(SPI_GETNONCLIENTMETRICS, 0, &ncmtest, 0);
    
    //copy the title font name to a c-string
    while(ncmtest.lfCaptionFont.lfFaceName[i] != 0)
    {
        thefont[i] = (char)ncmtest.lfCaptionFont.lfFaceName[i];
        ++i;
    }
    
    //null terminate
    thefont[i] = '\0';
    
    //create meta font with title font properties.  lfWeight & 0x700 indicates bold.  CreateMetaFontWithCharacterSet() doesn't recognize DEFAULT_CHARSET so we replace it with VAL_NATIVE_CHARSET(?).
    uir_status = CreateMetaFontWithCharacterSet ("TheTitleFont", thefont, abs(ncmtest.lfCaptionFont.lfHeight), ncmtest.lfCaptionFont.lfWeight & 0x700 ? 1 : 0, ncmtest.lfCaptionFont.lfItalic, ncmtest.lfCaptionFont.lfUnderline, ncmtest.lfCaptionFont.lfStrikeOut, 0, ncmtest.lfCaptionFont.lfCharSet == DEFAULT_CHARSET ? VAL_NATIVE_CHARSET : ncmtest.lfCaptionFont.lfCharSet);
    
    //get titlebar text
    uir_status = GetPanelAttribute (panelhandle, ATTR_TITLE, thetext);
    //get title bar length
    uir_status = GetTextDisplaySize (thetext, "TheTitleFont", &height, &width);
    

    I have a 79 for the duration of the screenshot above.

  • How to get the current date to display in the Spanish format.

    The coding is in format Adobe Acrobat, DC. The coding I have for the English today's date is:

    var d = new Date();

    sDate = util.printd var ("dd mmmm yyyy", d);

    this.getField("Text1").value = sDate;

    How can I get the current date displayed in this Spanish format: 07 December 2015

    Thank you

    It's a little complicated... But this code should do the trick:

    util.printd("dd", d) + " de " + util.printd("date(es){MMMM}", d, true) + " de " + util.printd("yyyy", d);
    

    Edit: Fixed the code... Did not notice the 'of' second before.

  • Satellite Pro M50 with Vista: how to get the S-video on the job?

    Hi all

    I have a vista equipped Satellite Pro M50. Does anyone know how to get the S-video on the job? I can't understand.

    Inadvance, see you soon

    Phil

    Did you look in the user manual?
    This doc is always pre-installed on laptop and provides useful information. Also how to connect a TV and use simple notebooks ports.

    A hint; You must use an s-video cable to connect the laptop to the TV.
    Then use the FN + F5 key combination to switch between display devices.
    Sometimes the special s-video option must be enabled on the TV.

    I would recommend consulting the manual of the TV also.

    Good bye

  • Qosmio G20 - could not get the video to display on the LCD screen

    I have a laptop Toshiba Qosmio G20, running Windows XP MCE.

    The DVD player on board isn't sounds very well so I thought I would plug an external DVD drive to expand its use. After a lot of internet research, I finally found how to do this. Here's my setup.

    Using the monitor port I used the adapter 3 RCA jacks. (There is no S-video on the DVD drive and an adapter did not work). I finally discovered that in order to get the image on the screen, I have to use Fn + 4. Now, here's where I'm having the problem. I can't get the video to display on my external LCD. FN + 5 didn't do. The monitor is an I - inc AH191D and is connected by VGA cable. There is no driver other than the one for the VISTA operating system... That is why it is not anywhere in the Device Manager.
    Here are the settings I use in order to have all that shows on my desk, shows on the monitor.

    In Control Panel open to the screen. Properties
    Number chosen 1 - multiple monitors GeForce Go6600 video card...
    Advanced under
    the GeForce G06600 tab,
    nViewDisplay Mode: clone 1 a 1 b
    The main screen: digital flat screen
    Secondary display: AH191

    I also tried using the properties of controls on Toshiba. He says under TV output TV output but gives options of the program, but I don't know what I would use. Any ideas out there?

    Wait I'm confused, if you try to send the output of your external DVD drive in the laptop, and then display the image on an external monitor attached to laptop?

    If you use the DVD player on your laptop, it will be good quality S-video as a signal of low resolution.

    Is there something wrong with the DVD player?

    If it's just the DVD software you don't like, you can download other DVD players. PowerDVD is excellent, its better than WinDVD and other players in my opinion.

  • How to get the code produced for my Windows XP disc if I have the drive?

    Acquisition of Product Code Windows XP

    How to get the code produced for my Windows XP disc if I have the drive?  I signed the BONE when I bought it all first, but have no way of knowing if this is the way to receive a copy of the product key.

    Here are some utilities, which will display your product keys:

    Belarc Advisor: http://www.belarc.com/free_download.html
    (He did a good job of providing a wealth of information.
    However may not detect a key to office, then try one of the other two below)

    Also: http://www.nirsoft.net/utils/product_cd_key_viewer.html
    and: http://www.magicaljellybean.com/keyfinder.shtml

    Paid (free demo is available): Recover Keys: http://recover-keys.com/
    "quickly scans your system for more than 3000 + software '.
    and produces a list of software activation keys.

    13 keyfinder programs:
    http://pcsupport.about.com/od/productkeysactivation/TP/topkeyfinder.htm

    J W Stuart: http://www.pagestart.com

  • How to get the element selected listfield and goto next page?

    Assalaamualikum

    I try parsing the XML from a url and show in listfield.

    problem:

    How to get the selected item and passing the variable and than goto next page?

    my code:

    package parsepack;

    import java.io.IOException;
    import java.io.InputStream;
    import java.util.Vector;

    Import javax.microedition.io.Connector;
    Import javax.microedition.io.StreamConnection;

    Import net.rim.device.api.system.Bitmap;
    Import net.rim.device.api.system.Display;
    Import net.rim.device.api.ui.DrawStyle;
    Import net.rim.device.api.ui.Field;
    Import net.rim.device.api.ui.FieldChangeListener;
    Import net.rim.device.api.ui.Graphics;
    Import net.rim.device.api.ui.Manager;
    Import net.rim.device.api.ui.UiApplication;
    Import net.rim.device.api.ui.component.ListField;
    Import net.rim.device.api.ui.component.ListFieldCallback;
    Import net.rim.device.api.ui.container.MainScreen;
    Import net.rim.device.api.ui.container.VerticalFieldManager;
    Import net.rim.device.api.xml.parsers.DocumentBuilder;
    Import net.rim.device.api.xml.parsers.DocumentBuilderFactory;

    to import org.W3C.DOM.document;
    Import org.w3c.dom.Node;
    Import org.w3c.dom.NodeList;

    extends xmlparsing public class UiApplication implements ListFieldCallback, FieldChangeListener
    {

    Public Shared Sub main (String [] args)
    {
    xmlparsing app = new xmlparsing();
    app.enterEventDispatcher ();
    }

    public long mycolor;
    Connection _connectionthread;
    private static ListField _list;
    private static Vector listElements is new Vector();.
    public display display = new MainScreen();
    MainManager VerticalFieldManager;
    VerticalFieldManager subManager;

    public xmlparsing()
    {
    Super();
    pushScreen (screen);

    final Bitmap Imagearriereplan = Bitmap.getBitmapResource ("blackbackground.png");

    mainManager = new VerticalFieldManager(Manager.NO_VERTICAL_SCROLL |) Manager.NO_VERTICAL_SCROLLBAR)
    {

    public void paint (Graphics graphics)
    {
    graphics.drawBitmap (0, 0, Display.getWidth (), Display.getHeight (), Imagearriereplan, 0, 0);

    Super.Paint (Graphics);
    }

    };

    subManager = new VerticalFieldManager(Manager.VERTICAL_SCROLL |) Manager.VERTICAL_SCROLLBAR)
    {
    protected void sublayout (int maxWidth, maxHeight int)
    {
    int displayWidth = Display.getWidth ();
    int displayHeight = Display.getHeight ();

    Super.sublayout (displayWidth, displayHeight);
    setExtent (displayWidth, displayHeight);
    }
    };

    Screen.Add (mainManager);

    _list = new ListField()

    {

    public void paint (Graphics graphics)

    {
    graphics.setColor ((int) mycolor);
    Super.Paint (Graphics);

    }

    };
    myColor = 0x00FFFFFF;
    _list. Invalidate();
    _list.setEmptyString ("* only supplies not available *", DrawStyle.HCENTER "");
    _list.setRowHeight (50);
    _list.setCallback (this);
    mainManager.add (subManager);
    listElements.removeAllElements ();
    _connectionthread = New Connection();
    _connectionthread. Start();
    }

    protected boolean navigationClick (int status, int time)
    {
    Try
    {
    Here, go to another screen if you need.

    }
    catch (System.Exception e)
    {
    System.out.println ("Exception:-: navigationClick()" + try ());
    }
    Returns true;
    }

    private class login extends thread
    {
    Public connection()
    {
    Super();
    }

    public void run() {}
    Doc document;
    StreamConnection conn = null;
    InputStream is = null;
    try {}

    Conn = Connector.open (StreamConnection) ("http://ec2-54-248-241-248.ap-northeast-1.compute.amazonaws.com/koperasi-akr-trial/cgi-bin/gw-pinjama...

    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance ();
    docBuilderFactory.setIgnoringElementContentWhitespace (true);
    docBuilderFactory.setCoalescing (true);
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder ();
    docBuilder.isValidating ();
    is = conn.openInputStream ();
    doc = docBuilder.parse (is);
    doc.getDocumentElement () .normalize ();
    List of NodeList = doc.getElementsByTagName ("ID");
    for (int i = 0; i)< list.getlength();="" i++)="">
    Node node = list.item (i) .getFirstChild ();
    listElements.addElement (textNode.getNodeValue ());
    }
    } catch (Exception e) {}
    System.out.println (try ());
    } {Finally
    If (is! = null) {}
    try {is.close ();
    } catch (IOException ignored) {}
    } If (conn! = null) {}
    Try {conn.close () ;}
    catch (IOException ignored) {}
    }} UiApplication.getUiApplication () .invokeLater (new Runnable() {}
    public void run() {}
    _list. SetSize (listElements.Size ());
    subManager.add (_list);
    Screen.Invalidate ();
    }
    });
    }

    }

    ' public void drawListRow (list ListField, Graphics g, int index, int y, int w)
    {
    Your string = (String) listElements.elementAt (index);
    int yPos = 0 + y;
    g.drawLine (0, yPos, w, yPos);
    g.drawText (, 5, 15 + y, 0, w);
    }

    public {get {Object (ListField list, int index)
    {
    Return listElements.elementAt (index);
    }
    public int indexOfList (String prefix, ListField list, int, string)
    {
    Return listElements.indexOf (prefix, string);
    }
    public int getPreferredWidth (ListField list)
    {
    Return Display.getWidth ();
    }
    public final void insert (String toInsert, int index) {}
    listElements.addElement (toInsert);
    }

    ' Public Sub fieldChanged (field field, int context) {}

    }
    }

    Thank you.

    I told you that replace the navigationclick() method where initialize you your listfield

    as I think that changing your code and then answer me

    _list = new ListField()
    {
    protected boolean navigationClick(int status, int time)
    {
      Dialog.inform("hi");
      return true;
    }
    
    public void paint(Graphics graphics)
    {
    graphics.setColor((int) mycolor);
    super.paint(graphics);
    }
    };
    
  • How to get the physical size of the screen?

    Hi all

    How to get the physical width and height of the screen (not resolution) in inches or in centimeters?

    Is there a method to do

    Thank you very much

    Display.getWidth () and Display.getHeight () you will get the number of pixels.

    Display.getHorizontalResolution (); and Display.getVerticalResolution () to get the pixels per meter.  Then by dividing appropriately you can find the actual size.

  • How to get the value of the TextField on Buton FieldChangeListener

    friends I am new on the development of blackberry applications could you please help me how to get the value of text I typed in the textField when I click the button?

    constructor

    public Dialogs()
    {
      
    using design in the same screen
      
    Display display = new MainScreen();
      
    ButtonField btnPress = new ButtonField();
    btnPress.setLabel ("press me");
    btnPress.setChangeListener (ButtonPressListener);
      
    TxtValue TextField = new TextField();
    txtvalue.setLabel ("enter something :");
      
    HFM VerticalFieldManager = new VerticalFieldManager (VerticalFieldManager.FIELD_VCENTER);
    HFM. Add (txtValue);
    HFM. Add (btnPress);
      
    mainScreen.add (hfm);
    pushScreen (mainScreen);
      
      
    }

    FieldChangeListener ButtonPressListener = new FieldChangeListener() {}
    ' Public Sub fieldChanged (field field, int context) {}
        
           
    Dialog.Alert (t.GetText ());
         
         
         
    }
    };

    any help would be appreciated.

    You must ensure that your FieldChangeListener has access to the object of txtvalue, while it can make a

    String inputString = txtvalue.getText ();

Maybe you are looking for

  • You wonder if we have hacked

    My wife has iPhone 5s.  She heard his phone ring yesterday and went to pick it up.  The screen was on and it was very quickly moving backwards between the texts and the contacts, looking at images, switch off the do not disturb etc..  It seemed that

  • Try Powershell Copy-Item, get the message "there is not enough space on the disk.

    I'm using Powershell 2. I'm trying to copy a file, not very complicated. Copy-item D:\Outgoing\tsc.sqb D:\Incoming I get this: Copy-Item: there is not enough space on the disk.On line: 1 char: 10+ Copy-item+ CategoryInfo: NotSpecified: (:)) [Copy-Ite

  • How can I connect HP ENVY 110 d411a (white) for the MacBook Pro OSX Lion running through a wi - fi connection?

    And how can I use the AirPrint. (I'm not English, sorry for my bad English) 1. Hello I bought a HP ENVY 110 d411a (white) on the last day, but I have different problems trying to configure it. I did all the settings of the printer and properly instal

  • Calendar Xperia Z3 - birthday Sync Issues

    I have a Xperia Z3 Compact and use the pre-installed Sony calendar app. For my contacts, I use my gmail account. I've connected my Xperia and my MacBook with my gmail account and use it for all my contacts and my calendar. I have 4 out of 70 contacts

  • How to recover the BB plugin for Eclipse

    Hello I installed BB plugin for Eclipse, and it still works fine. However, it performs weird after a system variable changed by accident. (Again-> the Project menu, can't see Blackberry more of the project) I tried to reinstall the plugin, but still