How to create a custom interactive report link?

Hello
I would like to add a personal link in a view of an interactive link details. But the build-in method of creation of link doesn't work in the detail view. So I tried:
------------------------------------------------------
Select
THREAD_ID,
colume2,
colume3,
+....,+
+'a href = "f? p = 103:118: & APP_SESSION.:NO:P118_THREAD_ID: #THREAD_ID #"" > < img src = "" | ('P111_PHOTO', g.PHOTO_ID) apex_util.get_blob_file_src |' "height ="75"/ > < / has > '"LINK_IMG"+ (I relish the first symbol on this line, because it can not display properly)
Of...
where the...
---------------------------------------------
It can be linked to the Page 118, but cannot pass the colume THREAD_ID value to P118_THREAD... So I try to instand ' #THREAD_ID # ' with ' & THREAD_ID. ' or 'THREAD_ID', each of them may not pass the value

Who can help me?

Published by: Wei Geng on July 7, 2010 18:06

Published by: Wei Geng on July 7, 2010 18:08

Published by: Wei Geng on July 7, 2010 18:11

Wei,

If you look at how we have implemented this feature in the sample Application - products {Page 3}, you will see that the SQL query is:
' f ? p ='|| : app_id | » : 6 :'|| : app_session |': P6_PRODUCT_ID :'|| p.product_id icon_link,

We use that in the detail view:
{a href = "#ICON_LINK #"} #PRODUCT_NAME # {a}

You just add to the underlying value of the table directly (using 'f? p = 103:118: & APP_SESSION. : NO::P118_THREAD_ID :'|| thread_id |' ") don't try and refer to the value of the report (using #THREAD_ID #)

Kind regards
David

Published by: dpeake on July 7, 2010 20:55

Published by: dpeake on July 7, 2010 20:56

Published by: dpeake on July 7, 2010 20:58

Tags: Database

Similar Questions

  • How to create 2 or 3 URL links in a jpeg file?

    How to create 2 or 3 URL links in a jpeg file?

    Use photoshop?

    Thank you

    Images cannot contain links. All this is done in the source code of the web page, for example using image maps, interactive, SVG or JavaScripts which follow coordinates and react accordingly. You must use a tool like Muse or Dreamweaver web creation to produce these things, but since you seem to be a perfect beginner, I strongly urge you to read at least on a few things the language HTML, CSS basics and how web ticks in general or you will for always lost.

    Mylenium

  • Slate: How to create a custom theme?

    How to create a custom theme in Slate? I am trying to create one, this way others in my marketing team can use to produce their publications.

    Please post in the forum users Adobe_Slate for assistance with this.

  • How to create dynamic action of the link column in the classic report

    I have an apex page to display a modal window using jquery. In the modal window, I have a classic report with a column of link I want to capture its click event.
    I thought I could create a dynamic action with selection of type = jquery selector. Not sure if I need to do anything on the link column and do not know the syntax
    jquery selector. Would appreciate help or direction?

    Always zip code using .

    ...\
    

    tags as described in the FAQ.

    I created a region of report with the following query:

    Select empno, ename, 'SELECT' from emp
    where (ename like '%'||ltrim(rtrim(:P2_SEARCHPU))||'%'
    or :P2_SEARCHPU is null)
    

    There is no alias specified for the "SELECT" column, Oracle uses so the content of the column as a default alias. It comes

    'SELECT'
    

    Instead of

    SELECT
    

    The necessary jQuery selector would be:

    td[headers="\'SELECT\'"] a
    

    However the need to release the single quote everywhere is a ticking time bug. SELECT an Oracle reserved word means use it as any type of identifier is either too smart.

    You should always use a valid Oracle identifier as an alias explicit when a column contains a literal value or a complex expression:

    select
        empno
      , ename
      , 'SELECT' link_text
    from
        emp
    where
        (  ename like '%'||ltrim(rtrim(:P2_SEARCHPU))||'%'
         or :P2_SEARCHPU is null)
    

    APEX will use the column alias LINK_TEXT as the ID attribute of the column header and the cells in the column will reference it in their headersattributes. The jQuery selector is:

    td[headers="LINK_TEXT"] a
    
  • Create null values in the database for interactive report link column values

    Hello

    I'm pretty new to APEX and tries to create an interactive report with the form. This report examines essentially for more information for a particular employee. If the employee has any information in the table, the report presents information with a button change beside him. If there is no record in the table for this employee, a create button appears. Now when you click create, a new creation page. This page contains the employee number as a single display field with the value from the previous page. This value is displayed in the page, but it is not in the database. Create the page has view-only number and a couple of other columns. The other columns get inserted into the table with an empty number!

    Can someone please? Looks like the page keeps the value zero for the number of the employee who came during the search of the interactive report. Hope I made myself clear, being the newbie hope I haven't used any incorrect terminology.

    Thank you!
    Robet

    Without the DB column, apex will not determine which DB column the data in this field are mapped to (it would be quite impossible to guess the destination since the name of the element column).

    If you want to assign to the previous element of the page, use the default section

    return: P1_EMP_NUM

    By default the value Type: body of the PLSQL function

    and configure the attributes of source as I said before

  • Access to a report using a custom interactive report template

    Greetings:

    I've created an interactive report with a link to a column that is supposed to have access to another report on another pop up page that is based on a custom template. The problem is, when you create the link, I select 'Page in the present application' means the page number of the report, but when I try to pick a name, any name point wouldn't come to the lov from the report that I am tying. What I'm missing here?

    The two reports have access to the same table. The interactive report is your standard of several line, while the other custom template report shows only one line, in a format of Memo style.

    Thank you
    Stan

    Published by: bondurs on February 25, 2009 13:48

    Hey Stan,

    your report popup page contains page elements? Because you can set page elements in a report link. In your SQL report, you use the page element in the WHERE clause to limit the output to the selected value.

    Hope that helps
    Patrick

  • HOW TO CREATE NETWORK SERVER AND A LINK TO ALL CLIENT PC

    HI, can someone help me?.

    I just bought a small company of Internet Café of my friend, but the existing server is not link to all PCs customer due to the incomplete server installation of the former owner of the cybercafe.

    Therefore, I would much appreciate and thank you in advance if someone out there that really expert in server side of give me some complete tutorial step by step on how to delete existing customer's server and create a new...

    Window xp

    SERVER D-LINK

    Thank you best regards &,.

    Roy.

    Windows Server forums would be a better place to ask for help

    https://social.technet.Microsoft.com/forums/WindowsServer/en-us/home?category=WindowsServer

    However, they are not an appropriate vehicle to form a perfect beginner. However, they should be able to point in the right direction.

  • How to create a dynamic RTF report that creates dynamic columns based on the selection of dynamic columns in a table?

    Hi all

    Suppose I have table, whose structure changes frequently on a daily basis.

    For example. / / desc my_table gives you after the name of the column the day 1

    SQL > my_table DESC;

    Output

    Name

    Age

    Phone


    Day 2, two other columns are added, viz, address and salary.

    SQL > my_table DESC;

    Output

    Name

    Age

    Phone

    Address

    Salary


    Now, I want to create a Dynnamic RTF report which made extracting data from all columns from my_table daily. For this, I have defined a simultaneous program with XML output type and include in annex a data/definition of data model that takes XML as input and gives the final result of the conc program in EXCEL layout. I am able to do that for a constant number of columns, but don't know how to do it when the number of columns to display dynamically changes.

    For 1 day my XML file should be like this.

    <?xml version="1.0" encoding="UTF-8"?>
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    SELECT Name
    ,Age
    ,Phone
    FROM my_table
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_my_table" source="Q2">
      <element name="Name" value="Name" />
      <element name="Age" value="Age" />
      <element name="Phone" value="Phone" />
    </group>
    </dataStructure>
    </dataTemplate>
    
    

    And my day 1, EXCEL output RTF model should be like this.
    Name age phone

    Swapnill 23 12345

    For 2 days my XML file should be like this. With 2 new columns selected in the SELECT clause.

    <?xml version="1.0" encoding="UTF-8"?>
    <dataTemplate name="XYZ" description="iExpenses Report" Version="1.0">
    <dataQuery>
    <sqlStatement name="Q2">
    <![CDATA[
    SELECT Name
    ,Age
    ,Phone
    ,Address
    ,Salary
    FROM my_table
    ]]>
    </sqlStatement>
    </dataQuery>
    <dataStructure>
    <group name="G_my_table" source="Q2">
      <element name="Name" value="Name" />
      <element name="Age" value="Age" />
      <element name="Phone" value="Phone" />
      <element name="Address" value="Address" />
      <element name="Salary" value="Salary" />
    </group>
    </dataStructure>
    </dataTemplate>
    
    

    And my day 2, exit EXCEL model RTF should be like this.
    Name address telephone pay

    23 12345 Madrid 100000 Swapnill

    Now, I don't know below things.

    • Make the dynamic XML as we did in the day 1 there are 3 columns in the SELECT statement and the day 2, 5 columns. I want to create a dynamic XML which must not be changed if the new columns are added into my_table. I don't know how to create this query and also create their corresponding items below.
    • Make the RTF model dyanamic as day 1 there are 3 exit EXCEL columns and the day 2, 5 columns. I want to create a dynamic RTF model that would display all the columns selected in XML dynamic. I don't know how the RTF will create new XML tags and how it will know where to place them in the report. Means, I can create model RTF day 1, by loading the XML data for 3 columns and place 3 tags XML in the model. But how he will create and place the tags for the new columns the day 2?

    Hope so, you got my requirement, it's difficult. Please let me know how I can implement the necessary solution using the RTF dynamically without any manual intervention.

    Kind regards

    Patricia K.

    Post edited by: SwapnilK

    Hi guys,.

    I was able to solve above the requirement.

    I created a procedure that would create & update (attached to the data definition) XML file dynamically for each race. This dynamic XML contains the SQL statement for the data query that is built dynamically. I am updating this XML file using XDOLoader utility to the definition of data. Then run my program customized to generate the excel output.

    Exit excel retrieves correct number of columns dynamically (3 on Day1 and Day2 5), with corresponding data records.

    Kind regards

    Patricia K.

  • Help - how to color columns in interactive reports

    Hello

    How color of the columns in an interactive report?

    I created a solution to help students to explore thousands of courses in England - with the results in an interactive report:

    https://production001-demandanalysis.DB.EM1.oraclecloudapps.com/Apex/f?p=20300118:1

    (For results, interactive report, click on a topic and then choose a topic from the cloud of course).

    What I want to achieve is the colouring of columns - as stated - but by programming - without the user being able to see all the highlights that I had to enter to achieve this.

    Any help much appreciated.

    Steve

    Version 4.2.2 apex

    Hello

    If I understand the requirement, you can add inline styles to CSS page.

    Here is an example to highlight your report example first two columns

    table.apexir_WORKSHEET_DATA td[headers="TITLE"] ,table.apexir_WORKSHEET_DATA td[headers="INST_NAME"]{
        background-color: #4699EB !important;
    }
    

    Kind regards
    Jari

  • How to create a menu of reports in APEX

    Dear Sir
    I want to create a menu of reports, so that the user click on the report name to view the report. I save all the reports in a database table and display interactive report on the home page.
    How can I bind the relevant reports to each row of the table
    kindly help me to achieve the functionality

    Hello

    Process of creation of list as follows *.

    You must follow these steps in the wizard to create a list,

    1. go in the shared components of your application.
    2. by navigation, click on the menu lists.
    3. click the Create button which would be available in this page.
    4. Select the Option 'From Scratch' and click Next.
    5. enter a name for the list, select dynamic as the type of list, you can choose any list template and compiler options too. Click Next.
    6. write the SQL query to dynamically generate the list, you can look in my example to get more clarity on the same with denunciations of target too. Click Next.
    7. click the Create button to complete creation of list.

    Now, the list has been created in the components of shred.

    Then you create a page from scratch in your application, this can be done by clicking on the button to create in your application and choose the type of page to Page zero. You think about the functionality of zero order page, otherwise please try to go through some documents and learn it.

    In the zero page, please follow the steps below.

    1. create a new region.
    2. choose the type of region as a list.
    3 give the title to the region and click Next.
    4. in the list, the above created list name will be available, choose and click on create the region from the list.

    As we have created it in the page from scratch, it will be available in the full application.

    Go to the Pages of the report,

    Page 5 - used

    Change the region of interactive to display in the column 2 reports.

    Page 6 - Department

    Change the region of interactive to display in the column 2 reports.

    Now run the application. It works very well.

    Kind regards
    Santini.

  • How to stop a named interactive report deletion?

    Hello

    I've created an interactive report with these attributes.

    Before I disabled all the interactive options, I created a default report and a report name.

    The report named can be deleted by the user by clicking on the button highlighted by a red circle in the picture.

    Issues related to the:
    1. How can I prevent the user from being able to delete the named report?
    2. can I rename the default report (from "work report" to "Basic report")?

    Thank you

    Gabor

    Gabor,

    Yes, you can save by default public or other report to share with others in APEX 4.0. Cannot remove these reports by third parties, unless you are the owner of the developer (default alternative) or public (report). You cannot rename the main report in 4.0 by default either. If you use 4.0, the saved report displays much in the selection list, rather than in tabs.

    Kind regards
    Christina

  • Interactive report link column OF GURUS HELP requested

    Hello

    I have an interactive report data that return a name of an image file. I would use the link column (link to the custom target) option. My underlying query column has the name of the file image #ILINK #.

    The target URL is properly trained using the variable http://myserver.mycompany.com/cgi-bin/oracle/img.cgi?img_file=#ILINK#;size=full #ILINK # bind

    However, for the link icon (which is what I wanted to be a miniature dynamic of the linked image). The variable binding #ILINK # is not read. Is it because the link icon can be determined dynamically and must always be the same image?

    I can get this to work as a regular report using HTML expression, but I really want to harness the power of an interactive report.

    Thank you

    Hello

    in this case, you could build the necessary html tags in your SELECT statement, like this:

    SELECT EMPNO
         , ENAME
         , ''||ENAME||'' AS ENAME_LINK
      FROM EMP
    ;
    

    brgds,
    Peter

    Blog: http://www.oracle-and-apex.com

  • How to create a custom data type

    Hello

    I'm using Labview 2009 and I am trying to create a custom data type and link it to the global variable that will be deployed in cRIO 9073. I couldn't find a method to achieve this. Please suggest a way to do this.

    Thank you

    Guilhem

    Right-click on a control and go to advanced-> customize.  This will open the control editor.  Change the type of a control to a Type def.  Customize if necessary and save the control.

  • How to create a custom control for a button where the look apply to everyone else but not the Boolean text?

    Hi all

    I would like to create a button custom as a master, so that if I change the look of the master all other buttons are changed.

    I did it with a custom control, such as a 'type strict def' otherwise the look will change , BUT if I do this as a strict type def I can't change the Boolean text more which should be different on each button.

    How to create a master control of a button where the look apply to everyone else but not the Boolean text?

    Steve Chandler wrote:

    I don't think that you can do. I just looked and as I suspected the Boolean property text is read only for strict typedefs, you cannot use the nodes property to change the text.

    As a just solution make it a typedef. When you want to change the open look the typedef and strict rendering, make your changes, then make no strict again. You will need to update the text Boolean yet once for all instances. Kind of pain. This is perhaps something for the exchange of ideas.

    Alternatively, remove Boolean text and replace with legend

  • BB10: How to create a custom Menu

    Hello world

    I need to create a custom menu for BB10. That's how I want (see the two screenshos):

    • It must be a bar at the top of the screen. Just like a BB10 'Title Bar', it should have a title. But he must also have two buttons: one on the left of the bar and the other on the right of the bar.
    • When you press the left button, a custom tab menu appears to the left of the screen. It also has a title and a menu with icons and images/background color list.

    I don't know if it's possible to do that yet, but I heard that you can do this by using "Custom Control"s. I tried with "Glass in", "Application Menu", "Menu", "Action Menu" and 'Title Bar' but I think that none of them responds to what I need.

    Any idea?

     

    Thank you very much.

    Hello!

    I think that this is possible, but requires coding.

    Create the menu in a container offscreen, layout of the container the DispositionAbsolue value (you can specify x & y) and drag the container into the visible area with animation.

    Create title bar as a container with two ImageButtons and a label. Slide the container to the right.

    Or even use one container for menu and title bar, just create half of the items off the screen.

    When the positioning of the controls, you can use the device resolution in order to avoid hard-coding the values:

    DisplayInfo display;
    int displayWidth = display.pixelSize().width();
    

    Animations are created by combining the ParallelAnimation, the SequentialAnimation and the different transitions.

Maybe you are looking for

  • Computer HP laptop-15-ac040ne: problem

    Please help me. In Device Manager / other devices... There's a yellow exclamation mark for PCI Simple Communication controller. Which driver I'm missing to install? Please help me. My laptop is a HP for laptop-15-ac040ne computer running Windows 7 64

  • Problem XP computer was crashing and getting not response

    Just my parents have a tower XP, they got a certain number of years and have installed avast. During the last 6 months, according to my parents, the computer has been crashing. After investigation, I found that the symptoms were the taskbar (thin off

  • Download XP

    I have Vista and hate it, I lost the disc for my XP but have the key can I download XP Web and use the key I have for the disc

  • After you install Windows Vista, the maximum capacity of the hard disk reduced 80.0 GB to 3 GB

    Original title: reinstallment recent Windows vista has me to the maximum capacity of my hard disk (80.0 gb) why? __ I recentlyreinstalled my windows vista, everything seemed to look and will work perfectly, so I decided to see how much space was left

  • Access to the Internet through a router

    I have two computers using a cable moden via a Linksys BEFSR41 wired router. I can usually access the Net on both at the same time, but lately, I can access it on one but not the other. I tried to pull the plug on trhe modem and the router, but no he