APEX 4.2 limiting size of the value dynamic Action

Hi all, I'm using ApEx 4.2.5 with 11 g BD and stumbled on this problem.

I'm trying to set the value of a div within an HTML region. To do this, I use one set dynamic Action launched by a custom event "search" when user press enter or click OK to a search bar. I also use the PL/SQL function as set type body.

I tested it and it works fine except if the content of the value is large enough (about 30,000 characters or more). I can't find any information about a size limitation for the return value of this type of package. I get this error code: ORA-06502 when I'm looking for a big content, and it seems that this error may occur when "you attempted to assign a value to a numeric variable, but the value is greater than the variable can handle", but I'll be back a PL/SQL CLOB variable in a div, so I don't see any kind of limitation. I think the limitation can be in the call made by apex in the background AJAX...

I need help on this, thanks in advance.

Gaël

Hi gados12,

gados12 wrote:

OK, I tried something and the result is weird.

I created a pakaged function to retrieve the right HTML content that is stored in my CLOB column (because I reached the limit of characters for PL / SQL code in dynamic action)

So I called my function (allows to name it FNC_GET_SEARCH) my previous dynamic Action Set value. I still get the same error with large HTML content. However... it is there, it's weird.

So that means the error is not my FNC_GET_SEARCH function, but the dynamic Action itself... So there must be some kind of limitation with this kind of dynamic action?
Is it because the dynamic action to set the value using the package HTP in the background?

The DA type 'Set Value' is for session state implementation and display the value of an element of page APEX value that is defined internally as VARCHAR2 (4000).

As a result, you get the above error. Use the approach mentioned above to manage CLOB based rendering html.

Also of your FNC_GET_SEARCH function for the display unit test error message.

Kind regards

Kiran

Tags: Database

Similar Questions

  • change the font size of the name of action link in the dashboard

    Hi all

    I use the action link in the dashboard. I want to increase the size and the standard link action policy which presents in the dashboard.

    Thank you

    Sushil

    Hello

    you will need to change the obips. ContextMenu.css (ORACLE_BI1 & user_projects) file, you need to find the file in the following paths
    (MWHOME\Oracle_BI1\bifoundation\web\appv2\res\s_FusionFX\uicomponents\obips. ContextMenu

    MWHOME\user_projects\domains\bifoundation_domain\servers\AdminServer\tmp\_WL_user\analytics_11.1.1\silp1v\war\res\s_FusionFX\uicomponents\obips. ContextMenu)

    Step 1: in this forum (contextMenuOptionText) to search for file change (max-height: 10px ;) you want.)

    .contextMenuOptionText
    {display: block;}
    Max-width: 200px;
    text-overflow: ellipsis;
    Max-height: 10px;
    overflow: hidden;
    white-space: nowrap;
    {text-align: left;}.

    Step 2: in this forum (contextMenuOption) to search for file change (do-size: 11px ;) you want.)

    .contextMenuOption {text-align: left;}
    do-family: Tahoma;
    do-size: 11px;
    Color: #000;
    padding-left: 4px;
    padding-right: 20px;
    padding-top: 4px;
    padding-bottom: 3px;
    white-space: nowrap;
    Max-width: 250px ;}

    Edit and save
    Of course make sure you resume first.

    After refresh you browser this will change.

    Please indicate if this can help.

    Thank you

  • Apex 4.2. report filltered with the value of table by entry

    Hi all

    Please could you help me? I have problem with my select input filtering.

    select 
    "ROWID",
    "OSOBA_NASAZENI",
    "PROSTREDI_ZAKAZNIK",
    "PROSTREDI_VRSTVA",
    "DATUM_NASAZENI",
    "KOMENTAR",
    "KOMPONENTA_POLOZKA",
    "KOMPONENTA_NAZEV",
    "KOMPONENTA_VERZE",
    "ID_NASAZENI"
    from "#OWNER#"."NASAZENI"
    where PROSTREDI_ZAKAZNIK in (:P21_X)
    

    Filtr works very well in P21_X of entry can TBC value only or a different alone as GEMB. Where there is variety "TATRA", "FOUR", "BSC", "GEMB" it no longer works. I tried this single list without quotas, but it does not help.

    I want to reach is in case I will come to the page that I need to see specific things for people. As if someone extends from TBC, it should see only things to confirm. In which case I'll app I'd like to see all things. Is this possible?

    Thank you for your time and effort

    Good day

    redy007 wrote:

    Please could you help me? I have problem with my select input filtering.

    1. Select
    2. "ROWID",.
    3. "OSOBA_NASAZENI,"
    4. "PROSTREDI_ZAKAZNIK,"
    5. "PROSTREDI_VRSTVA,"
    6. "DATUM_NASAZENI,"
    7. "COMMENT."
    8. "KOMPONENTA_POLOZKA,"
    9. "KOMPONENTA_NAZEV,"
    10. "KOMPONENTA_VERZE,"
    11. 'ID_NASAZENI '.
    12. of ' #OWNER # '. " NASAZENI ".
    13. where PROSTREDI_ZAKAZNIK in (: P21_X)

    Filtr works very well in P21_X of entry can TBC value only or a different alone as GEMB. Where there is variety "TATRA", "FOUR", "BSC", "GEMB" it no longer works. I tried this single list without quotas, but it does not help.

    I want to reach is in case I will come to the page that I need to see specific things for people. As if someone extends from TBC, it should see only things to confirm. In which case I'll app I'd like to see all things. Is this possible?

    It's the common "variable list" model [anti-]. In

    select * from table where columnvalue in (7788, 7839, 7876)
    

    (7788, 7839, 7876)is a list of expressions and the predicate is evaluated as a membership condition.

    In

    select * from table where columnvalue in :P1_X
    

    :P1_Xis a scalar string, unable to contain multiple values.

    In a report of type APEX, a source report of the body of the PL/SQL function returning a SQL query with lexical substitution can be used to produce a "variable list:

    return 'select * from table where columnvalue in (' || :P1_X || ')';
    

    where P1_X contains less than 1000 values, has been disinfected to code SQL injectionand string values are properly cited.

    Some people suggest the following approach, that will work also in interactive APEX reports:

    select * from table where instr(':' || :P1_X || ':', ':' || columnvalue || ':') > 0
    

    However, it is underperforming because it eliminates the possibility of using the index optimizer or the size of the partition in the execution plan.

    See various elements in the list to ask Tom and imitating the channel to the table using sql features for effective solutions.

  • Fields hide APEX 4.1 show based on the value of the checkbox/radio

    I'm trying successfully, hide and show fields based on the value of a selected checkbox.  I use a dynamic action, but it does not work.

    I followed the example in the is Oracle Apex 4 enable the following AJAX features? (IE without the written Javascript dev) - stack overflow

    I even tried an option button, but it did not work.  I can not uncheck the option button.  What I am doing wrong?  Thanks for any help you can provide.

    Hello

    For example, the point of view refer Packaged application > application sample database > page 11

    Kind regards.

    GO

  • The limited size of the premises plan (size of primary and backup storage?)

    In a local plan, I put the following tags to limit the size of the JVM to 350 MB:
    < Unit Calculator > BINARY < / Unit-Calculator >
    < high-units > 367001600 < / high units >

    Means the primary storage AND backup storage is limited to 350 MB? It makes sense that they would have the same size, ensuring only that's how it works.

    Thank you!

    The settings will eventually be applied to the backup. You can view the following for the dimensioning of the news:

    http://wiki.tangosol.com/display/COH35UG/JVM+Sizing+Guide

    http://wiki.tangosol.com/display/COH35UG/production+checklist

    See you soon,.

    Jay

  • Can not set a value by the executed dynamic action on the page element "selection list."

    I created an agenda of the page 'list of selection' and I want to when I change a value in another element of the page set only 'screen '.

    I created a dynamic action on the page element "selection list" for this.

    These are the dynamic action attribute:

    When:

    ======

    Event: change

    Selection type: point

    Article: P29_PURCHASE_ORDER

    Condition: No strings attached

    Advanced:

    ========

    Scope of the event: static

    Identification:

    ==========

    Action: Set

    The ' Action Page when the changed value "attribute of the element of 'list of selection' = 'None', and when I run form the dynamic action run and set the value for once and do not update the value according to the change in the article"list of selection. "

    Note: when I change the previous attribute of 'Redirect and set', dynamic action run and properly value, but the value was hidden soon

    I want to value when the value of change of select list according to this change successfully.

    Please, advice me,

    Best regards

    Mustafa Ezzat

    Hello

    you set the value of the 'Page elements to submit' to P29_PURCHASE_ORDER?

    Then, the SQL statement would use the current selected value.

    This is the help text says: "specify a list separated by commas of the elements of the page that will be submitted to the server and therefore available for use in your"SQL statement"," PL/SQL Expression"or"Body of the PL/SQL function".»

    Kind regards

    Erik-jan

  • Change the size of the image dynamically in the BIP report

    Can we dynamically change the image size in the report of beep. If so can I get some samples or doccument on it.

    Thank you

    AJ

    To access the image locally, try the following:


    <>
    height = "3" width = "4".
    SRC="C:\Users\Aj\Desktop\nosignatures.jpg".
    />

    Thank you
    BIPuser

  • Assign the values dynamically to an element

    I have a selection list which is populated with a list of values. I want to put some point values depending on the value selected in the list. And also I need to change the user's selection a different each time value in the list. Someone at - it an idea on how to do it?

    Thank you!

    You can look at [http://htmldb.oracle.com/pls/otn/f?p=31517:106:788912441129118:NO]. Here Dene explains clearly how, which corresponds exactly to your requirement.

    See you soon,.
    Hari

  • Apex 5 How do I retrieve the value inserted record in the form of DML

    Hi Experts,

    I have a DML form page which I created with the Wizard "form on a Table with the report." This form has a created apex "automatic processing line (DML) ' process that inserts, updates, and deletes the record in the TRXHIST table. This form use ROWID as a primary key column. The table TRXHIST is to have primary key as a field that uses the TRX_ID_SEQ sequence. There's a trigger on this table that deals with this sequence. Now the records are get inserted, updated and deleted and I am able to show the message with equal success.

    Now, I have a requirement to indicate problem (that will be generated over this insertion using the sequenceof TRX_ID_SEQ ) in the success message, so that the user can be noted.

    Can you please help in this.

    Thank you very much

    Thierry

    Hi Thierry,.

    1. The page element existing Pxxx_ROWID and rename it to Pxxx_TRX_ID, set the attribute column of field data.
    2. In the LMD processes change the ROWID to TRX_ID and Pxxx_ROWID to Pxxx_TRX_ID references
    3. Make sure "Return Key in Item" is defined on Pxxx_TRX_ID
    4. In your success message of process you can use & Pxxx_TRX_ID to replace the id generated recently.

    Concerning

    Patrick

  • Find the size of the document in action and draw lots of corners lines

    How can I create action that draw 2 diagonal lines from corner to corner of the document that match any size image?

    You may need to set the leaders per cent, although.

  • Need help to reduce the size of the Interactive (Dynamic) PDF

    Hello

    Currently I use the trial version of Adobe LiveCycle Designer (Adobe Acrobat 9 Pro) and interactive work with pdf. My main problem is that when I change my original pdf using LiveCycle Designer, the size is almost doubled. Even if I just open it with LiveCycle designer and save it without any modification, the size is doubled.

    Initially, the size of my pdf was about 500ko but now after some modifications, the format is replaced almost 2 MB.

    I would really appreciate if you suggest me the way to reduce the size of my interactive pdf file. I'm ready to buy any version of LiveCycle Designer if it solved my problem.

    Looking forward to hear from you.

    Kind regards
    Kiran

    The fonts are often the cause.

    Steve

  • Point Set size dynamically the value of the corresponding select list

    Hi friends,

    Few days, before I learned a concept of change the size of the item dynamically according to the value of the selection using Jari list. I missed to ask him something (such as an extension of it).

    This is the thread

    {: identifier of the thread = 2282838}

    He produced the wonderful example below

    http://actionet.homelinux.net/htmldb/f?p=100:214:7956651650754287:NO:_

    Was that I missed in it, it possible to change the label of the element according to the selection list.

    According to the example, jari has limited the size of the element according to the selection list. Suppose that in this example if I select "China", im getting elements of different size and "India" means im get point of different size. But the labels of all the four elements are the same as

    attribute < li > 1
    attribute < li > 2
    attribute < li > 3
    attribute < li > 4

    As an extension, I need like assume that 'China' means that the label of the columns must be

    < Li > State
    < li > address
    < li > pincode
    < li > district

    If "India" is the label of the four elements must be

    < li > customers
    < Li > operators
    < li > units
    < li > provinces

    It is possible to generate different labels for the different size points, according to the value of the selection list. Since there are only four elements present in the database table.

    Brgds,
    Mini

    Hello

    Alter the table where you have point sizes and add the ITEM_LABEL column.
    Fill the column with the values you need for labels.
    Add the new column for the application process

    DECLARE
      l_sql VARCHAR2(32700);
    BEGIN
    
      l_sql := '
        SELECT item_name,
          item_size,
          item_label
        FROM demo_item_dyn_size
        WHERE lov_value = :P214_COUNTRY'
        ;
       APEX_UTIL.JSON_FROM_SQL(l_sql);
    
    EXCEPTION WHEN OTHERS THEN
      HTP.PRN('{"row":[]}');
    END ;
    

    And change something like JavaScript

    
    

    See working example
    http://ActioNet.homelinux.NET/HTMLDB/lspdemo?p=214

    Kind regards
    Jari

    Published by: jarola on 27 Sep 2011 19:39

    Corrected JavaScript.

  • APEX 4.0 IE8 - definition of value with dynamic Action - no display of the result

    Hello

    I use APEX 4.0 and IE8. I made a dynamic action that fires on the editing an item.

    Event: change

    Rype of selection items

    Article: P77_item_1

    Condition: No strings attached

    Real Actions: The value

    Action: Set

    Set type: PL/SQL function body

    : P77_item_2: = Y;

    Page items to submit P77_item_1

    Items affected

    Items of Type selection

    Elements P77_item_2

    I see that it works in session. Now, I see that P77_item_2 is inserted. But there is no display of the value.

    I tried item_2 as textfield, view only, or read-only, but the behavior is always the same. What can I do to show the change in the order of the day?

    Thank you!

    Le_di wrote:

    I use APEX 4.0 and IE8. I made a dynamic action that fires on the editing an item.

    Event: change

    Rype of selection items

    Article: P77_item_1

    Condition: No strings attached

    Real Actions: The value

    Action: Set

    Set type: PL/SQL function body

    : P77_item_2: = Y;

    Page items to submit P77_item_1

    Items affected

    Items of Type selection

    Elements P77_item_2

    I see that it works in session. Now, I see that P77_item_2 is inserted. But there is no display of the value.

    I tried item_2 as textfield, view only, or read-only, but the behavior is always the same. What can I do to show the change in the order of the day?

    Do not have access to an instance of APEX 4.0 to study, but any code of "PL/SQL function body" must include a RETURN clause:

    :p77_item_2 := 'Y';
    return :p77_item_2;
    
  • Only 80% of the size of the screen after getting out of the mode standby

    After doing a complete clean reinstall of windows 7hp by a geek I had a problem with the size of the windows form when coming out of the fashion watch? (about 80% and the text is distorted) I even disabled sleep mode and still am having this problem... screen size is the value recommended 1920 x 1080 on viewsonic monitor.  Have windows 7hp with ie9. All antivirals and malaware say all is well in the registry, etc.    Thanks for your help!

    On the right side of this page: http://www.cpuid.com/softwares/cpu-z.html

    Click on the link that says ' 1.68 zip, English.

    Here's a direct download link: http://www.cpuid.com/downloads/cpu-z/1.68-en.zip

  • NPE when you set the value of list binding

    Hello

    JDev 11.1.2.4

    I have a list named Country1 linked to an executable variable country of type String binding. I'm trying to programmatically set the value but I get a NPE.

    public static BindingContainer {} getBindingContainer()

    return (BindingContainer) JSFUtils.resolveExpression("#{bindings}");

    }

    JUCtrlListBinding Country1 = ((JUCtrlListBinding) ADFUtils.getBindingContainer () .get ("country1"));

    _logger.info ('Information' + country1.values () .size ()); Returns the value 100

    country1.setInputValue("*");

    I get the following NPE while * is a correct value in the list:

    java.lang.NullPointerException

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding.findIndexFromObject(FacesCtrlListBinding.java:390)

    at oracle.adfinternal.view.faces.model.binding.FacesCtrlListBinding.setInputValue(FacesCtrlListBinding.java:455)

    Thank you

    I got it to work but it makes no sense:

    Ok:

    BindingContext lBindingContext = BindingContext.getCurrent ();

    BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();

    JUCtrlListBinding Country1 = ((JUCtrlListBinding) lBindingContainer.get ("country1"));

    Country1.getInputValue ();

    country1.setInputValue("*");

    KO with NPE

    BindingContext lBindingContext = BindingContext.getCurrent ();

    BindingContainer lBindingContainer = lBindingContext.getCurrentBindingsEntry ();

    JUCtrlListBinding Country1 = ((JUCtrlListBinding) lBindingContainer.get ("country1"));

    Country1.getInputValue ();

    country1.setInputValue("*");

    It seems that I have to read the value before it is changed.

Maybe you are looking for