How to return the image of table in the flowchart

Hello world

I use org chart plugin to display the hierarchy of the employee, the plug-in is downloaded from http://apex-plugin.com/oracle-apex-plugins/region-plugin/google-visualizations-orgchart_187.html

Currently, I downloaded the photo of the images under shared-> files components employee and referring to my request as below its working fine, but my question is how to view photo used table.
SELECT   TO_CHAR (emp.empno) AS primary_key,
         TO_CHAR (emp.mgr) AS parent_key,
         emp.ename
         || '<div>
<img width="100px" src="wwv_flow_file_mgr.get_file?p_security_group_id='
         || :WORKSPACE_ID
         || '&p_flow_id='
         || :APP_ID
         || '&p_fname='
         || emp.empno
         || '.jpg">
</div>'
         || '<div style="" font-size:75%''>'
         || emp.empno
         || '</div>'
         || '<div style="" color:red; font-style:italic''>'
         || INITCAP (job)
         || '</div>'
            AS display_value,
         INITCAP (dept.dname) || ' (' || INITCAP (dept.loc) || ')' AS tooltip,
         job,
         dept.dname AS department,
         dept.loc AS location
  FROM   emp, dept
 WHERE   emp.deptno = dept.deptno
Brgds,
Max

Just use APEX_UTIL. GET_BLOB_FILE_SRC API and read the documentation

Tags: Database

Similar Questions

  • Columns of folder: by default, how can return the first column 'Name' without having to move it manually every time?

    Something's happened awhile and when I create a folder which appears the first column is the column 'Date modified '. By default, how can return the first column 'Name' without having to move it manually every time?

    Hello

    I suggest you to visit these links and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/working-with-files-and-folders#section_4

    http://Windows.Microsoft.com/en-us/Windows-Vista/folders-frequently-asked-questions

    It will be useful.

  • set_item_property changing the text, but how to return the original value

    Hi all
    I use Oracle Forms Builder 10 gr 2 / I have the following problem: in a button I trigger when it is pressed. And then I change a few elements prompt text. But my problem is how to return the original prompt text. A kind of refresh or clear?


    Here is a piece of code that modifies the prompt text:
    set_item_property('XXBG_CE_STATEMENT_LINES_NEW.AGENT_NO', PROMPT_TEXT, get_item_property('XXBG_CE_STATEMENT_LINES_NEW.AGENT_NO', prompt_text) || '*');
    Thanks in advance,
    Bahchevanov.

    This is not tested, but it's something like this:

    declare
       v_item  varchar2(200);
    begin
       v_item := get_block_property('block',first_item);
       loop
          exit when v_item = 'block.'||null;
          set_item_property(...);
          v_item := 'block.'||get_item_property(v_item,nextitem );
       end loop;
    end;
    
  • How to return the approver e-mail notification iProcurement in R12?

    Hi all

    How to return the approver e-mail notification iProcurement in R12?

    Symptom: A Summit a requisition to B, need for approval of B

    (1) B lost the e-mail that is sent by A
    (2) need B a new notification sent by A.

    environment: Oracle R12.1.2 | AIX 6.1




    Concerning
    Terry Chen

    I thank you for your answer, you want to reassign B once again?

    Yes.

    Can I use the feature "Rewind"? Can this function sends notification to the user again?

    Don't know if it would work for notifications of iProcurement, then please try first the option to reassign.

    Thank you
    Hussein

  • How to return the image to the entire office including the taskbar

    my nephew who has 2 years managed to return my desktop screen saver screen, icons and task bar, so that it went backwards and so I have to return the computer to read and operate. Help me.

    Hello

    Right-click on an empty area of the desktop - graphics Options - Rotation

    CTRL + ALT + arrow key it also runs.

    CTRL + Alt + (up arrow), Ctrl + Alt + arrow (pointing down), Ctrl + Alt + arrow (left) and also Ctrl + Alt + arrow (right)

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How to return the lines after a selected line

    Hi there, I need return the straight after that the condition I have is filled...

    given the following table:

    date col ID
    123 Y 29/02/2013
    123 X 27/02/2013
    * 123 Y 26/02/2013 *.
    123 Z 26/02/2013
    * 123 X 25/02/2013 *.
    123 Z 25/02/2013

    I need a query that retrieves all rows that come immediately after col = 'Z' it is
    123 X 25/02/2013
    123 Y 26/02/2013

    Any help would be appreciated,

    Hello

    Martel wrote:
    Hi there, I need return the straight after that the condition I have is filled...

    given the following table:

    date col ID
    123 Y 29/02/2013
    123 X 27/02/2013
    * 123 Y 26/02/2013 *.
    123 Z 26/02/2013

    The 2 highest ranks (and the 2 lines below, by the way) seem to have the same date. I guess there is something that you are not showing that puts unqmbiguously in the order listed.

    * 123 X 25/02/2013 *.
    123 Z 25/02/2013

    I need a query that retrieves all rows that come immediately after col = 'Z' it is
    123 X 25/02/2013
    123 Y 26/02/2013

    It's just that the analytic LAG function.

    Any help would be appreciated,

    Here's one way:

    WITH   got_prev_col     AS
    (
         SELECT     id, col, dt     -- DATE is not a good column name (id isn't so good, either)
         ,     LAG (col) OVER ( PARTITION BY  id  -- or omit PARTITION BY clause
                                    ORDER BY      dt
                          )  AS prev_col
         FROM    following
    )
    SELECT     id, col, dt
    FROM     got_prev_col
    WHERE     prev_col     = 'Z'
    ;
    

    I hope that answers your question.
    If not, post a small example data (CREATE TABLE and only relevant columns, INSERT statements) and also publish outcomes from these data.
    Explain, using specific examples, how you get these results from these data. For example, what makes one of the lines 26/02/2013 come in front of the other. Explain what id role plays in this problem. better yet, include a couple of different id values in the sample data.
    Always say what version of Oracle you are using (for example, 11.2.0.2.0).
    See the FAQ forum {message identifier: = 9360002}

  • How to return the sprite object?

    I want to load both image and add each image to each sprite object, like photo one sprite1 and photo b to spriteb, I know that I can load a pictue with the following code:

    loadImage ('a');
    loadImage ('b');
    private void loadImage(imagePath:String):void {}
    var loader: Loader = new Loader();
    loader.contentLoaderInfo.addEventListener (Event.COMPLETE, onImageLoaded);
    Loader.Load (new URLRequest (imagePath));
    }
    private void onImageLoaded(event:Event):Sprite {}
    var loaderInfo:LoaderInfo = event.target as LoaderInfo;
    _loadedBitmap = LoaderInfo.Content as Bitmap;
    Return runPostImageLoad (_sprite);
    }
    private void runPostImageLoad(_sprite:Sprite):Sprite {}
    ... photo of //load
    }

    But I want to make my code like the following, because I want to use sprite1, sprite2 for something else:
    var sprite1:Sprite = loadImage ('a');
    var sprite2:Sprite = loadImage ('b');

    I don't know how to change the loadImage function to return the sprite object. Could someone tell me how to do?

    Thank you

    use:

    private var _sprite:Sprite;

    .

    .

    private void loadImage(imagePath:String):Sprite {}

    var loader: Loader = new Loader();

    Loader.Name = "Loader";

    loader.contentLoaderInfo.addEventListener (Event.COMPLETE, onImageLoaded);

    Loader.Load (new URLRequest (imagePath));

    _sprite = new Sprite();

    _sprite. AddChild ("Loader");

    return _sprite

    }

    private void onImageLoaded(event:Event):void {}

    var loaderInfo:LoaderInfo = event.target as LoaderInfo;

    _loadedBitmap = LoaderInfo.Content as Bitmap;

    runPostImageLoad();

    }

    private function runPostImageLoad (): void {}

    just draw the shape of the irregular part

    If (_loadedBitmap...) {

    _sprite.removeChild (_sprite.getChildByName ("loader"));

    _sprite. Graphics.drawRect (...);

    }

    }

    p.s. Please check the correct and useful.

  • How to return the subset of an array of basic condition bits

    Hello

    I have a question on how to get the subset of the table based on scraps of condition...

    For example, if I had a 4 x 4 array of 2D of DAQ system data.

    Table 1:

    1 2 3 4

    1 2 3 4

    1 2 3 4

    1 2 3 4

    and a 1 d table showing the conditions of each channel...

    Table 2:

    1

    0

    1

    0

    The function I want to do is to collect data only from the channel status bits are 1. In the above example, I want to only retrieve data from channels 0 and 2. Any idea? Thank you!

    Hi oly.

    Check this VI...

    Thank you and best regards,

    srikrishnaNF

  • Compound of button: how to return the signal of a component to another

    Hello, I am quite new in BB10 development. I have a question:

    I'm doing button image with text. My idea was that I will create custom component consists of two components:

    ImageButton

    Label

    Label will be the button Image and contain customizable text

    It basically works, but it seems that swallows Label click signal and it is not propagated to the ImageButton control. I tried to put

    setFocusPolicy (FocusPolicy::None); for the label, but it does not work.

    My questio is: how to do it correctly? Should I capture signal clicked() on the label and send it back to the ImageButton control?

    Thank you

    Tom

    Hello!

    This can help you!

    Refer to overlap touch policies in

    https://developer.BlackBerry.com/Cascades/documentation/dev/touch/touch_propagation.html

    OR

    See how to create the source for the Timer class

    https://developer.BlackBerry.com/Cascades/documentation/dev/signals_slots/signals_slots_create_timer...

    I think so

    The control signal can be connected to the signal of another control.

    -Rezé

  • How to return the Id of the Instance in a webservice call?

    Hi all.

    I have a process that is exposed as a WS. I can create instances that calling WS from an external application.
    Now I need return the instance id every time an instance is created in the WS call.
    This 'return' must be almost immediately in the next activity after the start event. I have been able to return more, but can not access the information on the process here.

    How can I do?
    I can't be able to bind the instance Id to an outgoing argument WS.

    Thanks for the help.

    Directly after the start event, place an event to throw the message - I guess that's what you already have. To get the instanceId, use XPath in Associations of data of the event Message to throw away. instanceId is under the "advanced features" such as "ora:getInstanceId(). If you want to return the instanceId of the composite process, use ":getCompositeInstanceId() ora".

    HTH.

  • How to return the value 0 for no data using the County?

    Hi all
    I used this query to count the number of records for each month of the year:

    SELECT DISTINCT COUNT (I.information_sid) COUNT, TO_DATE (TO_CHAR (INSERT_DATE, 'MM'), 'MM') MONTH

    INFORMATION I

    TO_DATE GROUP (TO_CHAR (INSERT_DATE, 'MM'), 'MM')

    ORDER BY TO_DATE (TO_CHAR (INSERT_DATE, 'MM'), 'MM')

    But this code returns no value for months without data
    I want to return the value '0' for any month of data. How, please?

    Note: I use reports 6i.

    Maybe this?

    SELECT SUM(CNT_REC) CNT_REC, MONTH
    FROM
    (
    SELECT COUNT(I.information_sid) CNT_REC, TO_DATE(TO_CHAR(INSERT_DATE,'MM'),'MM') MONTH
    FROM INFORMATIONS I
    GROUP BY TO_DATE(TO_CHAR(INSERT_DATE,'MM'),'MM')
    UNION ALL
    SELECT 0, LPAD(ROWNUM,2,0)
    FROM ALL_OBJECTS
    WHERE ROWNUM <= 12
    )
    GROUP BY MONTH
    ORDER BY MONTH
    

    No need to SEPARATE during the use of GROUP BY.

    -Clément

  • How to return the function 2D array

    Hello
    is it possible to return the function 2D array? I have this but returns undefined, all tests within the work however, service
    I'll call the function:

    imageThumbsFineArtArr = calculateThumbWidths (numOfSeriesFineArt, numOfImagesFineArtArr, "thumbImageFineArt");
    Thanks for any help

    with regard to 2. Yes it is undefined after statement 1. and it shows the correct numbers after 3.

    I already solved the problem, it may not be clean but it works, function does not return anything and I'm changing table imageThumbsFineArtArr inside the function as a global variable and each Member of the group i, j separately...
    Thanks again,
    Zbynek

  • How to return the computer to factory conditions

    I'm really having a very hard time with this.  I tried to restore my computer to factory to get rid of windows 8 etc.  I've erased everything, or so I thought.  Windows 8 is still on it.  I have discs I need etc to back to factory.  But I can't figure out how to get the discs to run.  I went to my control panel for the recovery and said everything I looked for me to choose methods of recovery in advance.  Although in my control panel that the option is not there.  So I'm still stuck on what to do.  I want to go back to the factory and start but nothing I try does not work.  I worked on it for 2 weeks and I am ready to throw this whole computer.

    Hello

    This should help you.

    How to change the Boot order in BIOS:

    http://pcsupport.about.com/od/fixtheproblem/SS/bootorderchange.htm

    See you soon.

  • How to return the QML C++ bb::cascades:Control as a property object?

    Hi all

    I need to return the value of the property QML in C++ code, problem is that this value is object of bb::cascades:Control

    Look at the example:

    import bb.cascades 1.2
    
    Page {
     property NavigationPane currentNavigationPane: tab1.navHandle
     property int testprop:0
    }
    

    In C++, I need to retrieve the value of currentNavigationPane property (I suppose it must point to NavigationPane *)

           QVariant const   prop=__current_page->property("currentNavigationPane");
            NavigationPane* nav_p=prop.value();
            if (nav_p!=NULL){
                qDebug()<<"nav_p is not NULL";
            }
            qDebug()<
    

    As a result of this code: nav_p is the null pointer and app crashes without any note of debugging on qDebug()<>

    I found the solution by Exhibitor class c ++ in QML and I can call its methods with pointer to bb::cascades:Control as a parameter

    QML

    Page {
    id:this_page
        onCreationCompleted: {
            mainCPP.UpdatePage(this_page);
        }
    }
    

    C++

    Q_INVOKABLE void UpdatePage(bb::cascades::Page *call_back_page){
    if(call_back_page){
    qDebug()<<"Page is valid";
    }
    }
    

    By this method, I can use control of Cascade in C++

     

  • How to return the Type of function

    I defined a type and a function in the specification. But package body returns error pls-00330 (invalid use of the name of type or subtype). What I am doing wrong? My intention is to write a function that returns a folder that contains two values. For now, I put "null;" as a placeholder.

    -Specifications
    CREATE or REPLACE PACKAGE res.year_qtr AS
    Yq_type RECORD TYPE IS
    (year varchar2 (2),)
    QTR varchar2 (1));
    FUNCTION yq_fun (date_in date)
    RETURN yq_type;
    END year_qtr;

    -body
    CREATE or REPLACE PACKAGE BODY res.year_qtr AS
    FUNCTION yq_fun (date_in date)
    IS BACK yq_type
    BEGIN
    null;
    RETURN year_qtr.yq_type; -get error on this line!
    END;
    END year_qtr;

    Published by: user516543 on March 23, 2009 12:17

    You must declare a variable of this type and the return variable.
    You can not simply to return the type because it is not really a statement of this type.

    --specification
    CREATE OR REPLACE PACKAGE res.year_qtr AS
      TYPE yq_type IS RECORD
        (yr varchar2(2),
         qtr varchar2(1));
      FUNCTION yq_fun (date_in date)
        RETURN yq_type;
    END year_qtr;
    
    --body
    CREATE OR REPLACE PACKAGE BODY res.year_qtr AS
      FUNCTION yq_fun (date_in date) RETURN yq_type IS
        v_ret year_qtr.yq_type;
      BEGIN
        null;
        RETURN v_ret;
      END;
    END year_qtr;
    

Maybe you are looking for