Column Link URL - passing items as args

Hi, probably a syntax problem here but can't seem to pass the items properly. I've got a column with a URL link to an external app which I need to pass htmldb item values to. Currently the hardcoded url for the column looks like:
http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id=1&e_id=186 " target="_blank
the d_id and e_id have values contained in HTMLDB items. I tried the &ITEM. and #ITEM# but the url does not include them at runtime.

Sorry, probabaly not too clear before. The url itself is not obtained from a query but is hardcoded in the column data link of a column 'Location' in a report. It displays an image for the column value with a url link to run our external mapping app:
http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id=1&e_id=186
d_id's value is stored in the item P34_D_ID
e_id's value is stored in the item P34_E_ID
I'm trying to use a report rows' values for those items and format the url to use those.
so column link url:
http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id="&P34_D_ID."&e_id="&P34_E_ID.
results in
http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id=
http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id='&P34_D_ID.'&e_id='&P34_E_ID.'
results in
http://1.1.1.1:8888/app/servlet/MyServlet?action=init&d_id=''&e_id=''
Pretty sure I just don't understand how/when htmldb uses the items values when generating links.

Similar Messages

  • How to hide column link URL on status bar?

    Apex 4.1
    I have IR wit one column link target to URL, and it uses
    javascript:my_function(#COLUMN_VALUE#)as URL, that is, calls some function and passes the value of that column to the function;
    everything works fine;
    but when I place a cursor over the link, bottom line of IE9 browser (is it called a 'status bar'?) clearly shows:
    'javascript:my_function(<actual value>)'
    Is there any way to prevent it from showing function name and parameter value?
    I tried
    onmouseover="window.status='';"but it does not work

    Don't name the function in your link and hide the code in a dynamic action. See this example:
    http://apex.oracle.com/pls/apex/f?p=31517:296
    and the empno column which is a link. Explanation further down.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/apex/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Column Link page as a pop up window instead of full page.

    I have set up a column link to pass some variables and see a nice result as a page.
    I would rather see that page show up as a pop up window rather than as a full screen page. Where can I tell my column link to show the page as a smaller version than full screen page please?
    Thanks in advance !
    JMM.
    Edited by: metropoj on Nov 16, 2010 10:43 AM

    Hi Tarun,
    Is this code set at the URL TARGET of the button?
    Have you already tried with another browser?
    Try once this way: javascript:popUp2('f?p=&APP_ID.:3:&SESSION.::&DEBUG.:::',400,300)PS*: When you're going to post any code use as delimiter.
    Regards,
    Alan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Display the second report as modalform and filter with primary key value of first report when you click on first report column link

    Hi All,
    I have two reports.
    1. order report
    2. order detail report
    when you click on the order report column it display the order detail report as a modal form.
    i was done below steps.
    1. In page header i was written the below code
    <link rel="stylesheet" href = "http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/
    redmond/jquery-ui.css" type="text/css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"> </script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script>
    <script type="text/javascript">
    $( function() {
    $('#ModalForm1').dialog(
    autoOpen : false ,
    width :470,
    height: 500,
    resize :false,
    function openForm1()
    $('#ModalForm1').dialog('open');
    function closeForm()
    $('#ModalForm1 input[type="text"]').val('');
    $('#ModalForm1').dialog('close');
    </script>
    2. order report.
    3. order detail report
       select * from order_details where order_id = p_order_id;
    region header
    <div id="ModalForm1" title="Ordered Items" style="display:none">
    <p class="msg"></p>
    footer
    </div>
    4. created the hidden item in order detail report.
    5. in order report column attributes i was given link like below.
    javascript:$s('p_order_id','#order_id#');openForm1();
    when i click on the order report column link it passing the row primary key value to hiddent and open the report as modal form. however it is not filter the report with hidden item. it showing the no data found.
    problem is hidden item value is not submitting. once we submit that value it showing the 2nd report with filter data.
    can any help me to achieve above requirement.
    apex: 4.2
    oracle 11g
    Regards,
    Vijay.

    Vijay,
    Issue 1: Your usage of $s() JavaScript API seems to be wrong. For the first parameter, you need to use the name of the hidden page item and not p_order_id.
    javascript:$s('P1_ORDER_ID','#ORDER_ID#');openForm1();
    Issue 2: Seems like you are not setting the hidden page item's value in session state. Assuming your hidden page item is called P1_ORDER_ID, Under "Region Definition" tab of your "Order Detail Report" under "Source" tab, for page items to submit, enter the name of the hidden page item P1_ORDER_ID.
    Thanks!
    JMcG

  • Partial Refresh from column link

    Hello,
    I am working on a page with two classic reports.
    Report A is always displayed and has a column link which sets item Z with a value from a column in report A and then redirects the page to itself.
    Report B uses item Z in his where clause and is only shown when Z is filled. This all works fine.
    However I want to use Partial Page Refresh to only reload Report B instead of the whole page.
    Because report A is a heavy report it can't and it won't get lighter.
    So my question is how does this partial page refresh stuff work and does it improve preformance?
    I think it would help if Ii don't have to load report A everytime I reload Report B.
    I have found this:
    Link
    But it uses a selectlist and I use a hidden item and a column link. The column link does not set session state so it won't work...
    Hope someone could help me out.

    Robert Hantink
    Robert Hantink wrote:
    Yes, thank you that was what i was looking for!!!
    2. Report B is only shown when item Z is filled. But we use javascript:$S('Z',#column#) tot set is and thus the condition stays false.Report B has to be rendered on page load.
    Play with the show and hide dynamic action to show report B to the user at the appropriate time.
    Use CSS to hide the report on page load. Using the hide dynamic action will show the report before the dynamic action is fired. Causing a slight flicker.
    As for
    1. The title of the region is based on the value of item Z. Now that the session state is not updated and &Z. remains null it show null.You'll need some javascript for that. I have seen a forum post before of someone doing used that. So have a look around
    Nicolette

  • How do you pass more than 3 items to another page via a Column Link?

    I know this is a simple question, but I don't see it covered in the manual.
    I have a report on page 1, when the user clicks on a column link, I'd like to pass 4 items to the page that is called.
    The Column Link area allows you to specify 3 items. How do people normally accomplish this?
    Do you somehow use page zero? Do you use Application Items for this purpose?
    Also, can someone recommend a good APEX book to supplement the manuals?
    Thanks

    hI
    Oh Varad I didnt know this, Thanks for a new tip ;)
    Just change the target to URL and enter a simple statement
    in the URL section
    f?p=&APP_ID.:50:&SESSION.:10:&DEBUG.::P50_item1,P50_item2,P50_item3,P50_item4:value1,#column_name2#,#column_name3#,#column_name4#
    Use value when u know a fixed value to be passed
    and column names on the same report can be passes by using #column_name#
    Hope this helps
    Thanks
    Ashri
    Edited by: Ashri on Nov 14, 2008 8:34 AM

  • Column link - call java script & assign current report column value to item

    Hi,
    How to call java script and assing current report column value to item?
    I have a button column in the report to 'delete' the selected row.
    I want to first show dialog box with message 'Are you sure?'. If yes, process to delete
    will be executed, else no action.
    In order to fire JS, I used Column Link ->Target=URL.
    Problem: The alert is showing but I don't know how to pass selected row's primary
    key value to process (to delete selected row).
    I have a item which can be used to store selected primary key value but don't know how to assign the value
    when button pressed.
    Thanks in advance
    Dip

    Ok. The issue has been resolved by following way.
    PAGE PROCESS: delete_request
    begin
    delete xyz
    where id = :P8_id;
    commit;
    end;BUTTON URL:
    javascript: DelRec(null,'CREATE', 'f?p=&APP_ID.:8:&SESSION.:delete_request:NO::P8_id:#id#');Java Script:
    <script language="JavaScript1.1" type="text/javascript">
    function DelRec(msg, req, url){
    var confDel = msg;
    if(confDel ==null){
    confDel= confirm("Are you sure?");
    }else{
    confDel= confirm(msg);}
    if (confDel== true){
    redirect(url);           }
    </script>

  • How to set an application item when report column link is clicked?

    I am trying to set the short name of a bread crumb entry when I drill into a detail from an interactive report page.
    The master report has a column link with target = detail - "page in this application"
    I can pass page items through the URL and they are set on the target page.
    How can I set an application item before the target page is called?
    Is there a way to set a process before the link is followed?

    Kenneth,
    I'm not totally sure that I understood the question but, it soounds like you want to set the value of some page items on the page that is opened when you click a link on a column in the master window. Is this right?
    If so, you can achieve what you want by creating hidden page item(s) on the target page. In the master page, on which every column provides the link, go into Report Attributes, click on the link column and scroll down to the section labeled "Column Link" Within this section, set the link text to the current column value, e.g. #MASTER_REPORT_COLUMN_NAME_HERE#. Set the target to "Page in this Application" and pick the page number for the target window.
    Underneath this you will see a section to set set the value for page items. If you click the flashlight, you can search for the hidden page item that you created above. Use the same value to set it as you did the link text, i.e. #MASTER_REPORT_COLUMN_NAME_HERE#. Do this and let APEX take care of passing the values on the URL.
    On the child page, just set whatever control you want to dynamically pick up the value from the hidden field. For example, if you hidden field where named P4_CLEARER_NAME. You could set the title attribute to "Contact Information for &P4_CLEARER_NAME."
    You need the preceeding "&" and terminating "." around the name of you hidden page item to do this.
    -Joe

  • Item value on column link is not posted in 3.0

    Hi,
    I've on page 120 a column link to page 122 with 3 items: P120_X, P120_Y, P120_Z with the values set #P120_X#, #P120_Y#, #P120_Z# . If the value of P120_Z = # , then only P120_X und P120_Y are available at Page 122. P120_Z is NULL. My Version is Apex 3.0 now. This was working in Apex 2.0. Any idea how to solve this issue.
    Thanks and Regards
    Juergen

    Juergen,
    I don't know why it worked in 2.0 but if you pass # as the item value in a URL without encoding it it will look like the start of a named anchor reference.
    Just another reason not to pass arbitrary character data in URLs; stick with numeric primary keys as much as possible.
    Scott

  • Passing values and calling PL/SQL process via a column link

    Hello all
    I have a report and a link on one of the columns which takes you to another page and passes data from the report to that page. That all works fine. In addition to picking up the details from the report I'd also like the link to call a page process before it goes to the next page using some of the values picked up from the report. This I can get to work by changing the link to a URL and putting in some javascript ie javascript:doSubmit('TEST_PROCESS'); By doing this I "lose" the ability to pass the info from the report via the link.
    Can anyone give me a clue as to how I can achieve both please? I'm assuming I'll need to create my own javascript function but I don't know how to pick up information from a row in a report to pass on.
    Regards
    Helen

    Lets say your link would pass 2 items P1_ITEM and P1_ITEM2 to your process. Just write a quick javascript function to do this and put it in the header:
    <script type="text/javascript">
    function doSomething(pValue1,pValue2){
      $s('P1_ITEM',pValue1);
      $s('P1_ITEM2',pValue2);
      doSubmit('TEST_PROCESS');
    </script>This will set 2 hidden items equal to whatever you pass in. Then you can use these in your after-submit process. To call this from your url, just make the url:
    javascript:doSomething(#COL1#,#COL2#);#COL1# and 2 being your report columns. This should do what you need i think

  • Setting items and branching to a different app via a report column link

    Hi,
    I'm figuring out how to branch to another application by using a URL redirect and contructing the target URL with items and item values to pass to the target app. So far, so good. But I'm now trying to branch to another app via a column link from a report form (I had previously branched to a page within the same app, but that page should really be another app, callable from several sources). Before, I had also set several items (in the calling app). Now, when I choose to re-direct to a URL, rather than a page in the current application, the item and value setting boxes get disabled. Is there a way to also set current page items (that are not being passed to the target app) at the time the link is redirected?
    Frank

    Frank,
    It's easy. Just type in the relative f?p URL along with the item names/item values, e.g., to redirect to app 200 page 20 from your app's page 1 passing P1_ITEMA and P1_ITEMB into similarly named items on page 20 type in:
    f?p=200:20:&APP_SESSION.::NO::P20_ITEMA,P20_ITEMB:&P1_ITEMA,&P1_ITEMB.
    Note that redirecting to another application may require the user to authenticate to that application. If that is your intent there is no need to include &APP_SESSION. in the link.
    Scott

  • Creating a column link and using a date/time field as one of the Items

    I have created an Interactive Report and set up a column link to another page. One of the Items in the column link is a Date field. When I click on the link I receive 'ORA-01403: no data found' for the linked page. In the Session attributes only DD-MON-YYYY HH24 passed and MI (minutes) was truncated... causing the error. I have created the same link on a Non-Interactive Report, DD-MON-YYYY HH24MI gets passed and the link works. Anyone have any clues on why the full date/time format is not being passed?
    The Item on the linked page has been set to Date Picker (DD-MON-YYYY HH24MI)
    Application Date Format is DD-MON-YYYY HH24:MI

    Hi,
    As David says colon is separator in URL for parameters.
    This is same kind of post about problem about comma. Values are separated by comma in URL. It might help you
    value truncation while printing page field in HTML
    Regards,
    Jari

  • Passing parameter from interactive report column link to new page

    I'm very simply trying to pass the value of the column link to the where clause on the next page.
    Interactive Report on P2 has column link fid alias in sql query.
    I read somewhere to refer prefix the interactive report column with IR ??
    So I have item name P2_FID, value #FID#. Anyway, I've tried a kazillion things.
    Created a hidden item with same source value... sigh.
    Is there a syntax to refer to a report column link, rather than an item_id in a region where clause?
    Is there a simple direct way to do this?
    Thanks,
    Pamela
    -----pls/apex/f?p=163:1:2746459963336955::NO::P2_FID:119

    Thank you Varad...
    Unfortunately, I am still getting no data found. (and there IS data).
    a) Do you mean in the link column section of the report attributes? that is done: item 1 name= IR_P2_FID, value = #FID#
    b) Do you mean my changing my hidden page item to ir_p2_fid with its source value as #FID# ? also done.
    Do I need this hidden item?, and if not how do I refer to link in the where clause of the called page's sql region?
    3) Where Fishery_id = :IR_P2_FID
    Where Fishery_id = &IR_P2_FID
    Thanks again!
    Pamela

  • Need to invoke a process from a column link and then redirect to a url

    Is it possible to invoke a process from a column link then redirect to a url
    I want to invoke a process that has a pl sql block of code which will do some table inserts and then redirect the user to an external url.
    Any help would be appreciated.

    Howdy Scott,
    I thought this might help me but I've got a dynamic form with apex_application.g_f01(i) items on it ie tabular form. How can I take the value of these arrays with me to the temporary page with the onload process?
    Thanks
    Gary

  • Item value in column link

    Hi,
    I have one interactive report that link to new page thru column link, and assign #COLUMN_NAME# to an ITEM on target page,
    another interactive report has a column link defined the same way and assign #COLUMN_NAME2# from TABLE2 to ITEM 2 on target page 2, after apply change,
    APEX change the #COLUMN_NAME2# in the "Column Link" section to &COLUMN_NAME2.
    when does APPEX assgin the value #COLUMN_NAME#? and when for &COLUMN_NAME2. ?
    Thanks

    problem fixed by changing column_name of table. APEX should isolate their variables from user variables ....
    I link a column to new page, the column_name happens to be #APP_ID#, which is same as an internal variable used by APEX, thus APEX always pass
    application id 101 to new page. (APEX changes the #APP_ID# to &APP_ID. after saved page.)

Maybe you are looking for