Calling APEX page in cognos report

Hello,
I am very new to APEX. I have the below requirement.
I have Oracle database with Cognos tool. My cognos report display the data and business
wanted to have url on the cognos report. Business wanted to click that link and open
another page and they need to modify the data and save the data back to database.
Is this possible to call apex page in cognos report? I just wanted to check this before
i take this path.. Any suggestion is highly appreciated.

govindts wrote:
Hello,
I am very new to APEX.You appeared in the wrong forum. Oracle Application Express (APEX) is propably better one.

Similar Messages

  • Calling Apex page from Oracle Forms

    Hi,
    I haven't managed to find a similar thread anywhere.
    I would like to call an apex page from a form. The page is in an app that requires authetication.
    I can able to open the page by using web.show_document but that only takes me to the login page.
    How can I overpass the authentication by passing somehow the username and password?
    Is there any similar or easier way to do what I am after?
    Many thanks

    Hi,
    You could try the BRANCH_TO_PAGE_ACCEPT URL functionality. There are a few threads on this subject - for example: Re: authentication with credentials from another domain? I haven't used this myself, but if you do a search on the forum for this, you may find other threads that can help.
    Andy

  • Calling Apex Page

    Hi friends,
    I have integrated APEX with ebis - R12 with the help of Rod Document and now i can redirect to the APEX page from the ebiz menu. Now whether it is possible to call the APEX page from the workflow notification.
    As now the APEX is within Ebiz. Whether now it is possible to call the APEX page (via) Workflow notification.
    As anyone done this before.
    Brgds,
    Mini

    Hi Andrew,
    have you other self defined html input tags in your form? When you look into the Apache log file you will probably notice that mod_plsql isn't able to map this field names to parameters of the F procedure.
    BTW, have you already looked at the PayPal Packaged Application and the White paper which explains it? http://www.oracle.com/technology/products/database/application_express/packaged_apps/packaged_apps.html#PAYPAL
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • Calling A Page Process From Report Link

    Hello.
    I am using Apex 4.2.1 on Oracle 11gR3 and mod_plsql.
    I am trying to run a PLSQL after-submit page process when users click a SQL generated link in a classical type report.
    For example, my classical report uses the query:
    SELECT
    E.*,
    '<a id="rid" href="f?p=&APP_ID.:31:&SESSION.:ADDROW:::P31_ENAME,P31_MGR,P31_DEPTNO:'
    || E.ENAME
    || ','
    || TO_CHAR(E.MGR)
    || ','
    || TO_CHAR(E.DEPTNO)
    || '">'
    || 'Add New Row'
    || '</a>' AS ADD_ROW
    FROM
    EMP E
    My page also has an after submit PLSQL process defined as:
    declare
      v_empno     integer;
    begin
      select nvl(max(empno), 0) + 1
        into v_empno
        from emp;
      insert into emp (empno,
                       ename,
                       mgr,
                       deptno)
               values (v_empno,
                       substr(:P31_ENAME,1,1) || '-' || to_char(v_empno),
                       to_number(:P31_MGR),
                       to_number(:P31_DEPTNO));
    end;
    This process has the condition "Request = Expression 1", where "Expression 1" = ADDROW.
    I thought that if users click the "ADD_ROW" report link, then the report items ENAME, MGR, and DEPTNO would be passed to corresponding page items.  In addition, the above PLSQL process would be executed and add a new row to the EMP table.  The report then would then display the newly added row.
    But when I click the report link, I see that my page items are, in fact, assigned the associated report values.  But the page process is never executed.
    I have looked at both the Session State page and in Debug mode.  The processing simply never executes my page process.
    Would anyone know why my page process is not being run?  And, how can I get the page process to run when users click the report link?  Indeed, what is the point of even having a REQUEST tage embedded in the url if it is not recognized bt other processes on the page?
    In my apex.oracle.com workspace, I have created an example page in which all of this has been coded:
    Workspace: EEG
    Username: [email protected]
    Password: galaxy123 (all lowercase)
    AppID: 27083 (Elie_Goodies)
    Page 31 (Test Url Request Option)
    I would much appreciate if someone could help me with this as I am puzzled why this is not working.
    Thank you very much.
    Elie

    Hi Elie,
    I think it's fixed.  It was very close. It's just a matter of timing.
    For a REQUEST to be visible after submit you have to submit the page.  Something like apex.submit("ADD_ROW") will do that.
    Then, when the page renders the REQUEST is empty again.
    Same thing with the link, which is what you implemented, the REQUEST is only present during render of the page. Then it's gone when the page is submitted.
    All I had to do is move your Process to run Before Header so that it could "see" the value of the request.  I didn't touch (or look) and any of the code.
    Either On Load Before Header or On Load Before region processing points would have worked here.
    Thanks
    -Jorge
    Message was edited by: jrimblas

  • Calling APEX page in Rich Text Editor Content

    In my application I am using the Rich Text Editor to allow users to enter a block of text that is rendered within a page. In some cases, they would like to link to other pages in the application from within that block. The problem I am having is figuring out how to use a relative URL (f?p) path and maintain the session ID. If I try to enter f?p=&APP_ID.:1:&APP_SESSION.as the link expression from within the editor, the resulting HTML comes out<a href="http://f?p=&amp;APP_ALIAS.:home:&amp;APP_SESSION.">Any ideas on how to do this such that the substitution strings get processed properly would be greatly appreciated.

    Hi,
    Here what you can do with substitution problem
    Create procedure
    create or replace PROCEDURE editor_url(p VARCHAR2)
    AS
    BEGIN
    f (p => v('APP_ID') || ':' || p || ':' || v('APP_SESSION'));
    END;
    Create public synonym
    CREATE PUBLIC SYNONYM editor_url FOR your_schema.editor_url;
    Grant execute on procedure for DAD user
    GRANT EXECUTE ON editor_url TO APEX_PUBLIC_USER; -- OHS or APEX Listener in use
    GRANT EXECUTE ON editor_url TO ANONYMOUS; -- EPG
    Then in editor link url you enter
    editor_url?p=1
    That will then you then to page 1 and procedure handles app id and session substitution
    Regards,
    Jari
    My Blog: http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai
    Edited by: jarola on Jul 25, 2012 7:58 PM
    Edited by: jarola on Jul 25, 2012 8:06 PM
    I did not test this fully. It do not work :(

  • Calling Apex Page from third party

    Hi All,
    I have a requirement where I need to integrate Oracle Apex with third party application.
    In the third party application, I have to create a link and on the click of the link have to open the APEX application page in another window.
    Here the username and password needs to be sent through the link itself and user should not be asked to enter the login details.
    Can anyone guide me how this can be achieved?
    Regards,
    Arvind

    Hi Jonivdb,
    Thanks for your reply. I think you have understood my problem. I am new in Apex and there is one link by which I can login into Apex.
    The link which I used is to connect Apex from html page is using action as "http://site/pls/apex/wwv_flow.accept" with method type "post".
    Now my problem is I have to pass username and password as hidden parameters. Client do not want to pass username and password in this format.
    What they wanted is to encrypt it at there side and the wanted us to decrypt it. My problem is I do not have any idea How to customize "wv_flow.accept" method or URL.
    Any help would be really useful.
    Regards,
    Arvind

  • How to call/show  page(s) from different application

    Hi All,
    I'm working on couple of applications and some reports (about 30) are used in all applications. I need your advice on doing this efficiently.
    Is it possible to
    1) Create a separate application with all the reports.
    2) Create a blank page with lists linking to all those reports on the same tab
    Now, is it possible to call that page in a "reports" tab of each application without prompting for login and still have rest of the tabs visible while the user is using the reports?
    Thanks in advance,
    Asha
    Edited by: ashapatil on Jul 29, 2010 1:54 PM
    Edited by: ashapatil on Jul 29, 2010 5:41 PM

    Asha,
    you can create links to call pages from other applications without any problem, just take a look at the structure of APEX URL over here: http://www.oracle-and-apex.com/apex-url-format/
    To avoid re-logins you could either disable security on your application (not recommended) or create a custom authentication scheme which takes logged in users from other applications as granted.
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    Work: http://www.click-click.at
    Training: http://www.click-click.at/apex-4-0-workshops

  • Custom pagination for APEX 4.2 interactive report using Page Zero

    Hi,
    I want to implement an «Custom pagination for APEX 4.2 interactive report» using a «page zero».
    I recently migrate from Apex 3.1 to Apex 4.2 and my «Custom pagination for APEX 3.1 interactive report» using a «page zero»  is not working any more.
    So now I try to adapt an excellent example of Jari Laine for 4.0 but using a page zero.
    I put the code JavaScript to Page zero but I must create an dynamic action to fire only for an interactive report region.
    It’s a good idea?
    Thank you

    Thought I would try once more with my DatePicker question.
    On the Apex.Oracle.Com website I have created a 1 page application that has an Interactive Report.
    [url http://apex.oracle.com/pls/apex/f?p=15655:1]
    user = 'test'
    password = 'test'
    I have 2 questions :
    (1) In IE7, press 'Actions', 'Filter'. On the Column dropdown list, select 'Order Timestamp'.
    Notice the prompt icon to the right of the 'expression'. This should change to the Datepicker, but in IE7 it does not. Try the samething in Firefox or Chrome and the Datepicker will appear.
    Is this a BUG, or does Apex 4.02 not support IE7 ?
    (2) In Firefox or Chrome, where you can now see the Datepicker, you will notice that it is the new style picker, not the old style ( called 'classic' ). I want to change it so that it shows the 'classic' datepicker not the new, but cannot see how to do it, if indeed you actually can.
    I would really appreciate it if someone could take a look and let me know if I am going mad, or if we need to get all our users onto IE8. We have now gone live with Apex 4.02 and need to resolve these issues.
    Thanks in advance.
    Edited by: DooRon on 10-Mar-2011 05:13

  • Global temporary table in PL/SQL called from APEX page

    I have a global temporary table in a PL/SQL procedure that is called from an APEX page.
    The global temp table is populated with data as the procedure runs and then at the end of the procedure I do a create_collection_from_query_b to populate a collection with the data from the temp table. (I do this b/c it is much faster than creating the collection and doing an add_member for each row.)
    The problem is that there are no commits in my procedure but I cannot get the bulk insert to work unless I define the temp table as on commit preserve rows.
    Can anyone shed any light on this issue.
    Thanks,
    Andrew

    alamantia wrote:
    My PL/SQL procedure is called from an after submit page process. Does that imply that there is a commit happening after that process is successful?Ultimately, yes.
    If the process calls the PL/SQL procedure and the temp table is in the procedure, wouldn't the commit fire after all the PL/SQL code is complete which would be after the bulk insert from the temp table to my collection?Yes, but at any point in the procedure containing code like
    :APEX_ITEM := ...or
    select ... into :APEX_ITEM from ...or
    my_procedure(p_in => ..., p_out => :APEX_ITEM, ...);or
    apex_util.set_session_state(...);then APEX will commit whilst maintaining session state.
    If you don't have any of these events in the procedure, then test to see if the commit is occurring in <tt>apex_collection.create_collection_from_query_b</tt> prior to creation of the collection.

  • A beginner question: How can I call an APEX page from outside

    I want to mix APEX functionality and other enterprise tools.
    Thus I wish to call by an URL an APEX page by transmitting the mandatory page argument and optionnal argument like an order number. I just couldn't found any information in the documentation about own argument in an URL
    Any idea?
    Frederic

    Hello,
    The following will give you everything you need to know about using ApEx URL:
    http://download-uk.oracle.com/docs/cd/B31036_01/doc/appdev.22/b28550/concept.htm#BEIFCDGF
    Regards,
    Arie.

  • Call iexplore.exe from apex page

    I have a requirement to have a link from my main application apex page to invoke a client windows os command 'iexplore.exe -noframemerging' (I think this ie option used to be -nomerge). The idea is, this will fire up a separate IE8 session in a separate browser session, thus partitioning it from any other IE sessions. I know in IE8 there is a 'New Session' menu option but we need a link that is more obvious/integrated within our application. Our idea is to "persuade" users to click this link in preference to 'New Tab' or 'New Window' option.
    Now, my quandary is how to do this. Should I be calling a Java Applet from the page (via Javascript) but is this "sand boxed" and thus will not let me call an executable for security reasons ?
    Obviously I would also like to cater for users running Firefox (which I presume could detect in javascript and pass the browser type into the applet).
    Is this sane, Is there any other way ?
    Any advice would be appreciated or has someone already been down this road and could give me some pointers or an example.
    Thanks in anticipation.

    Our corporate application already has calls to similar executables (ie MS Word, Excel) to do letter merges, document transfers etc using signed Java libs on the backend server. I suppose this requirement is different as I'm wanting to run an executable on the client pc. So, are we saying it is not possible to run an 'iexplore.exe' on the client PC (using a signed Java applet) ?
    Edited by: theArrow on Apr 11, 2011 1:20 AM
    Edited by: theArrow on Apr 11, 2011 4:52 AM

  • How can I call a Page Process from the Select statement for Report Page

    I'm able to call a javascript using the below:
    img src="#IMAGE_PREFIX#add2.gif" border="0" alt="Icon 4" onClick="javascript:add_connect1('||CPORT.ID||')"
    But Now,
    I'd like to accomplish (2) New things:
    1. instead of using,....... onClick="javascript:add_connect1,
    I'd like to call a Page Process, onClick=
    2. I'd like to be able to call two different processes onClick.
    a. onClick="javascript:passBack('||ID||')"
    b. onClick= <Please see my question #1 above>
    Can someone please help me with the syntax for this,
    If indeed it can even be done?
    Thanks- Gary

    Greg.
    It seems that my situation is the one you describe in you second paragraph, where you mention:
    you could then add the ID column value as a parameter to the javascript functionBut,
    I do not know how to reference the variable in my javascript nor how to use it in my on-demand process.
    If you can hellp me past this last little bump, then I think I will be able to use these skills in Sooo many different areas of my design.
    Here's what I've got so far:
    A. In the select statement I identify the javascript as:
    onClick="javascript:connect_port('<font color=blue>''||ID||''</font>')";
    B. In my javascript I have this:
    <script language="JavaScript" type="text/javascript">
    function connect_port(ID)
    var get = new htmldb_Get(null,$x('pFlowId').value,'APPLICATION_PROCESS=CONNECT_PORT',0);
    gReturn = get.get();
    get = null;
    </script>
    C. In my on demand function I have this:
    BEGIN
    INSERT INTO CCONNECTIONS_B
    BLDG_ID,CLST_ID,PORT_ID,STRAND_ID
    ) VALUES
    :P2004_BLDG_ID,:P2004_CLST_ID,:P2004_PORT_ID,:P2004_STRAND_ID1
    END;
    You can see that I dont know how to use the value for 'ID' in either the javascript or the On-Process function.
    If you can help me out with this one, Then I can imitate it for the rest.
    -Gary
    Edited by: garyNboston on Apr 3, 2009 6:44 AM
    Edited by: garyNboston on Apr 3, 2009 6:44 AM
    Edited by: garyNboston on Apr 3, 2009 6:45 AM
    Edited by: garyNboston on Apr 3, 2009 6:47 AM

  • Documentation for exporting apex page to Word or PDF

    Hi,
    Do you know of any examples or documentation for exporting several regions on an APEX page to either a word doc or a pdf? I have tried using the report print functionality but it's not quite robust enough and I can only do one report.
    Any direction would be greatly appreciated.
    Best,
    Forrest

    Hi -
    Not sure if I've understood your requirement but I'll guess that you have multiple reports or other items on a page and you want to generate 1 report with values from all regions...
    If that's the case the approach I would take:
    1) Configure either BI Publisher or Apache FOP printing.
    2) Define a Report Query and Layout under shared components that pulls in all the data you require.
    3) Call the new report from a button on the page.
    You can find docs for all of this on apex.oracle.com, look for "Configure PDF Printing".
    Good luck.

  • Calling a page process by clicking a link

    I have an Apex report with multiple rows and a link column in. I'd like to be able to call a page process to do some work on the row with the clicked link... I also need to pass a couple of parameters somehow to the page process as it calls a procedure which requires the parameters to function correctly.
    So -
    When I click a link on a row.. perhaps a couple of hidden page items get set.
    The page is then submitted and my process calls the procedure, using the values of the set items above as its parameters.
    Control is submitted back to the original page.
    So basically I'm trying to give a user the ability to carry out repetitive actions on each row.
    My thought was to use a URL in the link and maybe Javascript.. or am I barking up the wrong tree and is there a better way rather than a link?
    Thoughts?
    Cheers
    Ken

    You have the right idea. JavaScript is the way to go. Assuming that the values that are being passed are part of that row of data, you can construct the call to a JavaScript process.
    Create two hidden items on your page, make sure they are not protected.
    say P1_CITY and P1_STATE
    Say your query included city and state, define a column in the report as a link of target URL with the following url
    javascript:myFunction('#CITY#', '#STATE#');
    Then define a javascript function in the page HTML Header section
    function myFunction(pCity, pState) {
    $x_value('P1_CITY', pCity);
    $x_value('P1_STATE', pState);
    doSubmit('RUNPROC');
    Then have a process on the page does what ever you want and that is conditional on the REQUEST = 'RUNPROC'

  • Get Dynamic HTML from Apex Page as CLOB

    Good Morning,
    I have two APEX pages that are designed to provide formatted report content; however, these are not intended to be navigable from within the application. In other words, I am not letting the user view the pages directly. Instead, their purpose is to generate dynamic content so that I can feed their HTML into a HTML to PDF converter so the generated PDF can be attached to an email and sent to clients. I have found that the easiest way to generate this report is directly in APEX, but I haven't yet found a way to just run the page via a PL/SQL API and retrieve the dynamic content into a CLOB so that I can send it to my converter utility. I have tried UTL_HTTP, but I am either using that API incorrectly, or the security context of the session is not proagating to the call (this is being performed in a secure APEX application), thus I receive the following error [ORA-29273: HTTP request failed ORA-06512: at "SYS.UTL_HTTP", line 1674 ORA-29024: Certificate validation failure]. I am using Apex version 3.2. Does anyone know a good and straight-forward API for doing what I need to accomplish? Thanks in advance.
    Erik

    To mimic the users session, you'd have to forward on the session cookies as part of the HTTP request.
    A simpler option:
    * Allow public access to the page
    * Apply an authorization scheme to the page that looks something like this...
    if owa_util.get_cgi_env('REMOTE_ADDR') = '127.0.0.1' then
      return true;
    else
      return false;
    end if;(PL/SQL Function Returning Boolean)
    Then when you perform the request in your code, use 127.0.0.1 instead of the host name.

Maybe you are looking for