Colon in link with the interactive report

Hello

I have two interactive reports which are connected by link column on one of the columns, the problem is that some of the values contains a colon

for example, the value is ABC: 123 , but the linked report a value = 'ABC' is generated in the filter

So I can see there are many sons and based on those I can escape the string using APEX_UTIL. URL_ENCODE so now I get Value = 'ABC % 3 A 123' in the filter that is still nothing.

So I think on the interactive report, I need to somehow convert the return value on the page so the interactive report can deal with it, but I don't see how to do this and I can not find all threads that deal with these.

I don't want to use an element on the page to filter the report the report is sometimes access directly and it would act/look different to other pages where we have it but don't have the problem that these values have no settlers. I can't remove the colon as they come from an external source.

We use the apex 4.1

Any ideas?

WOWL wrote:

This isn't the real value, but I think that its close enough for users, if I were to create a dynamic of any idea action that she could do as my knowledge of dynamic action is limited.

Create dynamic Action to replace "_" with ":" when the IR is updated:

When

Event: After refresh
Selection type: Region
Region: IR / / whatever your area

Real Actions

Action: Run the JavaScript Code
Fire on Page load: Yes

// Change 'Colon Val' in selector to heading of colon-containing column
$("#apexir_CONTROL_PANEL_COMPLETE .fielddata a:contains('Colon Val like')")
  .each(function () {
    $(this).text($(this).text().replace('_', ':'));
  }
);

Tags: Database

Similar Questions

  • How to remove the link to the interactive report columns!

    Hi all

    I'm building an interactive report based on pl/sql block.

    In the report, I get the columnnames with link (underlined). I'm confuse when I have the chance to see the names of columns like AGE_SEX, AGE_SEX_

    When I see these columns of interactive report, it seems to be as same as the underline covers underscore.

    Is their anyway I can remove the link to the interactive report columns.


    I selected the link column exclude from the column heading in the report but still attack link gets the link in the column.

    Appreciate your help.

    Thank you/kumar

    Published by: kumar73 on May 5, 2010 14:32

    Hello

    Try the place for HTML page header

    
    

    Hope that I did not understand what you are trying

    BR, Jari

  • link to the interactive report with filter

    I tried to put in place a link to an interactive report in passing along a filter setting using the method described in the user guide. I've tried everything I can think of to make it work, but the report always ends by displaying as unfiltered. I don't get any errors, I don't see any filtering. I tried to directly modify the URL and adding the filter data (that is, add IREQ_ParentSeqID:2 to the URL) and I also tried to pass the filter data by creating a branch from another page and have the branch collar data. In both cases, I was unable to make it work. When I create the filter directly in the report, it works fine. Here is a sample
    URL: / f? p123:1302:3440331697632217:no:IREQ_ParentSeqD:2

    The URL takes me to the correct page but no filtering occurs. Here is the definition of the column in the interactive report:
    Column name: ParentSeqID
    Column type: NUMBER

    I'm under APEX version 3.2.0.00.27

    Dale,
    What happens if you remove the EQUALIZATION of the setting? Theoretically, it shouldn't matter, but I always send my equals as just IR_COLUMN and it works fine.

    You can try f? p = 123:1302:1023072115021841:NO:IR_ParentSeqID:25

    and see if that makes a difference? Just a shot in the water.

    If this does not work, try to delete the alias for the moment and sending the column full name and see if that makes a difference. I wonder if its because your alias is in a specific case (per the "")

  • Link to the interactive report with filters

    I want to put a link to a page that contains an interactive report. But the link must set up a filter for the interactive report.

    For example, if I am looking at a customer, I want a link that sends me the reports, but filtered to show only this customer already.

    Is it possible to do?

    Thank you

    Published by: user1415525 on September 21, 2009 07:34

    Hello

    Set a parameter Anthony to ##.

    Example: Set IR_ORDER_ID to #ORDER_ID #.
    or for you
    Set IR_CUSTOMER_ID to #CUSTOMER_ID #.

    (Of course you must change the column names)

    Greetings,
    Roel

    http://roelhartman.blogspot.com/

  • Link to the interactive report with comma

    Hello

    Anyone know how to create a link that will go to an interactive report and add a filter when the filter value contains a comma?

    The URL I have looks like this...
    f? p = & APP_ID.:40: & APP_SESSION.:CIR:IREQ_Name:Guy, some:

    The problem is considers the value past the comma is for another article. I tried %2C with no luck.

    Kind regards
    Dan

    http://danielmcghan.us
    http://sourceforge.NET/projects/tapigen

    With javaScript, you need to escape the backslashes. Put two slashes return each place that you are currently using one.

    Scott

  • Filter delete automatically the interactive report

    Hello world

    We are seeing the question in the filter APEX. I applied the action filter-> filter. the filter is applied as expected. then we are navigate current page to another new page. When we return to the old filter page, we are not able to get the filter.

    For example: we have the "amount" column I applied a quantity of filter > filter 0 on page 1, then page 2 accessing we. When we return to page 1 we are not able to find the amount > 0 filter

    Let me know how to solve this problem.

    Kind regards

    Sushant

    Hi LnTInfotech,

    LnTInfotech wrote:

    Hi Sunil,

    Thanks for your information, but in my case, we do not save the default (primary) report. We have to got to page 1 to page 2 with any filter and return back to page 1 need to show the same filter.

    Kind regards

    Sushant

    Are you compensation/reactivate the interactive link (button, breadcrumb) report? Reference: a link to the interactive reports

    As clearing (CIR) /resetting (IRB) interactive report leads to clear the filters applied to the interactive report in the session active.

    Note: Filters / other attributes of the action menu applied to the interactive report are specific session, user may choose to save it as a saved report interactive and developer can choose to save as the main report.

    For more information about interactive reports see the Oracle APEX documentation and tutorials available on Oracle Learning Library like this:

    http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/Apex/R40/apexirr/apexirradv/apexirradv_ll.htm

    I hope this helps!

    Kind regards

    Kiran

  • Open the interactive report document

    Version of application Express 4.0.2.00.07.
    In the apex, I'm trying to accomplish the following:

    1. create a link to a pdf or a Word document stored on the local network using the browse file button.
    2 keep the link to this file in my table, but do not store the document in the oracle table.
    3 open the document link to the interactive report.


    My dba does not store documents more in oracle because of performance problems we live with current applications that do this. No one knows where to find example code that will accomplish this task or load the document linked in the oracle table, but remove the document from the BLOB when the document is closed.

    You are probably looking to use BFILE - a pointer to a LOB on the file system.

    Try looking at some of the following sources for orientation
    http://docs.Oracle.com/CD/B10501_01/AppDev.920/a96591/adl12bfl.htm
    APEX BFILE
    http://monkeyonoracle.blogspot.com.au/2009/10/storing-images-outside-Oracle-XE-with.html

    Scott

  • Excel not downloaded in the same order as on the interactive report

    I have download to Excel on the interactive report, it is not sorted in the same way? Can I fix this?

    Hi Doug,.

    Could be a quick solution to this solution, you can have a download link on the header of the report area and that it points to a page that contains the same report with the csv model.

    Download CSV Report 
    
    where 3 is the page number for csv output report.
    *replace click by onclick
    

    or if you want more control over the report, you can create a button on the interactive report region and at the click of the button run a process to download a csv output file.

    Put dummy code for creating csv file

    DECLARE
    CURSOR cEmp IS
    SELECT
         Eno,Ename,SAL,DEPT
    FROM emp_table ORDER BY 1 DESC, 2 DESC,4;
    BEGIN
         owa_util.mime_header('application/octet', FALSE );
            htp.p('Content-Disposition: attachment; filename="Employee.csv"');
            owa_util.http_header_close;
    --Printer Header Row
         htp.p('Employee '  || ',' || 'Name'   || ',' || 'Salary'  || ','|| 'Department' ||  chr(13));
    for cThis in cEmp
    LOOP
              htp.p( '"'|| cThis.eno ||'"'||   ','|| '"'|| cThis.ename   || '"'|| ',' || cThis.sal||  ','|| '"'|| cThis.dept  || '"' || chr(13));
        END LOOP;
    htmldb_application.g_unrecoverable_error := true;
    EXCEPTION
              WHEN OTHERS THEN
                   htp.p('Download Error ' || SQLERRM || ' with error code ' || SQLCODE);
    END;
    

    Also, you can disable the download report link in the interactive report menu by going to reports-> Search bar attribute->, under include in the Actions Menu: uncheck the download option.

    I hope this helps.

    Thank you
    Manish

  • How to display data in the interactive report without colon (:)) column

    Dear gurus of the Apex,

    I am a beginner and you just create an application for the Apex of a worksheet. I created a list of named values and used in a box against a field in the page creation form default 3.

    When I selected several values in my box on the form, the data in the interactive report appear as a single line with a colon separating the values selected as follows: dog: Cat: bird

    What I would like is to have the data appear in the interactive report in a list like this multiline column:

    Dog
    CAT
    Bird

    I can work around this problem by modifying the SQL code in the Source region of the definition of the area of the report (interactive 1 Page by default) to replace the semicolon by < br >

    SELECT replace ("PETS_CHOSEN", ":","< br / > ')"PETS_CHOSEN", OF"MYAPP"Note: this is not format correctly in the display. I have replace the colon with a html br

    This works, but there seems to be a hack to me. I guess I missed an option simple setting somewhere, but I can't.

    The other problem with this solution is that when I export the report to Excel, that ship's dog < br > cat < br > Bird, which is seems worse than the colon.

    Thank you

    -Morgan

    Published by: mnrussel on February 16, 2009 04:13

    Hi Morgan,.

    I think you have at least two possibilities:

    1. replace the colon with "," (comma and space) - kind of reasonable on the screen and export

    2 create a second page that has the same report but use it "export: csv" model. Create a manual link to this page to replace the standard export binding. When these pages of the report are requested, they download immediately instead of display. So you can use commas in this one and < br > tags in the report to the screen version

    Andy

    ch - to display the tags in a post, use and lt; for < and & gt; for >

  • link to an interactive report AND apply the filter for 2 items.

    Hi can you help me out here on how to create a link to an interactive report AND apply the filter for 2 items.

    Here is my code

    I have a list of table, clicking the selected item should link to interactive report and create the filter. Below the code does not work for a filter. can you help me what to do with 2 filters.

    A filter = > works very well

    sys. HTP.p ("< ul class =" uChartList"> ');

    sys. HTP.p ("< class li =" uNumber uGrid col_2 col_sart"> ');

    sys. HTP.p ("< a href =" "|") sys. HTF.escape_sc ('f? p ='|: APP_ID |': 0 0 :'||: APP_SESSION |':00:P00_XXX:000, RIR:IREQ_XXX:Test :') |) » » >') ;

    sys. HTP.p ("< class =" uValue"> ' | l_tester |) ("< / big >");

    sys. HTP.p ("< small class =" uLabel"> < /small > Tester ');

    sys. HTP.p ("< /a > '");

    sys. HTP.p ("< /li >" ");

    Scenario 2:

    Two filters = > does not

    sys. HTP.p ("< ul class =" uChartList"> ');

    sys. HTP.p ("< class li =" uNumber uGrid col_2 col_sart"> ');

    sys. HTP.p ("< a href =" "|") sys. HTF.escape_sc ('f? p ='|: APP_ID |': 0 0 :'||: APP_SESSION |':00:P00_XXX:000, RIR:IREQ_XXX:Test:P00_YYY:001:IRC_YYY:test2 :') |) » » >') ;

    sys. HTP.p ("< class =" uValue"> ' | l_tester |) ("< / big >");

    sys. HTP.p ("< small class =" uLabel"> < /small > Tester ');

    sys. HTP.p ("< /a > '");

    sys. HTP.p ("< /li >" ");

    Thanks in advance

    actually the syntax wrong values in the syntax of the passes to several elements.

    is

    f? p = 6000:6004: & APP_SESSION. : NO:6003:MY_ITEM1, MY_ITEM2, MY_ITEM3:1234, 5678

    Use above scenario and verification.

    Go

  • Apex 5 - where can I configure the link column for interactive report?

    Using APEX 5 on apexea.oracle.com

    I can't work where the attributes of column layout link for an interactive report using the interface of the designer of the Page?

    Thanks in advance

    PaulP

    Paul,

    the customer_id column is defined as a hidden at the Start column, and then there is no attribute of link for this column type. You must define the type 'Link' to get the attributes. There is no attribute of link on "Plain text" either.

  • With regard to the interactive report

    I've created the interactive report, then I remove the function of adding/deleting/changing inside, because I put my function all in plsql package. I could handle the add and delete function changed, however, is totally giving me a headache. I create an anonymous PL/SQL (process) block when the click on the button Delete, then delete the button will trigger the javascript confirmation. and then in my anonymous PL/SQL block, I key in

    myPLSQLpakacage.myDeleteProcedure(:p1_tableid);

    When I run the system, the process got through, and the "success" message. However, registration is still there stay. I check my point, process and compare to that of the sample «Document Library 0.92» I just found out they got from the additional hidden (P75_RETURN), after the process, it will go to the Page (and P75_RETURN) which I don't understand.

    Please help on this point, why my plsql did not, I try just to run the query in the anonymous pl/sql block as

    declare
    Identification number;
    Start
    ID: = v('p1_tableid');
    delete from the table where tableId = id;
    commit;
    end;

    but it's still not. So what's the problem with that?

    Hello

    BEGIN/END; It must be for all PL/SQL code.

    However, your problem is actually on this piece:

    0.01:... Process "reset page": CLEAR_CACHE_FOR_PAGES (AFTER_SUBMIT) 52
    0.01: removal of application cache "103" page: 52

    You have a "reset page" process that runs immediately before your process - this clears the value of P52_TABLEID. This process is usually provided automatically when you create a form by using a wizard. Delete it or the Never value condition.

    Andy

  • How to add the action button for each column in the interactive report

    Hi all

    I'm new in APEX, so pls forgive my question, if it's simple, but I am struggling with this problem for days now. I have interactive report and you want to add button in each row. What I want to do with this button is the following:

    1. to execute some stored procedure in need of that particular line item values

    2. returns a (id)

    3. go in another page in the application by passing the value out of the procedure (id).

    and I'm not find the way to do it. I tried now means:

    1. If I add the link of the column, so I can refer to the value of the current row, I don't know how to call the stored procedure and perform actions of rest I need

    2. If I add the button to the region, I do not know how to reference the values in column of a particular line of the interactive report...

    and I'm stuck...

    I just forms and global report and probably still think the "wrong" way .

    Any help would be appreciated!

    Thank you!!!


    user3253917 wrote:

    Please update your forum profile with a real handle instead of 'user3253917 '.

    I request of the company: there is a customer who always orders the same standard product orders (always order the same products, fair amount is different). I want to make it simple for the user: instead of retyping the command (master and few records details every time yet) I want to copy selected command (copy of the master record and record details) so that the user will only change date order (in master record) and amount fields in record details).

    So, in order to give him:

    1. the user must be able to choose the order in which I would copy (at page 4), select it,

    2. I need to make PL/SQL procedure to insert the new master record (order) and a few record details (order_items) (copy of the order/order_items chosen in step 1)

    3. navigate the user to page 29, where the master account at stage 2 insterted appears, so that the user can change the date and quantities.

    Any solution will be highly appreciated! Thank you very much!!!

    In simple terms:

    1. Add a link to column "Command copies" in the report on page 4, which sets the COPY request and passes the order ID on page 29.
    2. On page 29, create a process before header, sequenced to be the first process executed and conditional on REQUEST be EXEMPLARY, which creates a new order as a copy of the order with the ID from page 4 and returns the ID of the new order in the PK command ID of 29 page element.
  • Ideas for work around ORA-06502: character string buffer too small on the interactive report

    Hello

    It comes to Apex 4.2.  We try to create an interactive report.  The report is for something similar at a follow-up time.  We try to concat a comments column as the sum of the hours.  For example,.

    Select TASK_NAME, sum (HOURS), to_char (XMLAGG (XMLELEMENT(E,E.COMMENTS ||) ' : ')). Extract ('//Text ()'). GETSTRINGVAL()) USER_COMMENTS of...

    This query works fine if we seek only to a window of 1 week.  The question that we live, when we expand the scope of the query to include data from 3 months, we hit ORA-06502 interactive report.  If we remove this column from the interactive report, then the report works very well.

    Anyone has any ideas on how we might be able to work around this problem?  I'm guessing we're reached the limit of 32 k on the report.  Ideally, we would show just the last X number of comments and then have a link to show all comments

    Any help would be appreciated

    Thank you

    Mike

    ListAGG raises an ORA-01489 for varchar2 > 4000 bytes

    OP has an ORA - 06502--> IR is running within a limit of 4 k / 32 k.

    quick fix: wrap USER_COMMENTS ListAGG in a substr (..., 1, 4000)

    Longer solution, use a subquery to modify comments based on ROW_NUMBER() (IE after the nth line, change the null)

    with
    -- simulating data
    t as (select task_id, sysdate - lv as date_entered
      ,round(dbms_random.value(1,24)) hours
      , '-*' || lv || '.' || task_id || '*-' as user_comments
    from ( select level as task_id from dual connect by level <=10 ), (select level lv from dual connect by level < 1000)
    ),
    -- modify data
    modified_data as (
      select task_id, hours, date_entered
        ,case
          when row_number() over (partition by task_id order by date_entered desc) < 5
            then user_comments
          else null
         end USER_COMMENTS
        from t)
    select task_id, sum(hours) total_hours,
      listagg( user_comments  ) within group (order by date_entered desc)
      || case when count(*) >= 5 then '! MORE COMMENTS !' else null end
        as user_comments
    from modified_data
    group by task_id;
    
  • "of data type not supported" in the interactive report

    Hello

    I'm trying to download a file from a link to an itneractive report.

    In the section "attributes of report" interactive column, I defined in the section "links" in a column of the 'target', 'URL', and the URL like this:
    DOWNLOAD:CONVENTIONS:#FILE_BLOB#:#ID#::#MIME_TYPE#:#FICHIERS#:#LAST_UPDATE#::attachment:Conv
    When I run the interactive report, the link view this:
    Download: CONVENTIONS: [type]:188:C22.pdf:attachment:Conv of data not supported

    The table "CONVENTIONS" is defined as follows:
    ......
    ACTIVATE THE 'ID' NUMBER NOT NULL,
    VARCHAR2 (2048 BYTE) "FILES."
    'FILE_BLOB' BLOB,
    "LAST_UPDATE" DATE,
    'MIME_TYPE' VARCHAR2 (255 BYTE)

    Where is my mistake?

    Thanks for your help!

    Christian

    Hello Christina,

    Sorry Wizard, you need to use is the "form > form on Table with Report", because the normal create assistant interactive report allows you to enter a query.
    Once you have completed the wizard, take a look at the generated SQL statement (must use the dbms_lob.getlength) and the value in "number Format / Date" for this column.

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins

Maybe you are looking for

  • Time machine backup external hard drive

    Hi all I'm looking to move my iTunes library to a new drive external hard to free up space on my iMac storage internal 1 TB drive. My concern is the Machine of the time's up, is it possible that I can set it up so it will save the new external hard d

  • ADD AN ICON OF A PRINTER FOR THE OFFICE

    BROTHER QL-570 LABEL PRINTER

  • How to uninstall an application?

    Several applications have updates that will not be completed.  Think to uninstall then reinstall but can't find documentation on how to uninstall an application.

  • Problem syncing Hot tungsten # 2

    After years of happiness, in doing so, I have changed or deleted something on my PC because I can't hot synch.  It freezes on my E2 the calendar so that on my PC screen, the hot sync icon moves, but is not updated, and will be not off when cancelled.

  • Buy a PC preloaded on ebay, which comes with the Adobe software.

    I know that this issue was addressed briefly in other discussions, but I would like a clearer response. Is it legal to buy a computer on eBay which is preloaded with Adobe programs? I am aware of licensing and piracy. I was looking at Mac on ebay the