Can "Standard Report Column" be the Default Instead of "Display as Text"

Almost every report region I write has some html in at least one column, whether it's a break or an apex_item or something else. Hence, when the region renders with the default settings, the column shows the html code - I have to change the column display type from "Display as Text" to "Standard Report Column".
Is there some setting to make "Standard Report Column" the default? (Isn't that kind of what the word Standard implies?)
Thanks,
Gregory

That Other Fellas Brother wrote:
Almost every report region I write has some html in at least one column, whether it's a break or an apex_item or something else. Hence, when the region renders with the default settings, the column shows the html code - I have to change the column display type from "Display as Text" to "Standard Report Column".
Is there some setting to make "Standard Report Column" the default? (Isn't that kind of what the word Standard implies?)In earlier versions of APEX "Standard Report Column" was the default. The default was changed in APEX 4.0 to "Display as Text" (which escapes HTML-sensitive characters) as a security measure to limit vulnerability to XSS attack. This is necessary for the protection of users and (so-called) developers who are not security conscious/HTML savvy.
There's no option to change this, and I doubt that one will be provided in the future. The indications are that the Oracle APEX team are committed to blocking as many security holes as possible by default, leaving it to the developer to consciously make any modifications that increase the surface exposed to attack.

Similar Messages

  • Cannot edit a field that is "Standard Report Column" when new row added

    Hi everyone,
    I have created a master-detail form from the wizard and within the detail report region source I have used apex_item.xxx API
    example;
    select C1, C2,
    CASE when C2 ='N' then
    apex_item.select_list_from_query(3, C3,'select a1 d, a2 r from table1', 'ENABLED', 'NO',null,null, 'f03_#ROWNUM#')
    else
    apex_item.select_list_from_query(3, C3,'select a1 d, a2 r from table1', 'DISABLED', 'NO',null,null, 'f03_#ROWNUM#')
    END C3
    from table;
    All columns C1,C2,C3 are defined as "Standard Report Columns".
    The results allows the column C3 field to be enabled or disabled for input depending on a condition.
    The problem is when you hit the default button "Add Row" to add a new row. The row is non-editable and is populated with null values.
    What I want is to allow input when a new row is inserted into the multi-row detail form.
    Can any one help?
    Is there a way to change the Display As field for the new row columns to "text field" from "standard report column" dynamically?

    I think you will need to use the old way of adding rows instead of the new one. I remember having headaches trying to get it working.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.apress.com/9781430235125
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • I just upgraded from Express to Pro.  When I open a project in Finder and neither Express nor Pro are running, it always opens in Express.  "Open With ..." says Express is the default.  How can I make Pro the default instead?

    I just upgraded from Logic Express to Pro.  When I open a project in Finder and neither Express nor Pro are running, it always opens in Express. I now want projects to open in Pro.  "Open With ..." says Express is the default.  How can I make Pro the default instead?

    Well, when I've done things like that it always sems like a good idea to keep an application that you know the file will definitely open in...

  • Define a new class in CSS for the width in a standard report column

    Hi all,
    I need to give one standard report column a width of 30px. I read anything about this here in the forum. I only know a litte of CSS and HTML. So I tried the following, but it doesn't work.
    I have a own css-file for my application. I tried to define a new class in it:
    div.reportcol30{width:30em;}
    Then I write the following in the report attribute "CSS CLASS" for my column:
    <div class="reportcol30">
    Does anybody have an idea what's wrong?
    Thanks, Daniela

    Dear Denes Hi,
    I tried (display:block;width:500px;overflow:hidden;) in my application, but the problem is that
    the column it self took the new width (500) , but the data row (which is select_list_from_lov)
    still smaller than 500 about 250 what is th problem
    thank you

  • Can I have my new iCloud email address be the default instead of my Apple ID?

    My apple ID is based on an old @mac.com account that no longer works. My new iCloud account has given me a new @me.com account but I can't use it as the default and all email going out from iPhone apps, i.e.: news articles, etc., is being sent from the @mac.com account and bouncing from the server. I can switch the "from"line so that it goes through the working account, but I have to do it every time I send something. Is there a way to permanently set the new @me.com address as the default or do I need to open a new iCloud account?

    Thanks for your answer, but perhaps I didn't make myself clear. What I would like to do is change my default email address for iCloud from the old @mac.com address that does not work anymore to the new @me.com that Apple has issued me, or even a gmail account. Why does the iCloud account have to be linked to an email address that no longer works?

  • Report not taking the default xml template assigned

    Hi,
    We wanted to have an excel version of the Depreciation Projection report vis BI Publisher.
    We changed the output type of the standard report Depreciation Projection report to XML, created an RTF Template, Defined data definition to point to the program and Template to point to the RTF Template.
    We assigned the template as default template from System Administration.
    The report is automatically run whenever Depreciation projection program is run. (If the report is run without that, it does not fetch any data)
      But when the report is automatically run from Depreciation projection program, it is not picking the RTF template, just provides XML output.
      The Depreciation projection program is a spawned program so we cant see how it is triggering the report that it ignores the template.
      Running the Depreciation Projection report separately after it is run automatically does not produce any data.
      How can we get the report to use the default template?
    Thanks.

    The report is automatically run whenever Depreciation projection program is run. (If the report is run without that, it does not fetch any data)
    in this case rtf template is used,  is it ?
    But when the report is automatically run from Depreciation projection program, it is not picking the RTF template, just provides XML output
    in this case rtf template is not used
    so looks like you are using ebs r12 for which in some cases need to add layout before running "manually"
    it means use FND_REQUEST.ADD_LAYOUT
    xml_layout := FND_REQUEST.ADD_LAYOUT('FND','XXAND','en','US','RTF');
    v_request_id := fnd_request.submit_request('FND','XXAND','Template 1',NULL,FALSE, null);
    The Depreciation projection program is a spawned program so we cant see how it is triggering the report that it ignores the template.
    looks like you can't add template so as idea generate report after "Depreciation projection program"
    you can search how generate xml publisher report based on xml of previous step

  • Need help with Javascript to get value of standard report column

    Hello All,
    Apex version 3.1
    I have a SQL Query (Updateable report) region where I need to do some validations using an OnDemand Applicaiton Process and javascript. For this validation I need to use the serial number and the item id from the same report row. The function is called when the serial number is changed. I can get the serial number easily because it is a Text field, however the item id is a standard report column (making it a text field or hidden gives me a checksum error, long story). How do I get the value for the standard report column in order to set the value for an Application item to be used in my Application Process along with the serial number? Here is my code below.
    <script>
    function f_ValidateSerial(pThis)
      // The row in the table
      var vRow = pThis.id.substr(pThis.id.indexOf('_')+1);
        //alert('Row is '+vRow);
      // Display the serial number
        //alert('The Serial Number is '+html_GetElement('f21_'+vRow).value);
    var get = new htmldb_Get(null,&APP_ID.,'APPLICATION_PROCESS=ValidateSerial',0);
    get.add('F101_SERIAL_NUMBER',html_GetElement('f21_'+vRow).value);
    get.add('F101_INVENTORY_ITEM_ID',+html_GetElement(?????+vRow).value);   // Here's where I need to get the item id to set application item!!
    gReturn = get.get();
    if (gReturn)
          alert(gReturn);
      if(gReturn)
          html_GetElement('f21_'+vRow).value = '';
    </script>

    jarola wrote:
    Hi,
    Ok, No standard report column do not have name attribute-
    You can add one extra column to report that is your Item Id with different alias.
    Then change that column Display as to "Hidden".
    Now you have hidden input where is your Item Id. Than input have name and id.
    Regards,
    JariBut this puts me back to my initial problem. When making the column hidden I get the checksum error...
    Error in mru internal routine: ORA-20001: Error in MRU: row= 0, ORA-20001: ORA-20001: Current version of data in database has changed since user initiated update process...
    The item id is NOT in the table which I am updating (I use a subquery to get the data) so I think it has to be a standard report column. Hidden and Text Item (which have an item id) all generate the checksum error.
    So I think I'm back to my original question. Given a standard report column on a row in a sql query (updateable report) region how do I get the value using Javascript?
    Edited by: blue72TA on Aug 2, 2011 12:07 PM

  • SAP Standard report to view the asset balance- Based on the calender year

    Hi ALL
    Any sap standard programs are available to view the asset balance based on the calendar year not for the fiscal year. 
    Asset balance report S_ALR_87011964 will display based on the fiscal year in report date. For example I want to view the September month asset balance, Any standard report to view the calendar year wise output.
    Regards
    K.Gunasekar

    Dear Gunasekar,
    in Asset balance report S_ALR_87011964 you can view also a calendar year, you can enter every Reporting date in the progrm.
    In RABEWG_ALV01 you can enter also a Capitalization date "from to". I think this is what you want.
    regars Bernhard

  • Is there standard report to get the WBS by using asset number

    Dear All,
    Please advice, is there any standard report to get the WBS by using asset number ?
    Thank you.
    Nies

    We can get WBS report by using costcenter - S_ALR_87011966

  • Displaying leading spaces in a Standard Report Column

    Is there a way to display leading spaces in a standard report column in APEX?
    I am using the following hierarchy query to left pad the metric title with spaces to indent subordinate records. The problem is that the APEX report truncates the leading spaces when the data is displayed.
    I have replaced the spaces with an underscore, however the end users prefers white spaces for readability.
    Any help is greatly appreciated.
    SELECT
    t.group_id,
    t.metric_id,
    LPAD(' ',(LEVEL - 2)*5,' ') || d.metric_title metric_title,
    d.business_unit,
    get_name(d.data_owner) data_owner,
    d.metric_status,
    t.group_sort
    FROM tbl_health_metric_groupings t JOIN tbl_health_metric_definition d ON t.metric_id = d.metric_id
    WHERE t.group_id != 0
    START WITH t.group_id = 0
    CONNECT BY t.parent_group_id = PRIOR t.group_id
    ORDER SIBLINGS BY t.group_sort, d.metric_title

    Thanks Tony your comment got me pointed in the right direction.
    LPAD only pads a single character to the left so doing something like LPAD(' ',(LEVEL -2)*5,' ') does not produce the expected results however placing LPAD inside a replace function does...
    The following works as expected and places leading spaces at the begining of the metric title based on the hierarchy:
    SELECT
    t.group_id,
    t.metric_id,
    replace(LPAD(' ',(LEVEL - 2)*5,' '),' ',' ') || d.metric_title metric_title,
    d.business_unit,
    get_name(d.data_owner) data_owner,
    d.metric_status,
    t.group_sort
    FROM tbl_health_metric_groupings t JOIN tbl_health_metric_definition d ON t.metric_id = d.metric_id
    WHERE t.group_id != 0
    START WITH t.group_id = 0
    CONNECT BY t.parent_group_id = PRIOR t.group_id
    ORDER SIBLINGS BY t.group_sort, d.metric_title

  • Send 10g reports directly to the default printer of the client machine

    Hello..
    We are using Oracle DS10g and Forms & Reports service 10g. When the user clicks on the report button I want to send the report directly to the default printer installed in the client machine. In this case the printer name may vary and I cannot parameterize the DESNAME parameter. How do i know what is the default printer? Any clue as to how can achieve the desired result?
    Thanks

    If you use webutil in your shop. You can use the CLient_win_api_environment.read_registry to get the default printer. In the run_report_object, desname gets set to the default printer.
    This can also be found in metalink.
                   V_PRINTER := CLIENT_WIN_API_ENVIRONMENT.READ_REGISTRY('HKEY_CURRENT_USER\software\Microsoft\Windows NT\CurrentVersion\Windows','Device',TRUE);
                   V_PRINTER_LENGTH := LENGTH(V_PRINTER);
                   V_PRINTER_BLANK :=     INSTR(V_PRINTER, ',');
                   IF V_PRINTER_LENGTH > 0 AND V_PRINTER_BLANK = 0 THEN
                        :P_OUTPUT_FILE := V_PRINTER;                    
                   ELSIF V_PRINTER_LENGTH > V_PRINTER_BLANK THEN
                   :P_OUTPUT_FILE := SUBSTR(V_PRINTER, 0 , (INSTR(V_PRINTER, ',')-1 ));                    
                   END IF;

  • When printing a list in Address Book, how can I select more than the default Attributes and keep them selected when I print again? I want to print ALL information for contacts so I have email address, notes, phone, company, title, etc all on one page.

    When printing a list in Address Book, how can I select more than the default Attributes and keep them selected when I print again? I want to print ALL information for contacts so I have email address, notes, phone, company, title, etc all on one page. I don't want to have to check off an additional 5 or 6 attributes each time I print out contact information. Is there a way to change the default setting for printing lists, so it is not just "phone," "photo," and "job title?"

    I have a user who wants to do this same thing. I did not find any way either to default the attributes to anything other than what you see the first time. Seems like such a trivial thing, hard to believe they do not allow it. I did find a program for this called iDress but I can't seem to download it from any links on the Internet. Not sure if it is free or not, but it was recommended by a link on the Mac support site.

  • How to use one report column into the another report in obiee

    How to use one report column into the another report in obiee

    i dont want to use column as a filter for another report it should be report column for another report
    Thanks,
    Vivek

  • Can you remove some of the Default applications

    I want to give an iPod Touch to my mother who is technically challenged and doesn't have WiFi.
    I only want the iPod functionality, not the browsers, email, maps, or any other feature.
    Is there a way to disable or remove default apps that you don't want?
    ps: I do not want an iPod classic., it''s interface is harder to learn than the touch.

    I too would like to remove some of the default apps. Personally, I find the YouTube, Stocks, and Maps, useless to me and its just a waste of icon space. And whats with the "The touch may not be for you". Seriously, if someone wants a touch but doesn't want some of the default apps, that doesn't mean the touch is not for someone. I think it would be a smart move for Apple to revise the iPod (and iPhone, if people can't remove default apps on there) so that we may remove the default apps that we don't use. It makes absolutely no sense to just "move" the app to the back if we don't even use the app. That's like saying "you may not have any use for this app, but its here because we want to force you to keep the junk we give you". And it sounds a lot like a Microsoft move for the all the Windows operating systems they have released (up to Vista, so far) forcing Internet Explorer on all its users and not allowing us to remove it because it was integrated into the Operating System. Supposedly, Microsoft is growing up and letting the user to actually disable (maybe even remove) Internet Explorer in the upcoming Windows 7. What about Mac OS X, does it force Safari on its users, like its forcing some of these unnecessary apps onto the iPod Touch? I wouldn't don't know, I don't earn quite enough money to buy myself an iMac or MacBook (and I've even heard from several people that its more expensive to get a gaming Mac than a gaming PC with similar hardware configuration). Only Apple product I own so far is an iPod Touch.
    But I will give Anna credit. Anna at least answered the question.
    The question was "Can you remove some of the default applications" and a response saying "What is your mother going to use it for? Maybe the Touch is not the right device for her." by "D'Fish'N'Seas" does not answer the question at all. The question has nothing to do with what the mother is going to use the iPod for, so don't post a response like that, its one of the reasons that causes short tempered people to flame other people.
    Ok, so since Anna answered the question that Ron asked. I have a question related to this topic, and if Ron is still wanting to remove some default apps, I'm sure he would like an answer to the question too. So, here is my question: Has anyone developed an app that would allow us to remove the default apps, or a tool that will guide us in removing some default apps?
    And preferably the app or tool be in the most legal possible way. Wouldn't want to ask for something that is illegal.

  • How can I make Yahoo Mail the default in Safari?

    How can I make Yahoo Mail the default in Safari. I contacted Yahoo and they said to contact Safari.

    Yahoo Mail is not an application. If you wish to use Yahoo Mail just create a bookmark to its web page.

Maybe you are looking for

  • Upgrade oracle 9.2.0.8.0 to 10.2.03 ORA-06512: at "SYS.VERSION_SCRIPT", lin

    Upgrade oracle 9.2.0.8.0 to 10.2.03. while runing catupgrd.sql script. i am geting error. SELECT version_script AS file_name FROM DUAL ERROR at line 1: ORA-20000: Upgrade not supported from version ORA-06512: at "SYS.VERSION_SCRIPT", line 52 Please h

  • Is there a way to check to see if an IMEI has been submitted for unlock?

    I wanted to ask is there is any way to check IMEI numbers to see whether or not they have been submitted to Apple for an unlock?? I have two phones I need to check, and iPhone 4 which is my daughters and was a birthday present, and an iPhone 5 which

  • Problem printing with Adobe Acrobat X pro. No File Save As dialog

    We have a C++ program to print a formatted report, by selecting the configured  printers. "Adobe PDF" printer is available on install of Adobe Acrobat Pro. During report print  when "Adobe PDF" printer is selected, the report use to get printed in a

  • LSO (Learning Solution) Configuration / Navigation steps

    I am new to the LSO (Learning Solution )module. Can any one provide me the configuration / navigation steps and the functionality  of the LSO Module. I need to create the following things 1. Creation of PVDC 2. Creation of PVEC Regards Venu

  • Ear phone jack won't go in all the way

    My earphone jack won't go in all the way.  I've tried cleaning the hole with compressed air, and a Q-tip with rubbing alchol.  Nothing seems to be working.  Plus, my ipod is showing the headphones are plugged in, so I can't even listen to anything wi