Hide Columns in RTF templete

Hi All,
I am working on report developing on Oracle EBS 12R now i need to develop a report that, according to a input parameter(Run time) some columns should getting disable (Hide).
let see the report has 3 colums A, B, C and runtime parameter and it's value as Active / Inactive..
when parameter value equals Inactive Column C should hide.
this is possible while creating RDF using Report builder (Using Format trigger) but after add RTF templete to the report it doest hiding.
do i need make some changes in the xml publisherTemplete...?
Regards,
D F o r z

you might have better chances to get an answer in an xmlPublisher forum.

Similar Messages

  • How to make XML element used in RTF PRIVATE/PUBLIC ? I know how to hide columns in RTF, but dont know how to generate the xml in below way. Please help.

    Hi
    I am following below link to hide/show my columns dynamically. See "Column Formatting"
    http://docs.oracle.com/cd/E12844_01/doc/bip.1013/e12187.pdf
    As per doc, element can be made private/public.
    <items type="PUBLIC">
    <item>
      <name>Plasma TV</name>
      <quantity>10</quantity>
      <price>4000</price>
    </item>
    <item>
    And same can be used to hide the column using condition
    <?if@column:/items/@type="PUBLIC"?>
    MY QUESTION IS HOW TO DO THIS IN MY XML BELOW?
    Below is part of my XML code which I am using in Data Definition for RTF.
    <group name="GH3" source="QH3">
    <element name="COLUMN_HEAD3" value="COLUMN_NAME" />
    </group>
    <group name="GH4" source="QH4">
    <element name="COLUMN_HEAD4" value="COLUMN_NAME" />
    </group>
    I am getting output like this.
    <LIST_GH3>
    <GH3>
    <COLUMN_HEAD3>REBILL_TO_OTHER_BUSINESS_UNIT</COLUMN_HEAD3>
    </GH3>
    </LIST_GH3>
    <LIST_GH4>
    <GH4>
    <COLUMN_HEAD4>XYZ</COLUMN_HEAD4>
    </GH4>
    </LIST_GH4>
    In order to use logic as per oracle document I want output like this.
    <LIST_GH3 type="PUBLIC">
    <GH3>
    <COLUMN_HEAD3>REBILL_TO_OTHER_BUSINESS_UNIT</COLUMN_HEAD3>
    </GH3>
    </LIST_GH3>
    <LIST_GH4 type="PRIVATE">
    <GH4>
    <COLUMN_HEAD4>BLANK</COLUMN_HEAD4>
    </GH4>
    </LIST_GH4>
    What changes I need to make in my XML code to get the runtime output as above? Please help. Where do i need to make changes in the above xml? Group name? Element name?
    I am planning to use below condition in RTF template to hide the column,  but dont know how to set the type of column as PRIVATE/PUBLIC in the XML output used to populate data in the RTF at runtime.
    <?if@column:/BTSPIEXP/LIST_GH3/@type=”PUBLIC”?>COLUMN_HEAD3<?end if?>
    Regards,
    Swapnil K.

    Hi,
    Issue has been resolved. I used the value of the element to determine to display it or not.
    Regards,
    Swapnil K.

  • Hide column in the adress if it is null and print next line in XML publishe

    Hi,
    I'm converting oracle report to XML publisher report.
    I craeted template rtf with word. everything works fine.
    Except address prints null coumns if it is null.
    I used if condition in template. something like this...
    <?if:B_ADDRESS1!=''?><?B_ADDRESS1?><?end if?>
    But I see still it prints null columns.
    Any body have idea how can i fix this?
    Thanks
    pallavi

    Hi Guys,
    I have built a template for FSG reports. Currently the FSG Reports when run in XML does pull the Display Sets definition for the report. The Display Set is used to hide certain row and Column intersections from the FSG.
    So to accomplish this I have coded each column in the template to display data or hide data for a particular row by using the code
    <?if:(position()) !=1?><?fsg:RptCell[2]?><?end if?> ------ This means, show the column for all rows except row 1.
    Now there are some places I have to hide Column 1 for row 2 and row3 and display for row 1 and row 4.
    Can anyone please tell me how I can accomplish this.
    Thanks

  • How to hide column of DataGrid

    I am making a web part in which I am using System.Web.UI.WebControls.DataGrid control.
    It's AutoGenerateColumns property is set to TRUE.
    I am trying to hide a column at run time. I have written the following code on this controls ItemCreated event but it only works if I e.Item.Cells[0] and it doesn't work for any other value for e.g. e.Item.Cells[1] and e.Item.Cells[6].
    There are 9 columns in my DataGrid control.
    Code
    protected void grd1_ItemCreated(object sender, DataGridItemEventArgs e)
    { e.Item.Cells[0].Visible = false; //works fine
    e.Item.Cells[1].Visible = false; //gives error e.Item.Cells[2].Visible = false; //gives error
    Error
    Specified argument was out of the range of valid values.
    Parameter name: index
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    How to hide a particular column?

    Hi Frank,
    You can try something similar to the below in 'RowCreated' event Instead
    protected void gridView_RowCreated(object sender, GridViewRowEventArgs e)
    e.Row.Cells[1].visible =false;
    OR I would say hiding column is not something that is to be done at row level, so you can hide columns outside any of the grid view event after binding.
    e.g.
    gridview1.columns[1].visible=false;
    I am using DataGrid control in which there is no RowCreated event.
    I have tried second approach but it also doesn't work.

  • Expression to Hide Column

    Hello everyone...I am using web application.Can anybody tell me how to hide column if data is not present in it in RDLC table using nchar type of data.I have used expression for it but its not working As column is hided but  if I insert some
    value in that column then it should display value but it is not displaying,it hides column.

    Hi Sayali,
    Is the issue same as raised in below thread? Try out the fix provided by Wendy Fu and also other expressions provided in there.
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/76bba7ad-e6a0-4b7b-b17d-885494439446/column-visibility-issue-in-ssrs2012?forum=sqlreportingservices
    -Vaibhav Chaudhari

  • Purchase order history : hide column 'Amount'

    Hi,
    On purchase order history, i want hide column 'Amount'.
    This column must be always hide.
    Have you a solution for this ???
    Regards.

    Hi,
    Check User Role , and then remove the authorization for Activity "09" or open purchase order history and then hidden the price by using layout option anf then from manage layout ,set the layout as in "Default"
    User can able to change this layout ,then restrict all users with below mentioned authorization control.
    Object to control layout for specific user as follows
    Object-'S_ALV_LAYO' and 'ACTVT' -23.
    Hope this will resolve your query.
    Regards,
    Sandesh Sawant

  • Mixed bag  1.     I have a security app on my computer, Flashbrief.  I have it checked in the hide column but whenever I turn on the computer it appears in the top menu line.  2.     Whenever I turn on the computer, a new blank document window in MS Word

    mixed bag
    1.         I have a security app on my computer, Flashbrief. I have it checked in the hide column but whenever I turn on the computerit appears in the top menu line.
    2.         Whenever Iturn on the computer, a new blank document window in MS Word 2011 appears.  I do not have this listed in the login items.
    3.         I have a current model of Apple wireless mouse. It keeps getting stuck in text or e-mails and I have to somehowotherwise move the cursor to break it free.
    Help with any of these will be appreciated.
    BF

    1.         I have a security app on my computer, Flashbrief. I have it checked in the hide column but whenever I turn on the computerit appears in the top menu line.
    I've never heard of this software, and cannot find any reference to it online, which is a bit concerning.  What is it supposed to do?  There really isn't much need for security software on a Mac.
    2.         Whenever Iturn on the computer, a new blank document window in MS Word 2011 appears.  I do not have this listed in the login items.
    In Mac OS X 10.7, any applications left open when you shut down or restart are re-opened at startup, and any documents left open in an app when you quit are re-opened when you launch them again.  The former can be controlled by unchecking the box in the restart/shutdown alert:
    You will need to do this each time you shut down or restart, it won't remember that setting.
    The latter can be deactivated by unchecking the box in System Preferences -> General:
    3.         I have a current model of Apple wireless mouse. It keeps getting stuck in text or e-mails and I have to somehowotherwise move the cursor to break it free.
    That does not sound normal, but I don't use a mouse with my MBP, so I can't provide a solution, other than to try replacing the batteries in the mouse.

  • How to hide column in BEx Analyzer

    Hi gurus
    In my report I have to show 5 columns depending on a condition.
    Is it feasible?
    Regards

    Hi,
        You can use VBA Macro to execute Code to hide the columns based on the condition.
    This is in 3.5
    Sub SAPBEXonRefresh(queryID As String, resultArea As Range)
               'Check you condition
               If <condition> Then
                       'This will hide Column 3 on Sheet1 where the Query is.
                       ThisWorkbook.Sheets("Sheet1").Columns(3).Hidden = True
               End If              
    End Sub

  • Hide column in webreports (without table interface)

    Hi,
    I want to hide columns in my webreport only(!) with the context menu. The idea is to set a statement like "remove drill down" --> <SAP_BW_UR CMD='Expand' DATA_PROVIDER='View1'IOBJNM='0COUNTRY' >
    The problem is that I don't which InfoObject is selected, because I'm changing the standard template. Is there a chance to get that information by clicking to the menu?
    Hoping sb can help.
    Barbara

    Hi,
       i can forward you the documents regarding u r requirement.
       mail me at [email protected]
    regards,
    ravi

  • Hide column based on prompt

    Hi Gurus,
    Can i hide column based on Prompt value?
    My requirement is
    I have report is showing Daily/Weekly/Monthly data based on prompt value ( Prompt selected values are Daily/Weekly/Monthly)
    If user select daily then report will display data every day. if user select Weekly then report will display Every week data ( Week start from Monday).
    I have one more columns as Day name to display day of the week for daily report. its working fine.
    but i want hide day name column when i run report for weekly.
    How can i hide column based on Prompt value. is it possible in OBIEE 10.3
    really appreciated for your help

    Here's simpler approach. Use column selectors.
    1) The first column in your column selector will be where you put your Daily/Weekly/Monthly choices.
    2) In the second column, put your Day column. Add another column, doesn't matter what. I'll explain later. In the caption for this column, put in something like "Select to Hide Day column."
    3) Click "OK" and put your column selector in your Compound Layout.
    4) Now, select the other column in place of the Day column.
    5) Now go to the criteria tab. The "second choice" column should now be there in place of the original first column. Dummy out this column and click on the "Hide" checkbox in the column properties. Change the name to "No column."
    6) Now go back to Results. The user now has two choices for the Day column, either the original column (the Day column) or the "No column" choice. When the "No column" choice is selected, the column disappears from the report. Users can make the selection whenever they choose Weekly as their choice.

  • Hide column in Excel output?

    I have a .cfm file generating Excel output using CFContent.
    The client want to have certain data in a hidden column.
    I am already using XML to freeze the header and I tried
    hiding the column by using a <LeftColumnVisible> tag within
    the WorkSheetOptions (which is what Excel generates when you hide a
    column). But it doesn't come through in the CF output.
    Any suggestions?
    Ken

    Thanks. But "Exclude XML output" does not work dynamically. It cannot be set to "No" or "Yes" programmetically.
    What I would like is to provide my user a parameter "Show Column X? (Yes/No)". Based on user's choice, the Excel output should display or hide column X.
    Thanks for the response!

  • How to I hide column heading completely ?

    There is a similar post on 10g - How to I hide column heading completely ?
    The solution is - To achieve this, go to Edit Table View, open Table View Properties. Here you should see an option called 'Display table and column Headings'. Here set its value to 'No column or table headings'.
    I'm on 11.1.1.5 and when I go to Edit Table view -> Table View properties -> Display Folder & Column Headings , I see four values as below but there is no value 'No column or table headings'. The values are -
    -Only column headings
    -As separate rows
    -As Folder.column
    -As Folder.column (where needed)
    Is this 'No column or table headings' value no more available in 11.1.1.5 ? Is there any alternative method to achieve this?
    I'm able to hide the column header using various ways e.g. setting Display Heading option, but when I download the results it has either the header present or an empty row. In 10g the option 'No column or table headings' removed the header completely from the download file.
    Any suggestions please?

    Anybody has any thoughts on why 'No column or table headings' option is removed from 11g or is it just 11.1.1.5?
    Is this a bug or any other feature has been provided to achieve the same?

  • How to Hide Column

    Hello,
    How can I hide columns within an AdvancedTable programmatically? Ex. All columns shall be shown if the value of my dept is "Dept1" while only Column1 to 2 shall be shown if my dept is "Dept2"? Pls advise. thanks

    As Kumar rightly pointed out, you need to refer the Dev guide for this. Refer the section on Partial Page Rendering.
    To summarize you would have the Rendered Property on the columns like this
    ${oa.<VoName>.<VOAttributeName>}
    Based on the conditions you would set the attribute value(which is boolean) to true or false and accordingly either the column with show or hide. The VOName is the name of the Partial View Object you create for the purpose. Do let us know if you have difficulty in understanding PPR.
    Regards
    Sumit

  • Hide columns in pages

    My help menu says to choose "hide selected column(s) from the reference tab pop-up menu".  The option appears in the pop-up menu, but is unavailable to choose.  Additionally, I don't seem to be able to select more than 1 column at a time.

    Joyce,
    Is you question about hiding columns in Numbers or Pages?
    To hide a column of a table in Numbers select the columns(s) you want to hide then click the contextual menu for a column, and select "Hide Column":
    NOTE:  One reason you may not be able to hide a column in Numbers is if you have merged cells
    In Pages:
    You cannot hide so you will have to delete
    The icons for the Applications Numbers is on the right and Pages is on the left:

  • Dynamically display/hide columns according to user inputs

    Hi,
    I need to display or hide columns in reports based on user input. ie. I have several prompts, if user doesn't input values, then the associated columns will not be displayed in the report. Is there a way to achieve this in BO XI R2. Greatly appreciated for your help.

    Hi Andy,
    You can't hide them totally, but you can get close using alerters.
    Build an alerter (probably a formula one) that put the value ="" in the field.
    Now the formula should test the userresponse for that column,
    based on the contents of it (filled in --> false, otherwise --> true).
    Apply the alerter to all cells of the column. It will empty completely when the prompt was not filled.
    Just set the width of the column to automatic (best use the header cell only) and the minimum width on zero. It will shrink the width when empty, making it seem as if hidden.
    Good luck,
    Marianne

Maybe you are looking for

  • How do I move my itunes library to a new computer

    how do I move my itunes library to a new computer I now have a HP with Windows 8 and need to move my itunes library from my Lenovo..

  • Read multiple text files

    Hi everyone out there, I would like to know how to read multiple files from same directory, but files hve different name, using java. Any help is appreciate, need asap.. Thnx,

  • Load and resize a SWF inside a MC

    Hi, I'm using AS2 to load an SWF inside an MC. The MC measures 800x600, while the SWF (which can vary in size) measures in this case 14x60, even though, looking at it, it seems to be about half the size of the hosting MC. This makes me think that the

  • Dreamweaver template is freaking out

    OK... this is too weird. 1.  Made a master template as I've done a million times before 2.  I make changes to the template and it doesn't give me an option to SAVE. (grayed out) 3.  BUT... all the other pages are changing simontainiously (sp).  also

  • Cómo puedo encender mi iPod nano (7ª generacion) que no enciende?

    No consigo encenderlo ni Aun sosteniendo los dos botones de home y de On/off. Cuando lo conecto a iTunes, este lo reconoce, ya lo he restaurado pero aun asi no logro encendero