Text items larger then 32K

Greetings all
On our project we are using the RTE inside portal to allow our content managers to edit the contents of the page. This works fine in version 9, but in version 10 we have a small problem. While the information is saved correctly inside the database when it's larger then 32K in length and it shows correctly on the page, the item can't be modified anymore, since you get a character string to long error.
After logging a TAR on metalink, they know the bug is related to this one: Bug 2346039 - TASK: TEXT ITEMS CANNOT EXCEED 32K IN SIZE. The biggest problem at this time for our content managers that they have no clue at all they are entering an item that is too large to edit, since everything is saved correctly in the tables.
We've added some JavaScript code to the buildUIembed.html file so that the users get a popup window that tells them the item is to large, but untill now, we're unable to stop oracle for saving the item in the database.
Does anyone know a way to stop the default action of oracle so that people can copy/paste their work to a safespot to split it up in 2 to avoid this bug?
Best regards
Johan Van Volsem

Hell christian
Thank you for your response, but when you use a the rich text editor, you don't use text items (oracle does internaly). Because the item of over 32K is nicely stored in the table without any errors. If we don't use the RTE, then when you save the item, the browsers return an error, the RTE doesn't which makes it more confusing for content managers, since they don't even know something is wrong when they save the item.
Hence why oracle has added my bug from the tar to this ER.
Thanx for your input anyhow.
Regards
Johan

Similar Messages

  • How i can assign multiple values to tabuler text item (Help)

    HI
    IM PROGRAMMING ONE FORM AND I PUT THERE TABULER TEXT ITEM
    I WANT ASSIGN 63 VALUES TO THIS TEXT ITEM ONE BY ONE BY CODE I MEAN PUT FIRST VALUE IN THE FIRST TEXT ITEM ROW THEN SECOND TO THE SECOND TEXT ITEM AND LIKE THIS UNTIL I REACH TO THE LAST
    I MAKE LOV PUT I CAN ASSIGN ONE VALUE BY ONE VALUE EACH TIME DOUBLE CLICK ON THE TEXT ITEM ASSIGN ONE VALUE THEN DOUBLE CLICK ON THE SECOND ROW PUT MY BOSS WANT ASSIGN ALL VALUES 63 FROM ONE CLICK ON BUTTON

    Then you will have to create a when-validate-item trigger with a cursor based on your selection of your LOV . Loop through that cursor assigning the next in the next record by using the built-in function next_record. (put you selection for you value in a hidden item for example.
    something like this:
    Declare
    cursor c is
    select returnValueFromLOV
    from <yourtable>
    where yourdisplay value = :hidden_tem;
    begin
    for r in c loop
    next_record;
    item := r. returnValueFromLOV;
    end loop;
    exception
    when no_data_found
    your error handling;
    end;
    Hope it put you on the road to reach what you want
    Erwin

  • Cannot Add Large Text Item

    All,
    We are trying to add a text item into portal and we get an error when the size of the item is approximately more than 24k.
    The error shown is err-30584 dbms_sql raised and unhandled
    exception.
    When the size of the text item is more than 32k then, we get an
    http 404 - page cannot be found error while trying to save the item.
    Is there any limit on the maximum size of the text items
    in portal? The version we are using is,
    Oracle Portal Version: 3.0.9.8.0
    Any workarounds are appreciated if this is a known problem.
    Thanks in advance,
    Sudhakar.

    Hi Peter,
    FAGLB03 transaction shows the balances ( not the lines ). Only with drill-down you go to the BSEG table and then you can add whatever field you want using a standard SAP functionality of ALV.
    Regards,
    Eli

  • After Effects & Premiere Pro CS4 users: Turn off "Make text and other items larger or smaller" (Win)

    I just made a brief blog post recommending that After Effects CS4 and Premiere Pro CS4 users turn off the "Make text and other items larger or smaller" setting in Windows 7, since it causes some problems.
    Please use this thread to let us know whether this solved a problem for you or whether there are any problems with this solution.

    There isn't really an option to "turn off" the feature. Do you mean to say that it should be set to "Smaller - 100% (default)"?

  • Premiere Pro CS4 users: Turn off "Make text and other items larger or smaller" in Windows 7

    I just made a brief blog post recommending that After Effects CS4 and Premiere Pro CS4 users turn off  the "Make text and other items larger or smaller" setting in Windows 7,  since it causes some problems.

    There isn't really an option to "turn off" the feature. Do you mean to say that it should be set to "Smaller - 100% (default)"?

  • Make Text and Other Items Larger or Smaller - Default? (related to screen resolution)

    In Windows 7, when you go to set the screen resolution, there is a link to "Make Text and Other Items Larger or Smaller."  The default I've always seen is is "Smaller - 100%" in our deployments.  For some reason, after my new deployment that
    I'm working on, it is set to "Medium - 125% as the default."
    This changed when I imported the display drivers needed for the HP8440 laptop the deployment is going on. Before, Windows was just using a generic driver that maxed at 640x480 and the user had to manually install the drivers. Now that I've imported the drivers
    into the deployment, the default resolution is 1920x1200 as it should be, but this one last default is making it look like there is a smaller resolution.
    Is there any way, in the deployment, to set this option to "Smaller - 100%" as the default?
    This is what I am seeing after Windows loads for the first time:

    I get "Invalid syntax" when I try to run that. I've gone through the help on the REG command, and everything seems to be in order. I also opened CMD as administrator. I've tried some different variations on the command (quotes around the path, etc)
    but nothing seems to work. Any ideas?
    You're getting an invalid syntax since it contains a space betweeen 'Windows' and 'NT' when using command lines, spaces will break the commands to be executed since it thinks that spaces are delimiters for syntax value's.
    REG ADD "HKLM\Software\Microsoft\Windows NT\CurrentVersion\FontDPI" /v LogPixels /t REG_DWORD /d 0x60 /f
    Edit; The thread starter had success with using the following path instead "HKCU\Control Panel\Desktop"
    It should work like it's written above using quotes around the entire path. Without the quotes you'll receive a syntax error. However unless the command is executed in an elevated command prompt you'll get an access is denied error. And finally the /f switch
    is required to override the entry without prompt, since if the command if executed in an elevated command prompt it will detect the current value and ask whether you want to overwrite it or not.
    P.S. I verified if it executes properly.
    Kind regards,
    Stephan Schwarz.
    If one of these posts answered your question or issue, please click on "Mark as answer".
    My Blog | Twitter:
    @Schwarz_Stephan | MCTS, MCITP, MCC.

  • What is maximum string size in form's text item.

    Hi:
    Is 65534 the maximum number of characters that a text item can hold? I believe this is true and then only when I use a long which is hard to handle as a string. I need to build a popup that allows a user to paste a large set of data and then I need to break the pasted information into 100 character chunks. Has anyone done this in the past and did you get around the character limit size?
    Thanks,
    Thomas

    The Help documentation seems to indicate that 65,534 is the maximum. If you think a user will exceed that limitation, you may want to consider changing your design and provide a mechanism for storing the text file as a blob in the database. If you still needed to break the text up into chunks, you could write a stored procedure that could do that.

  • Multiple values from database on a single text item

    i am trying to do the following
    on a single text item in a form
    (under form property pallete->records->number of items displayed is 5) run a triger "when-new-block-instance" with the following pl/sql statement
    declare
    menu_item VARCHAR2(35);
    begin
    select label into menu_item
    from menu_options;
    end;
    however, once i run the form it gives me
    WHEN-NEW-BLOCK-INSTANCE trigger raised unhandeled exception ORA-01422
    however, if in the pl/sql statement contains only
    begin
    execute querry;
    end;
    then it works fine
    The problem i beleive is the fact that the first querry retreives multiple values or recordset instead of A record.
    How can i go arond this and allow the form to list all the values in this form. Eventually i will need to add conditional SQL statments and that is why just execute querry will not work.
    Also, is there a way to dynamically assign a number to "number of records shown" property?
    All help is very much appreciated!
    null

    Hi, Marko
    I teach Forms, and I usually find a bad idea to use SQL statements directly (in particular when you can "make" Forms to do what you want).
    Inside PL/SQL, a SELECT..INTO statement is supposed to select a single row, otherwise an error occurs.
    EXECUTE_QUERY works.
    If by "conditional SQL statements" you mean restricted (filtered) queries, you don't need to write SQL to do this.
    You can set the DEFAULT_WHERE block property to a different value before using EXECUTE_QUERY, like:
    SET_BLOCK_PROPERTY('your_block', DEFAULT_WHERE, 'where menu_id > 100');
    And the answer to your second question is no, you cannot dynamically change the number of records a block is displaying.
    You can limit the number of records your block queries from the database table using Maximum Records Fetched block property (available in Forms 6 and above, not sure about Forms 5). However, this will only work as expected if you set Query All Records to Yes.
    Hope this helps,
    Pedro

  • [CS4][JS] Accessing skewed text items

    The following code snippet successfully finds all the skewed text in a
    document and then removes the skew:
    //Clear the find/change preferences.
    app.findTextPreferences = NothingEnum.nothing;
    app.changeTextPreferences = NothingEnum.nothing;
    //Set the find options.
    app.findChangeTextOptions.caseSensitive = false;
    app.findChangeTextOptions.includeFootnotes = false;
    app.findChangeTextOptions.includeHiddenLayers = false;
    app.findChangeTextOptions.includeLockedLayersForFind = false;
    app.findChangeTextOptions.includeLockedStoriesForFind = false;
    app.findChangeTextOptions.includeMasterPages = false;
    app.findChangeTextOptions.wholeWord = false;
    //Search the document for all the skewed text
    app.findTextPreferences.skew = 1;
    // now remove all skews
    app.changeTextPreferences.skew = 0;
    However, I want to access each fragment of skewed text rather than
    globally change them.
    How do I access the collection of skewed text items as the
    findTextPreferences does not seem to possess the required properties.
    TIA
    Doug Neale

    Hi Peter,
    I tried this on a single page document with some text set in italics:
    //Clear the find/change preferences.
    app.findTextPreferences = NothingEnum.nothing;
    app.changeTextPreferences = NothingEnum.nothing;
    //Set the find options.
    app.findChangeTextOptions.caseSensitive = false;
    app.findChangeTextOptions.includeFootnotes = false;
    app.findChangeTextOptions.includeHiddenLayers = false;
    app.findChangeTextOptions.includeLockedLayersForFind = false;
    app.findChangeTextOptions.includeLockedStoriesForFind = false;
    app.findChangeTextOptions.includeMasterPages = false;
    app.findChangeTextOptions.wholeWord = false;
    //Search the document for all the skewed text
    app.findTextPreferences.skew = 1;
    var myFound = app.activeDocument.findText();
    if (myFound.length==0) {
    alert("No skewed text was found");
    else {
    // ok we have some skewed text, now loop through each one
    for (i =0; i < myFound.length; i++) {
    var myTextObject = myFound[i];
    var myText = myTextObject.Content;
    and it always finishes up with the alert :-(
    and debug confirmed that myFound.length was zero.
    Should I be doing something else to find italic text?
    Regards,
    Doug Neale

  • Chart and text items are not synchron

    hi all,
    i am a newbie in apex 4.0.
    i have two regions. the first shows a chart, based on pl/sql-code. second shows text items for possible filter an the current statement of the chart.
    when user clicks on a bar in the chart then
    1. i set the the first text item as filter,
    2. a pl/sql-code runs, build a sql statement, assign the sql statement string to the second text item and
    3. returns the statement for the chart.
    it works fine. the chart refresh. and the data i can see are correct.
    but the text items in the other region doesn't refresh.
    when i press "refresh"-button at browser level everything is fine. chart and text items fits together.
    what can I do to refresh all regions when the chart changes the sql-statment / User clicks?
    Is there any way to read out the current statement of a chart?
    thx in advance
    jogi
    Edited by: Jogi on 09.05.2011 12:31

    Bernd: the reason I asked about views is that you don't have any error messages. This might indicate that (a) you have no items in the view, or (b) there's something wrong with view-role-user assignment.
    To check for (a), please go to the published procurement catalog, and go to Views tab. Check that your View is Active. Click on your View ID link to display view details. You should see a list of characteristics assigned to your view in Assign Characteristics sub-tab (the list should not be blank!). Go to Assign Items sub-tab. Navigate in your schema to find items that are supposed to be assigned to your view. You should see "Yes" in the "Assigned" column for those products. If you don't, then you simply don't have any items in your view.
    Another thing I'd like you to check: when the user calls your procurement catalog for search, do you see the name of the catalog displayed just below the drop-down "Select Categories Hierarchically"?
    Cheers,
    Serguei

  • How to find the ID of the text item of the column in an tabular form

    Hello,
    I have created a tabular form report on emp table and made ONE OF THE COLUMN department_id as an text item using APEX_ITEM.TEXT APIs.
    My select query is
    select
    "EMPLOYEE_ID",
    "EMPLOYEE_ID" EMPLOYEE_ID_DISPLAY,
    "FIRST_NAME",
    "LAST_NAME",
    "HIRE_DATE",
    "JOB_ID",
    "SALARY",
    "MANAGER_ID",
    APEX_ITEM.TEXT(3,department_id,20,50,'readonly=true') department_id
    from "#OWNER#"."OEHR_EMPLOYEES"
    now how can i find the item ID?
    one more thing is that how would i reference this item in an javascript function.
    anyone plz help me out with this.
    thanks.

    Hi,
    Firstly, your link must include "this" to ensure that any javascript knows which link has been clicked. So, change:
    onclick="javascript:report();"to
    onclick="javascript:report(this);"Next, your javascript code must take this value and find the related DEPTNO item on the same row. The URL must pass to the popup page the name of the ID that needs to be updated - this is held in the f10 variable in the following script. This means that you popup page must be able to receive this value so that it can use it to update the DEPTNO item when a value is selected. Your popup page seems to be page number 4, so I will assume that you have a P4_ITEM_ID hidden item on that page for this purpose. So, the javascript on the main page would be something like:
    function report(x)
    var f10;
    var p = x.parentNode;
    while (p.tagName != "TR")
      p = p.parentNode;
    var inputs = p.getElementsByTagName("INPUT");
    var zz;
    for (zz = 0; zz < inputs.length; zz++)
      if (inputs[zz].name = 'f10')
       f01 = inputs[zz].id;
    var url;
    url = 'f?p=&APP_ID.:4:&APP_SESSION.::::P4_ITEM_ID:' + f10;
    var w = open(url,"winLov","Scrollbars=1,resizable=1,width=450,height=600");
    if (w.opener == null)
       w.opener = self;
    w.focus();
    }So, when the user clicks a link, the report() function is called and the object clicked is passed as a parameter. The script then starts from this object and goes up to the TR tag that the link is on. From here, it finds all INPUT items and then looks at those to find one that has a name attribute of "f10". When it finds it, it stores the ID of that in the "f10" variable. It then constructs a URL using this variable which is set into the P4_ITEM_ID hidden item on the popup page.
    I don't know what your javascript is on the popup, but it would need to get the value out of P4_ITEM_ID to see which main page item needs updating. This could be something like:
    function passBack(val)
      var id = $v('P4_ITEM_ID');
      opener.document.getElementById(id).value = val;
      window.close();
    }This script looks in the P4_ITEM_ID hidden item and gets its value - this will be the ID of the item to update on the main page. It then does the update and closes the popup.
    Andy

  • Links to text items in context

    When I carry out a custom search, the results displayed can be linked to via the display name or image link.
    However, when the user clicks on the display name link they are directed to a page which displays the text item alone - out of context from the page on which it would normally be found (ie minus normal template, style, layout). Is there a way (as on normal search engines) to be taken to the actual page on which the text item normally resides. I have used the page link on the result page to direct to attempt to replicate this but the page that is displayed when the page link is clicked is without the normal expected page template and is therefore not useful (ie it displays the text item on a blank page with the incorrect style and incorrect template). Is there any way around this so that the user is taken to the actual page or is there a way of changing the page template of the page onto which the user is directed to reflect the normal page templates?

    The search results are currently set to display in two tabs - pages and documents (both using standard search results one looking for items the other pages). The type or style of page result attributes could not be changed despite what is changed on the result option page of the wizard(you may be aware of this bug) so we are shown, in order, PAGE, CREATE DATE, PAGE GROUP and CATEGORY.
    When a user clicks on the Page link it is assumed that they would be taken to the complete page on which the result is based. However, this is not always the case. Each page in our page group consists of a navigation bar on the left and a header at the top with a multi-tabbed region below. There are two results that occur when the page link is clicked on: Either the user is navigated to the complete correct page on the site with the navigation page and other tabs in place (success) OR the user is taken to a page with a completely different style (Times new Roman even though there are no styles containing this font) and no navigation banner or other tabs. (disaster)In effect, it is showing just the content of one tab region in a blank template. This is no use to the user as they have then no way of navigating as they do not get the normal page setup.
    If I include PAGE as one of the attributes to be shown with the document results then you would assume that you could click on the pagelink to go to the page on which the document is shown. This is not the case and similar to the page results, the content of a single tab may be shown (not on the normal the page template) and the style is again times new roman (the page contents appearing without the other tabs, navigation banner and header).
    I hope this makes sense (as the logic of why it is happening doesn't seem to)

  • How to disable a single row of a multi-line text item

    I am trying to disable a date and a price on each row where the date is current or in the past (on theory the user can't update reference data that is in effect or past, only data which is not yet in use). It appears that forms 6i will make this an all-or-nothing matter, all rows (for a given text item) are enabled or all rows are disabled - no mixing! I am hoping forms is smarter than that, can someone give me knowledge? note: this is not a problem of enabling or disabling at runtime, I have that figured out, only row-specific application of the concept. here is my code:
    for c1rec in get_fees loop
    :cfee_def_dtl.service_fee := c1rec.service_fee;
    :cfee_def_dtl.eff_date := c1rec.eff_date;
    go_item('cfee_def_dtl.holdx'); -- inncouous field, not visible to user, but navigable
    IF trunc(c1rec.eff_date) <= trunc(sysdate) THEN
    set_item_property('cfee_def_dtl.eff_date',ENABLED,PROPERTY_FALSE);
    set_item_property('cfee_def_dtl.service_fee',ENABLED,PROPERTY_FALSE);
    END IF;
    next_record;
    end loop;

    Hi,
    move the logic in New-Item-Instance trigger and based on your condition
    SET_ITEM_INSTANCE_PROPERTY update_allowed as property_false/true.
    Monica

  • Automatic GL account determination while creating a PO as text item

    Hello Experts,
    If we create Purchase order as a text item, means we didnt give any material details we will give the Material group only.
    Then the system will ask for the GL account details also.
    Is there any way to default a particular GL account to a particular Material group while creating a Purchase Order as text item.
    Please sugeest the possible solutions.
    Many Thanks in advance,
    Satya

    Hi
    Go to OBYC
    BSX - select valuation modifier, valuation class-----Give GL acc no. - Inventory Raw -m aterial A/C No
    WRX - select valuation modifier, valuation class - Give GL acc no.---GRIR clearing A/C No
    GBB - select general modification, valuation modifier, valuation class - Give GL acc no. - -Salaries etc. A/C No
    FS00 - select the check box - Post automatically.
    FS00 - select post with tax
    Fs00 - sort key - 014
    FS00- Field status group G0045.---GRIR
    FS00- Field status group - G003 - material consumption
    FS00- field status group - G006

  • Text catagory - Text item (TATX) in sales order

    In Sales order, we generaly use item catagory - TAN (standard item) or TANN (free of charge).
    - When should we use the item catagory - TATX (text item)?
    - Should we maintin the material master for text items?
    - Also please provide exaple of Text items?
    Thank you very much.
    Ashish
    Edited by: Ashish Desai on Feb 9, 2009 1:47 PM

    Hi Desai
    suppose if we are selling a TV then the TV manual also has to go the customer that is text item TATX
    In the item category determination in VOV4 for the sales doc type OR+item category group maintained as blank usage is TEXT item category of the highel level item nil For this combination the default item category would be TATX
    That means thro usage program TEXT(ABAP program) system determines it is a text item and gives item category as tatx
    The example of text item is TV manual
    Generally  for TEXT items we dont maintain MMR's but again this is business requirement only
    If some business cases if it is reqd we can maintain MMR's for text items with a special material type and without any qty or value updation
    Regards
    Raja

Maybe you are looking for