Column links in apex

hello,
I have a report in apex. the report shows first name, last name and telephone number.
I wish to add another column - a link to other page to change the telephone number. but I want the link to be shown only for people who alredy have phone number.
for example:
first name: last name: telephone: link:
Jon White
Bill Smith 11111 edit(as link)
I know how to add a column link, and I can write in the Link Text #telephone# but then the result will be:
first name: last name: telephone: link:
Jon White
Bill Smith 11111 11111(as link)
Do you know how can I do it?
(btw I use apex 2.1)

Try with a query like this.
select fist_name,
last_name,
telephone,
decode(telephone,NULL,' ','Edit') edit
from emp;
in the url: replace the page number (27) and the page items as you need.
Mario.
Edited by: mario1977 on Aug 15, 2012 3:05 PM

Similar Messages

  • Adding more Values to the Column Link in Apex

    Hi,
    Is there any possibility of adding extra or more values to the column link in Apex. I already have 3 Column Name and Values linked to a different report.
    Eg:-
    Column Link:
    Link Text : #COUNT#
    Name       Value
    DATE #DATE#
    PRICE #PRICE#
    COST #COST#
    I want to add one more Name like 'ID' and corresponding and Value #ID#.
    Please Help...
    Thanks in Advance..
    Edited by: user13561710 on Jan 10, 2011 9:20 AM
    Edited by: user13561710 on Jan 10, 2011 12:34 PM

    Thanks Varad,
    But it didn't worked, The page has option to link only 3 values.
    My Target is 'Page in this Application" not a URL.
    I used your format and if you apply changes and come back the whole thing is dissappeared and even the link to page in application is inactive.
    Is there any other way???
    Thanks
    Edited by: user13561710 on Jan 10, 2011 10:49 AM
    Edited by: user13561710 on Jan 10, 2011 12:35 PM

  • URGENT Printing a BI publisher report from a column link in APEX

    I am developing an APEX report with a column link that will call a BI publisher report, the case is the link column in the APEX report will pass the item number to the BI publisher query.
    At the moment this is what I am doing:
    1- Create a hidden item on top of page zero. (e.g. PARAM1_VALUE)
    2- Create a report query and a report layout (For BI Publisher) in the Shared Components. (e.g ITEM_REPORT)
    3- Include the state session in the report query and reference that item in the query. (e.g. SELECT * FROM items where item_number = :PARAM1_VALUE)
    4- Create an APEX report displaying orders with the item number as a link column.
    5- In the Link column I set the report URL request to be "PRINT_SERVER=ITEM_REPORT".
    6- In addition I set the PARAM1_VALUE to be #ITEM_NUMBER# on the link.
    When I press on the link the BI publisher report prints but it doesn't display anything except the Headers, my understanding is that PARAM1_VALUE is not set with the item_number value when I press on the link and thus the query returns no results as when I remove the condition from the query i can see the report printing.
    Please help as this is urgent

    I opened the session and it is there with a proper value, it appears that whenever I enable the inclusion of session state in my shared components query the query returns no rows even if I am not using the item in the query.
    So if my query is "SELECT * FROM items" it will display nothing, the only way to get the report data back is to untick the inclusion of the session state and remove any reference to the item from my query, then I will get the report with all my data (which is NOT what I am trying to do).
    Thanks alot
    Khaled Jamoos

  • Column Links in Apex Reports

    I am using version 4.0 of APEX.  My question concerns linking to other APEX pages from a report.  In APEX we link to another page, which may be a form or another report, by using a column in the report as a link column.  Any column may be used to transfer values from any other column.  This works fine, but the disadvantage is that whichever column is used as the link column has a heading which identifies the column's purpose but may not identify the purpose of the transition to another page.  In Oracle Forms, we could use buttons as a column of the multi-row screen (i.e. same as APEX report), and the button's label identified the purpose for the transition.
    Is there any way to create a column in an APEX report  to serve the same purpose as the button in Oracle Forms?

    Doug wrote:
    I am using version 4.0 of APEX.  My question concerns linking to other APEX pages from a report.  In APEX we link to another page, which may be a form or another report, by using a column in the report as a link column.  Any column may be used to transfer values from any other column.  This works fine, but the disadvantage is that whichever column is used as the link column has a heading which identifies the column's purpose but may not identify the purpose of the transition to another page.  In Oracle Forms, we could use buttons as a column of the multi-row screen (i.e. same as APEX report), and the button's label identified the purpose for the transition.
    Is there any way to create a column in an APEX report  to serve the same purpose as the button in Oracle Forms?
    When discussing "reports" it is essential to indicate whether this means a standard report or an interactive report in order to receive an appropriate response.
    It is possible to create a link column that is distinct from report data columns. In standard reports, this is done using the Add Column Link option from the Tasks menu in the right sidebar of the Report Attributes page. In interactive reports, define a Link Column on the Report Attributes page.
    To provide further information about links to users in both cases, specify an HTML title attribute for the link in the Link Attributes property of the link definition. This will be rendered as a tooltip when the cursor hovers over the link in visual browsers, and as an audio cue on navigation to the link when using a screen reader.

  • Call Javascript function to pass a id  from APEX report column link

    Hi,
    Can anyone help me, in a report column link i'm calling a function to pass an id and i want to onclick change a icon on that column based on the value on the column status of this table.
    Is this possible?

    Hi Ron,
    I am doing exaclty what you have suggested me but no luck. I started changing the DEMO_CUSTOMERS application to my requirements.The report is working fine and on the report I have created a page attribute to the Hyper linked column and linked that to the page 2 and assign that attribute with #JOBNUM#.
    I am able to pass that value on to form when I click on the JOBNUM. But the problem is I am not able to pass that value into the SQL query so that my query pulls 20+ columns on to the Form ( which is second page ).
    Small clarification... On the form region it is said FORM NAME and type is HTML is that is the way the APEX was designed or does it need to say region type as FORM.
    Thanks for your help in advance.
    Cheers,
    Krishna.

  • How to open a popup win within a PDF file (c:\test.pdf) as Column Link

    I have a interactive report based on a Table (EMP). I need to create a column link that opens a pdf file within the employee curricula
    All the curriculum are stored in a windows folder, and in the EMP table there is a field named PATH containing the full path name.
    Thxs,
    Giuseppe.

    Hello, Sebastian
    I've tested your suggestion and in effect it works.
    I think is good solution if the files are readonly (pdf, images, etc).
    In my case the files are updatable by the end user.
    Consider that I'm using the following configuration:
    APEX 4.0, DB 11.2.0.1 and EPG
    This means that:
    a. All the files need to be loaded in the XML_DB via PL/SQL or via WebDAV (let's say in... /i/mydocs)
    b. When the end user opens the file via the "Column link" this is read-only in the browser, to modify it, the end user need to save updated version in (/i/mydocs), replacing the existing ones, .. and this is a bit complicated .
    Any other suggestion will be appreciate.
    Regards,
    Giuseppe.

  • Submit Action and Redirect page in Tabular form Column Link

    Hi All,
    I have a scenario to submit the current page and redirect to another page with the arguments, when i clink on the link which is created using column link in Report Attributes.
    I can able to perform the submit action, but redirection is not happening.
    Created a column link on non database column by providing
    Link Attribute :     <a href="#" onclick="doSubmit('SAVE')">#FAM_DET#</a>
    Target : Page in this application
    Page : 7
    Item name : P7_TRAVEL_REQ_ID
    item Value: #TRAVEL_REQ_ID#
    Item name : P7_TRAVEL_REQ_LINE_ID
    item Value: #TRAVEL_REQ_LINE_ID#
    Can anyone help me out to resolve this.

    811598 wrote:
    Please update your forum profile with a real handle instead of "811598".
    When posting a question here, always include the following information:
    Full APEX version
    Full DB/version/edition/host OS
    Web server architecture (EPG, OHS or APEX listener/host OS)
    Browser(s) and version(s) used
    I have a scenario to submit the current page and redirect to another page with the arguments, when i clink on the link which is created using column link in Report Attributes.
    I can able to perform the submit action, but redirection is not happening.
    Created a column link on non database column by providing
    Link Attribute :     <a href="#" onclick="doSubmit('SAVE')">#FAM_DET#</a>
    Target : Page in this application
    Page : 7
    Item name : P7_TRAVEL_REQ_ID
    item Value: #TRAVEL_REQ_ID#
    Item name : P7_TRAVEL_REQ_LINE_ID
    item Value: #TRAVEL_REQ_LINE_ID#
    Remove the link attribute (what you have used there is not the correct way to use this property anyway).
    Change the target page to the same page as the report.
    Set the Column Link Request property to BRANCH_TO_PAGE_ACCEPT|SAVE.
    Create an On Submit: After Processing (After Computation, Validation, and Processing) branch to page 7, conditional on the SAVE request.
    If the SAVE request can be triggered by something other than the report link (e.g. a Save button) then use another request value that will trigger the required page process in the link request and branch condition, e.g. BRANCH_TO_PAGE_ACCEPT|APPLY and APPLY respectively.
    Note that there is a bug in BRANCH_TO_PAGE_ACCEPT processing in APEX 4.2.3 and a patchset exception must be installed for this approach to work on this APEX release.

  • 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

  • No data found when adding column link to classic report

    Hi,
    Oracle 11g r2, APEX 4.1.1.00.23.
    I have some classic reports.
    I go to Report Attributes, then I click Add Column Link in the "Tasks" right menu, it adds me a column link, I just add some text for the link and a page to go to.
    Then I run the report and I get :
    report error:
    ORA-01403: no data foundTested with several classic reports on multiple pages.
    Debug mode shows me :
    0.43816     0.00240     ...Execute Statement: select distinct [...] order by 3,11 ,4
    0.44056     0.00162     print column headings
    0.44218     0.04816     rows loop: 25 row(s)
    0.49037     0.00141     report error: ORA-01403: aucune donnée trouvée
    0.49175     0.00078     Computation point: After Box BodyWhen I run the query in my favorite tool, I get expected results.
    Did I missed something ?
    Thank you.
    Yann.

    Yann39 wrote:
    <font size="4">Is it an APEX bug ?</font>
    - Create a new Region of type Classic Report, then set Region source as :
    begin
    return test_return_query;
    end;- Run the page, the report works as expected
    - Go to Report Attributes and click Add Column Link (and just specify a text for the link and a page to go to).
    - Run the page, you should get the error !This might be unorthodox but try wrapping your returned query within an SQL statement, like so:
       begin
          return 'SELECT t.* FROM ('||test_return_query||') t';
       end;
    I can reproduce it on oracle.apex.com if needed...If my suggestion doesn't work, I think this might be the only option. You could create a new forum posting with the word "BUG" in the title, along with a link to this thread and the relevant workspace details (with guest developer credentials).

  • Interactive report, conditional display of column link

    Hello,
    We have requirement to disable editing in case that status of field is 1 (1=Closed).
    Is there any way to disable it on interactive report.
    case when status=1 column link should be disabled (not visible) in order to prevent future edits on payroll.
    SELECT payroll_no, status
    FROM hr_payroll
    ORDER BY payroll_no DESC;
    I tried link below, but it's not working in my case.
    http://nerd.net.au/24-apex-application-express/report-layout/92-conditionally-show-report-link-column-based-on-value-of-…
    Oracle Database 11g Express Edition Release 11.2.0.2.0 - Production
    Application Express 4.2.2.00.11
    Thank you in advance,
    Regards, FM

    CASE WHEN status = 'ACTIVE' then
    <a href="f?p=&APP_ID.:60:&SESSION.::&DEBUG.::P60_EMPLOYEE_ID:'||employee_id||'"> </span><br /><span class="Moobi_Code"><img src="#WORKSPACE_IMAGES#deactivate_button.png"></a>'</span><br /><span class="Moobi_Code">ELSE NULL END deactivate_employee,
    from
    EMPLOYEES
    What exactly is the error you get? What HTML is showing in the HTML source?
    Just by looking at this I would say you need to remove the "/" in front of the f?p
    Keep in mind this way could cause problems if you start to use checksum, then you might want to look into using APEX_UTIL.PREPARE_URL to create your URL.

  • 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

  • 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

  • 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

  • How do you pass a column link value into modal dialog

    Hi everyone,
    I've got quite a tricky problem...To spell it out:
    1. I have a calendar with column links.
    2. I have a (popup) report on a separate page that shows detailed information about the record selected in 1.
    3. To eliminate the extra page, I've moved the report region to the calendar page, and created a modal dialog to display the report.
    Here's my dilemma, how do I 'get' the value of the column link (when clicked) so that I can use it when calling the modal report?
    (APEX 4.0)
    Thanks!

    True Andy.
    Combining the two examples then:
    function openModal(pVal1,pVal2)
    var l_Return = null;
    var get = new htmldb_Get(null, $x('pFlowId').value, 'APPLICATION_PROCESS=DUMMY', 14);
    get.add('P14_REPORT_FILTER1', pVal1); // set up page items to receive value
    get.add('P14_REPORT_FILTER2',pval2);
    gReturn = get.get(''); // Calls dummy process to set session state
    var tab = $('#REGION_STATIC_ID'); // grabs the region static id
    var report_id_str=$("div[id^=report_]", tab).attr("id"); // finds the 'report_'
    var report_id=report_id_str.match(/\d+/)[0]; // gets just the numeric id
    $a_report(report_id, '1', '15', '15'); // refreshes the report
    // Call to show modal here
    } You'll need to sub REGION_STATIC_ID for your region_static ID and make sure that it exists in the template.
    You could also just sub out the three lines between gReturn and $a_report with the hardcoded value of the region ID like:
    var report_id='R6974536412746853317'.substring(1);
    but if you and your region numbers change (if you import your app into a different app_id) then you'd have to go back and fix these.
    HTH, Thanks Andy for making me READ (not SCAN) the actual post :)

  • Execute a DML process after user selects a column link in a report

    APEX 3.2 / RDBMS 10GR2
    I have written a non IRR report that displays several rows of data. The first column of each row has a defined column link uniquely identifying the row. When a user selects one of the rows via the column link, a "hi fidelity" report is generated for that displayed row using a (RTF) report layout created in the shared components section of APEX.
    This is working well but I also need to execute a DML process after the user selects a row but prior to displaying the hi fidelity report using the selected column link value of the displayed row.
    As a URL is used to call hi fidelity report via the column link, it does not appear that the process section of the APEX page component is available to execute the DML prior to displaying the report.
    Any ideas on where to define the DML process?
    Thanks in advance.
    Barry D

    Hi Barry,
    Not knowing exactly what your URL calls, this is what I do for PL/SQL procedures that create HTML output:
    Create a blank page with no template and call the procedure inside a PL/SQL region with no template.
    Alternatively, if your URL opens in a new window:
    run some javascript for your link and pass a unique request through.
    The javascript needs to find the ApEx form, update it's target attribute and submit it with the unique request, then set the target back to blank.
    The form will submit into a new window.
    You can then have a process and branch allocated to this unique request to do what you want.
    Hope this helps
    Regards
    Michael

Maybe you are looking for

  • Receding US Economy and Effect on IT

    American Economy is in recession. It is a cyclic phenomenon. In the past the dot(.)com burst had severe effect on the IT industry. And it is in the recent years only that IT has picked up. The US recession is definitely going to affect the IT Industr

  • Type_1099 error after submitting supplier open interface import

    Hi, I am working on supplier Importing Interface. I have to import suppliers, and supplier site information into base tables. I successfully loaded the data into AP_SUPPLIER_INT and AP_SUPPLIER_SITE_INT interface tables. After submitting 'SUPPLIER OP

  • How can I stop iOS3 iPod Touch v1 apps being removed when iTunes updates apps with iOS4   apps

    I have an iPhone 4 with iOS5 whilst my old iPod Touch Mk1 still runs on iOS3. My old iPod now rests in the handbag of my wife who will use the installed apps if she is near a wifi she can use. There is however an increasing problem in that wheras it

  • "Save As" dialog is popped up on clicking on JNLP link on 2003 server.

    Hi, When I click on JNLP link on the web page on Windows 2003 server then I am getting one windows dialog forcing me to save the jnlp file on the disk. When I click on JNLP link on the web page on any other windows machine (XP or 2000) then it automa

  • Iweb rss feed not working

    I published my website (www.nigelreblochon.com) to a folder, then uploaded (using cyberduck) to my webhost. For it to work properly there, I had to remove all items from the folder iWeb created for my site (lets call the folder nigel). The site works