Dynamically changing column display type

Hi,
I have a report that gets generated every day with different column names. The report contains a decode statement that uses a row value to return using pictures. The problem I am running into is the column is being displayed as text and the value of the row is showing up as some html text instead of the picture. The default Column report in APEX 4.1 is for the report to be displayed as "Display as Text". I know the APEX team did this for security reasons. Is there any other way to display the column as "Standard Report Column".
I want the report to be displayed as a "Standard Report Column" instead of me going in and changing it manually to "Standard Report Column".
Any help in the right direction is appreciated.
-Abe

I have been trying to find the same solution... the ability to either default all my columns to "Standard Report Column" instead of "Display as Text" or to dynamically change them from code. Or it would even be great if the "Display As" value on report columns (both Classic Reports and Interactive, mine is Classic) was a column in the "Column Attributes" table on the "Report Attributes" page so that I could just change them all and hit "Apply" from that one page instead of having to go into each column's properties individually. (It's time consuming and tedious and easy to miss columns because I can't tell what I've changed.)
If anyone has any thoughts, I'd love to hear them...

Similar Messages

  • Dynamically change text field type

    Hello all
    I have a form which displays a decimal field. However when certain conditions are met, I need to change its type to Text, so the user can enter any alphanumeric character.
    How do I achieve that with Javascript code? Is it even possible?

    Actually, you can dynamically change a textfield.type. AS2.0
    You need two elements.
    txt.type = "input";
    txt.selectable = true;
    However, if you have the textfield in a btn you will need to
    delete the onRelease function before you can make the tf function correctly.
    btn.onRelease = function()
    delete this.onRelease;
    this.txt.type = "input";
    this.txt.selectable = true;

  • Dynamically change column heading without Dashboard Prompt

    Hi All,
    My requirement is change the column heading dynamically in a report. I have achieved this through setting the presentation variable to the dashboard prompt.
    I have 5 columns in the dashboard prompt. Out of these 5 columns, I want to use only 1 column as dashboard prompt.
    But still I want to dynamically change the column heading of the other 4 columns based on the only 1 column selected in the dashboard prompt.
    Is there anyway to achieve this?

    You need to have some logic to change other 4 columns based on 1 selected column.. where you want put that logic?
    BTW: Check these
    http://total-bi.com/2011/03/obiee-dynamic-column-headings/
    http://rampradeeppakalapati.blogspot.com/2012/02/dynamically-change-column-names-in.html
    If helps mark or also update back if you are thru with this.

  • Average Calculation for the Dynamically Changing Columns

    Hello Experts,
    We have to design the following scenario in a query in the query designer.
    Variable Selection = 0CALMONTH Range Value
    The Report Data should be as below
    For Example: 0CALMONTH = MONTH1 to MONTH3
    MONTH1--MONTH2--
    MONTH3
    Statistical Forecast %-- A%B%--
    C%
    MAPE--(A%B%C%)/3(A%B%C%)/3--
    (A%B%C%)/3
    For Example: 0CALMONTH = MONTH1 to MONTH5
    MONTH1--MONTH2MONTH3MONTH4--
    MONTH5
    Statistical Forecast %--A%B%C%D%--
    E%
    MAPE--(A%B%C%D%E%)/5(A%B%C%D%E%)/5----(A%B%C%D%E%)/5   .............
    In this report the number of columns will be dynamically changing depending on the 0CALMONTH range value and we need to calculate the MAPE value which is equal to the average value of Statistical Forecast %.
    Can someone please provide me the inputs on how to calculate the MAPE value for the dynamically changing columns.
    Regards,
    AVS Reddy

    Victor,
    I have this code here
    AVG(DESCENDANTS(COSTCENTER.H1.Currentmember,1))
    Working for me right now, without using the second parameter on the AVG function, and 1 for te descendants, and the first decendants of the current acount are not the base level of the hierarchy.
    And if you need to specify the lowest leves to get it to work something is wrong.
    Use the formula above and try optimizing you application.
    Best
    Leandro

  • Change column display name

    Hi,
    How can one change the display name of a column.
    For example I have columns C_ProjectID which when display in view should appear "Project ID". I tried to play with FieldRef but somehow it doesn't reflect the change on page.
    What I am missing here? Below is the schema from Sharepoint designer.
    Thanks in advance.
    Regards,
    Abdul
                    <ViewFields>
                        <FieldRef Name="TISImpact_x0020__x0028_Yes_x0020" DisplayName="Impact (Y/N)"/>
                        <FieldRef Name="C_Title" DisplayName="Title"/>
                        <FieldRef Name="C_ProjectID" DisplayName="Project ID"/>
                        <FieldRef Name="TBP"/>
                    </ViewFields>

    Hi,
    To change the column name, you can simply select the field name from the ListSettings page and change its title /column name to the desired name. Note:the internal name of the column will still remain the same.
    Secondly, you can also do this progrmatically too :
    using (SPSite site = new SPSite("http://site"))
    using (SPWeb web = site.OpenWeb())
    web.AllowUnsafeUpdates = true;
    SPList sampleList = web.Lists["ListName"];
    // Imp Step
    SPField title = sampleList.Fields.GetFieldByInternalName("C_ProjectID");
    title.Title = "Custom";
    title.Update(true);
    sampleList.Update();
    web.AllowUnsafeUpdates = false;
    You can change the display name via Sharepoint Designer bu clicking on the list -> list settings -> click on "Edit list columns" under cutomizations > select the column and right click and select rename.
    Hope this helps
    Regards,
    Priyanka

  • Change columns displayed in 'List Accounts'

    Folks,
    I am part way through customising some forms in IDM and would like to change the columns displayed in the 'Accounts->List Accounts' tab. By default, after the userid, you get
         Last Name
         First Name
         Manager
    I want to replace Manager with one of the new custom fields. Can it be done?
    Gavin

    It's been a long time since I've done this and I'm just going off the top of my head but I think you need to edit the UserUIConfig configuration object. In there you should see some entries that you can modify/remove to update the columns that are displayed.

  • Can't change column data type

    Hi, i am using Sybase IQ 16.0
    I have created a table, when I want to change one of the data type for a column for example from char to varchar, the list box is grey color and not allow me to change.
    Right click table > Properties > Columns > Data Type
    I have granted all permission for dba, but still not able to edit. (please see the attached file)
    Any help?
    Thanks.

    Hi Nelson.
    You can not change the datatype of an existing column.
    The doc reference is here: Altering Tables
    "After you create a column, you cannot modify the column data type. To change a data type, drop the column and recreate it with the correct data type."
    If you already have data in the column, you can try this:
    create the new column with a slightly different name
    copy the data in to the new column
    drop the original column
    rename the new column to the old column's name.
    --Kirby

  • Dynamic change of wage type texts on salary slip

    Hi Gurus.
    Maybe someone can help with a request.
    I want to do following.
    If someone input a wage type e.g. 6666 in Infotype 0015 I want to open a new input-field.
    In this input field the user should enter a text.
    In the payroll run I want to change the wage type text on the salary slip for wage type 6666 to the text inputted in the new field.
    We are using HRForms (PE51) for the salary slip.
    Does anybody have a solution or some tips how I can implement this?
    Thanks for your answers.
    Regards.
    Stefan

    Hi,
    Do not change the wage types , you have to delimit the wagetypes from a validity date as you have assigned minimum and maximum amounts for your wage types.
    Regards,
    Kapil Kaushal

  • Dynamic changing column using one calumn values

    Dear All,
    I have one Column having values in single row as Zones|1,Zones|2,Zones|3,Zones4,Venue|Ind,Venue|eng,Country|india,Country|africa......
    In report we have to take Zones, venue, country dynamically and correponding values has to be shown in the column area. Pls provide me any solution .

    Hi Shyamal,
    The closest thing to doing this dynamically would be with a Crosstab report but it won't show you the details, only summarize on the column. 
    Unless you know all the possible columns you may have, you can create something like:
    If {TABLE.FIELD} = "Zones" Then
    Else If {TABLE.FIELD} = "1,Zones" Then
    And so forth.  But you will have to know each and every possible value for that column. 
    Good luck,
    Brian

  • Dynamic change of display

    Hello,
    I want to change the labels on a 7941 dynamic. We have several people using a phone pool and I don't want to reset the phones every time someone is using a different phone... (the phone numbers them self will be forwarded by the phone server ..)

    Hi stephan
    we are upgrading CCM 4.1 to CCM 5.0(1),In 5.0 CCM How to get the Real-Time Informaion (Ip address,Directory number,...) using RisPort webservice ,can you send me sample java code to get the Real-Time information,iam sending SOAPMessage to the CCM but iam getting response with empty values (i referred CCM Developer guide.pdf for sending soap message ) if u send me the sample code it will be very useful for me
    Thanks in advance
    Regards
    Ravindra
    my mail id is:[email protected]

  • Project save as changes columns displayed

    I use Project Server 2010 and Project Professional 2010.
    One user has a problem on her specific machine that I cannot reproduce on mine. When she opens a project and does 'save as', the version that is saved shows different columns to the ones that were in the original file. For example, the original file had
    'work' displayed and the new one shows 'duration' but not work.

    HFprojects,
    Since I don't use Project Server I'm not familiar with how a local Global file interacts with the Enterprise Global file but it does sound like the user's machine is responding to a local Global that is different from the Enterprise Global used by others
    in the Project Server environment. You could try the following:
    1. Close Project
    2. Find the user's working Global (should be C:\users\[PC name]\App Data\Roaming\Microsoft\MS Project\14\1033) and move it to the trash
    3. Open Project and see if it now works correctly
    John

  • How to dynamically change data type

    Hi 
    Let say I have 1 byte in the folowwing hex format (1F )
    Then if I say convert it to 24 bit then the number should become 1F 00 00 and if I say convert it 32 bit the number should become 1F000000
    Could you please help me to implement this in LabVIEW ?
    Thanks

    Ah right, now I see why you mentioned dynamically changing the data type - LabVIEW is a strictly typed language which means you must end up with one of the numeric formats in LabVIEW (with 64-bits being the largest). If you're going to have more than 8 bytes, I'm not sure what the solution would be, if you're going to have 8 bytes or less then I would just assume the worst case and convert/fit the numbers into a U64.
    Here's an example:
    I am starting off with an empty U64, taking each input byte and shifting the U64 left by one byte and then adding the input byte.
    I guess that leads to my next question - what are you going to do with the numbers? Would having an array of U8's or converting the bytes to a character string not be better? If you have a string or array these can have a dynamic length so you can more easily manipulate the data (e.g. by performing string/array indexing functions).
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • ClobDomain and editor Display Type

    I have defined a database column as Clob. When I generate the application, the Application Definition editor shows Java Type as ClobDomain
    for that item. I changed the Display type to 'editor' and when I ran the application the editor is acting weird. First of all when I start typing all the existing text disappears. Is that a limitation with CLOB datatypes?
    I tried using editor for other string types and it works fine.
    Did anyone else encounter the same problem.?
    Thanks.

    Hi Steven,
    This is what the inputtext for CLOB looks like in my case:
    <af:inputText id="Desc"
    value="#{bindings.Desc.inputValue}"
    required="#{bindings.Desc.mandatory}"
    rows="#{bindings.Desc.displayHeight}"
    columns="#{bindings.Desc.displayWidth}" simple="true" partialTriggers="DescEditorLink"
    binding="#{DescEditorItem.editorItem}">
    </af:inputText>
    Could you please explain what processScope means. Should I define that somewhere else other than the .jspx page? Should I replace the existing "value" with the processScope you mentioned.
    Thanks.

  • Programmatically changing the Control Type of ViewCriteriaItem

    Our requirement is dynamically changing the Control Type (Date, LOV, Combo box, etc) of ViewCriteriaItem.
    We are trying in the following way,
    ViewCriteriaManager vm = view.getViewCriteriaManager();
    oracle.jbo.ViewCriteria vca[] = vm.getAllViewCriterias();
    oracle.jbo.ViewCriteria vc = vca[0];
    vc.removeAllElements();
    ViewCriteriaRow vcr = vc.createViewCriteriaRow();
    vcr.setAttribute((String)viewItemRow.getAttribute("WvciColumnName"),"");
    ViewCriteriaItem vc_item1 = vcr.ensureCriteriaItem((String)viewItemRow.getAttribute("WvciColumnName"));
    // Based on some condition
    vc_item1.setProperty(ViewCriteriaItem.CONTROL_TYPE, ViewCriteriaItem.ControlType.DATE);
    But the control type is not changed in UI?
    Kindly help us
    Regards,
    Vijay

    Hi Sonny:
    Finally I've solved the problem in Java mapping program, changing the content-type parameter like this:
         public void setParameter(Map mParametro)
              this.mParametro=mParametro;
              if (mParametro==null)
                   this.mParametro=new HashMap();
              mParametro.put(StreamTransformationConstants.CONTENT_TYPE, "text/xml");
    I hope it helps you. Regards,
    Alejandro.

  • Dynamically change the report column name.

    Hi All,
    I have a report where i am showing data for greater than current week and year and the code of same is below
    SELECT
        item_number,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+1 THEN
                    quantity
            END
        ) plus_1,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+2 THEN
                    quantity
            END
        ) plus_2,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+3 THEN
                    quantity
            END
        ) plus_3,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+4 THEN
                    quantity
            END
        ) plus_4,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+5 THEN
                    quantity
            END
        ) plus_5,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+6 THEN
                    quantity
            END
        ) plus_6,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+7 THEN
                    quantity
            END
        ) plus_7,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+8 THEN
                    quantity
            END
        ) plus_8,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+9 THEN
                    quantity
            END
        ) plus_9,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+10 THEN
                    quantity
            END
        ) plus_10,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+11 THEN
                    quantity
            END
        ) plus_11,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+12 THEN
                    quantity
            END
        ) plus_12,
        SUM
        (   CASE
                WHEN year_week_num = to_number(to_char(sysdate,'IW'))+13 THEN
                    quantity
            END
        ) plus_13     
    FROM
        (   select
                re.item_number,
                row_gen.year_week_num,
                SUM(NVL(re.quantity,0)) OVER(PARTITION BY re.item_number ORDER BY row_gen.year_week_num) quantity,
                ROW_NUMBER() OVER(PARTITION BY re.item_number, row_gen.year_week_num ORDER BY NULL) rn
            from
                (   SELECT
                        to_number(to_char(sysdate,'IW')) + ROWNUM year_week_num
                    FROM
                        DUAL
                    CONNECT BY LEVEL <= 13
                ) row_gen LEFT OUTER JOIN
                        (   SELECT
                                le.item_number,
                                le.quantity,
                                to_number(to_char(sysdate,'IW'))+1 year_week_num
                            FROM
                                BACKLOG_WEEK_WH_AFTR_ATP le
                            UNION ALL
                            SELECT
                                re.item_number,
                                -re.quantity,
                                to_number(substr(re.year_week,-2,2)) year_week_num
                            FROM
                                BACKLOG_ATP_GT_CW re
                         ) re
                    PARTITION BY (re.item_number)
                    ON ( row_gen.year_week_num = re.year_week_num)
    WHERE
        rn = 1
    GROUP BY
        item_numberI have a item in the report page from which i am displaying which week this year holds and the code of same is below
    In the item source, i have selected source type as sql query return single value. and the current week is returning as "2011-WK30"
    select to_char(sysdate,'YYYY"-WK"IW') from dual;Please suggest how i can change the display of column dynamically. I want PLUS_1 to show as 2011-WK31, PLUS_2 to show as 2011-WK32 and so on for this week. When next week will come then the plus_1 should show as 2011-WK32, plus_2 to show as 2011-WK33.
    Any help how to do this?
    Thanks in advance
    Regards

    Hi,
    Go to the Report Attributes, in the Column Attributes section:
    1) Use Headings Type as PL/SQL.
    2) In the text area Function returning colon delimited headings write a PL/SQL anonymous block returning colon delimited headings.
    Hope it helps!
    Regards,
    Kiran

Maybe you are looking for

  • Lost password sqlplus

    i have problem here, i can't connect to sqlplus as sysdba because wrong pass, and i'm so sure i never put pass in sysdba i don't know why its happen to my sqlplus, for the information, before i lost my pass to sysdba, i'm in the middle installation b

  • Error after schudling report for triggring proxy

    Hi friends, In the scnario proxy-jdbc.. i have moved the interface to production and schudled the abap report in background jobs. now when the report is triggered the proxy is called and here i am getting this error. INTERNAL.CLIENT_RECEIVE_FAILED Er

  • Tabs on the side. How to achieve this?

    Hi, In JDev 11.1.1.2.0 using ADF 11g how can i have tabs on the left side instead of on the top or bottom? Is this available?

  • Upgrade to Commercial Account

    Hi We are testing our application that based on LCCS and using 15 USD free quota. It is 2.58 USD now. We want to upgrade to commercial account when we are ready but there isnt any button or link at LCCS developer portal. In demo video, it is at the r

  • Can I use the Producer kits in Drummer to play MIDI tracks I've played with a drum controller? Or...

    ...do they only respond to tracks created in/by Drummer? I'm away from my computer/Logic right now, or I'd fiddle around with it and figure it out (or try to!)  Anyway, I thought I'd ask those of you who've had the new software longer than I (only tw