IF Condition in RTF Help text

Hi,
I have RTF template which contains the field to display the column name. Below are my help text.
COLUMN1 is my XML tag and displaying AQUA color in my excel output.
<?COLUMN1?><xsl:attribute xdofo:ctx="block" name="background-color">Aqua</xsl:attribute>From above scenario, i need to add one more condition if there is no value in my XML tag then don't display the field in my excel output. For example. I have COLUMN1 and COLUMN2 XML Tag. Only COLUMN1 contains the value but COLUMN2 not. In my excel output the COLUMN2 value should not display.
Thanks

Please see if (How to make condition using XML tags to check NULL values in XML Publisher templates? [ID 414022.1]) helps.
Also, see XML Publisher Guide which can be accessed via http://www.oracle.com/technetwork/documentation/applications-167706.html
Thanks,
Hussein

Similar Messages

  • ORA-06502 on "Help Text" region when changing pages on a tabular form

    Hello everybody,
    We are developing an application on Apex 4.1.0.00.32. This application have some pages with tabular forms and these pages uses a page zero as template. In this page zero, we have added two sidebar regions: a list region to navigate on the application and a help text to describe how to use our application.
    The problem occurs when the tabular split the records into pages (since it has more records that it can show on a single page). When the user clicks to change to another page, Apex raises an ORA-06502: PL/SQL: numeric or value error as described below:
    Erro ao renderizar a região "Ajuda". ORA-06502: PL/SQL: erro: erro de conversão de caractere em número numérico ou de valor
    Informações Técnicas (visível somente para desenvolvedores)
    is_internal_error: true
    apex_error_code: APEX.REGION.UNHANDLED_ERROR
    ora_sqlcode: -6502
    ora_sqlerrm: ORA-06502: PL/SQL: erro: erro de conversão de caractere em número numérico ou de valor
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 2
    component.name: Ajuda
    error_backtrace:
    ORA-06512: em "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 3654
    ORA-06512: em "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 4204
    Obs: Our database is in Brazilian Portuguese, so I guess it will be hard for some people to understand the first two lines! :)
    We have tried to change the pagination style of the tabular form and change the region model of the help text but the problem still happens.
    Does anyone an ideia about what this may be?
    Thanks in advance!

    I am getting the exact same message, to the line number, also in APEX 4.1.0.0.32.
    Occurs when changing pages in a classic report, Standard region template, select list pagination, when selecting a different pagination set.
    In English:
    Error during rendering of region "Matched Participants Help & Hints".
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    Technical Info (only visible for developers)
    is_internal_error: true
    apex_error_code: APEX.REGION.UNHANDLED_ERROR
    ora_sqlcode: -6502
    ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    component.type: APEX_APPLICATION_PAGE_REGIONS
    component.id: 2
    component.name: <strong>Matched Participants</strong> Help & Hints
    error_backtrace:
    ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 3654
    ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 4204
    There are no conditions on the region, and no date string within the Help text. Some HTML <strong> tags, that's it.
    The Help region renders fine the first time.
    The Debug info does not help any:
    3.798360.00062Computation point: After Box Body4
    0
    3.798990.00081Processes - point: AFTER_BOX_BODY4
    0
    3.799790.00068Region: <strong>Matched Participants</strong> Help & Hints4
    0
    3.800470.00213Region rendered dynamically because request was not null4
    0
    3.802590.00096Add error onto error stack4
    0
    3.803550.00084...Error data:4
    0
    3.804400.00084......message: Error during rendering of region "<strong>Matched Participants</strong> Help & Hints".4
    0
    3.805240.00084......additional_info: ORA-06502: PL/SQL: numeric or value error: character to number conversion error4
    0
    3.806080.00081......display_location: ON_ERROR_PAGE4
    0
    3.806890.00081......is_internal_error: true4
    0
    3.807700.00084......apex_error_code: APEX.REGION.UNHANDLED_ERROR4
    0
    3.808540.00082......ora_sqlcode: -65024
    0
    3.809350.00234......ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character to number conversion error4
    0
    3.811700.00082......error_backtrace: ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 3654 ORA-06512: at "APEX_040100.WWV_FLOW_DISP_PAGE_PLUGS", line 4204 4
    0
    3.812510.00081......component.type: APEX_APPLICATION_PAGE_REGIONS4
    0
    3.813310.00110......component.id: 24
    0
    3.814420.00099......component.name: <strong>Matched Participants</strong> Help & Hints4
    0
    3.815400.00076...Show Error on Error Page4
    0
    3.816160.00344......Performing rollback4
    0
    3.819610.00225Processes - point: AFTER_ERROR_HEADER4
    0
    3.821850.00268Processes - point: BEFORE_ERROR_FOOTER4
    0
    3.82453-End Page Rendering
    Any thoughts on where to poke around for this one?
    Thanks - Karen

  • 'Include help text' does not show up in PDF

    I am using the Adobe Acrobat XI Pro trial to create writable PDF registration forms, and when I use the 'Include help text' and add the required information, once converted from 'FORMSCENTRAL' into a PDF, the '?' disappears.
    I also can't work out how to 'Save as' in  'FORMSCENTRAL' for different versions of this document (similar registration forms but for five different cities) to make alterations. It seems I have to recreate each city all over again for the PDF version, when I need to make one small change to the Terms and conditions section on our form, for example.
    I would appreciate some guidance, thank you!

    Close the form so you are looking at the "My Forms" tab, the view that shows you all of your forms.  In the "My Forms" tab you can right click on a form and choose "Duplicate" from the context menu or you can select a form and click on the "Duplicate" button in the toolbar above the list of forms.
    Thanks,
    Josh

  • Default file associations and RTF (rich text format)

    I use pop3 email accounts for work.
    I receive daily emails with .rtf (rich text format) file attachments.
    When I open the emails, the attachments are listed.
    I touch to open and QuickOffice loads to open them.
    According to the QuickOffice website, QuickOffice does not support rtf files.. and it certainly does error on them. Why does QuickOffice open at all? I do not need any of its functions except the one it doesn’t have.
    I have installed at present, this list of file managers.
    Android’s default file manager
    OI File Manager
    Astro file manager
    Cool reader
    All of these applications support rtf files.
    How do I set the file association for rtf files to an application which supports them?
    Thanks for reading.

    I have the same problem any help would be appreciated

  • Creating Popup Help Text

    Hello All.
    I've created an HTML Text region containing a List of hypertext links. What I am trying to do is to have a text message appear below the region whenever a user hovers over a given link. This message will explain something about the link.
    I created a "HELP Region" in which I wrote some help text specific to a given link. But I don't know how to get this text to appear only when a user hovers over a specific link. This help text should appear BELOW the region containing the list of links.
    Is there any way to do this?
    Should I be using Javascript? If so, does anyone have an example they can show me?
    Thanks in advance.

    Hi,
    Ok in response to your questions:
    1) In my APEX regions, where exactly do I place this
    javascript. I'm new to using APEX, and so, I'm not
    sure where it goes.The best way to do this would be to put the javascript functions into a separate file eg showHide.js.
    You can then import this into your application by adding it to the top of your template using HTML. This means you don't have to add it for every page, and it will also only be imported once per session, when user first enters the application. For the onMouseOver and onMouseOut bits, they need to be added to the "HTML Form Element Attributes" in the "Element" section of the page item you want the region to use to make the region appear.
    2) Do you think there is a way to toggle the actual
    language used in my text messages that I will be
    showing/hiding? In other words, is there some sort
    of
    language like options in javascript that allow for
    display of different languages such as Arabic or
    German?ApEx does have language translation, but I believe this is only for things such as titles, and headers etc, not for free text. With regards to "toggling" a language, you could create mulitple regions with each language, and then display them conditionally based on the language settings of the browser?
    Sorry I couldn't be more helpful on the last question, but let me know how you get on. Let me know if you have any further questions.
    All the best,
    Cj

  • Using OR condition in RTF Template

    Hi,
    How to use OR condition in RTF?
    say for example,consider the EMP table.
    I want to show the employees of department 10 and 20 in my XML Publisher report.
    How can i write --
    if deptno = 10 or deptno =20 in RTF template

    you can add the condition in RTF template
    <?if:XMLfield=30 or XMLfield=10 ?> to display <?end if?>

  • If Condition in Smartform - window text- without program lines

    Hi,
       I have faced one problem in smartforms. In smartforms i have a window (main.) It has five lines. For Fifth line only i need to check one condition. if it is true then print the Line otherwise i need one Blank line to print.
    How i write if condition in smartforms window - text. 
    Mahesh.

    Hi Mahesh,
    You need to create and alternative node and put your text into that.  An alternative will check a condition, and process one of two nodes depending if it is true or false.  Based on your condition, on true you can have your current text element and on false a text element containing a blank line.
    Regards,
    Nick

  • Between condition in rtf

    hi all,
    can i have between condition in RTF. i'm trying to use <?if:+ExpirationDate+ between StartDate and EndDate ?> but doesn't work.
    any idea about this?
    please share your experience.thx
    rgrds,
    dityo

    No,
    There is no syntax called Between.
    But you can use, > and < , if the dates are in canonical format.

  • Using shortcuts in Item Help Text

    Hello everyone,
    I have a problem using shortcuts in Help Text sections of items. It says in the help "Item help supports shortcuts using "SHORTCUT_NAME" syntax." but it seems not. In the shortcuts sections of the shared components, it doesn't says that shortcuts can be used in Help text section.
    I am using 3.1. It is a 3.1 bug? I didn't see int he corrected bug's list that is was a bug in 3.1 so.
    If it is not a bug and it just doesnt work in help text sections, do you have any suggestion to supply help text from a help system somewhere else in the organisation?
    Thank, Bpprive

    Thank a lot,
    You can find the information by clicking on "Show edit link" on a page, then on the edit link of a textfield, scrolling to the section "Item help text" and finally on "help text", juste above the textarea.
    "Identifies help text for a page item. This help can be displayed by a help system. Item help supports shortcuts using "SHORTCUT_NAME" syntax."
    I was really happy to find an easy and customizable way to implement help text provided by help system. I have some more ideas, but I't was far away the greatest!
    Thank, bpprive

  • If - else condition in RTF

    Hello,
    I have four columns. The value of the fourth column depends on the first three columns. Here are the conditions. Col1 is always 0 or less than 0.
    1) if col1 = 0, then col4 = 0
    2) if (col2 + col3) + col1 >0, then col4 = col1
    3) if (col2 + col3) + col1<0, then a) if col2 + col3 >0 then col4 = col1 - (col2 + col3)
    b) if col2 + col3 <0 then col4 = 0
    How can I write the if-else statements for the above mentioned conditions?
    Please Help!

    I would suggest handling this at the query level using a case statement.

  • Help Text for Field Name.....

    Hi Experts,
    In ALV Report there is Feild names like Order No., Qty, etc.
    When the user moves the cursor to the Feild Name i.e. Qty, it should show help text "This Qty is for A-B...".
    How to bring help text for Feild name when the cursor move to feild name ?
    Pl. guide.
    Yusuf

    Hi Shiva,
    There is no field TOLLTIP in SLIS_FIELDCAT_ALV.
    My sintex is :
      w_fcat-col_pos     = 9.
      w_fcat-fieldname = 'FACTOR'.
      w_fcat-seltext_l = 'Stock Value (55 %)'.
      w_fcat-outputlen = 18.
      w_fcat-do_sum = 'X'.
      APPEND w_fcat.
      CLEAR w_fcat.
    Is there any other way becaz there is no field like tooltip?
    Yusuf

  • How to display help text for Region in a page having more than one region

    Hi all,
    I want to display help text for each region in my page. I have 5 regions in my page.
    I have a big help text for each of my region so can any easy way is there to put the help text for each region more than 10 lines .I tried lot by searching forums but not able to implement. any document is there then please let me know.
    Thanks in advance,
    Amit

    i mean either if we click the region title name it should display some help text of near about 10 lines in a popup window.
    Or on moseover whenever we will put the cursor into the region title then it should displat the help text message of line 10.
    Hope you will get my qustion well.
    Thanks,
    Amit

  • Page level help text question

    APEX - 4
    DB version - 10g
    Web server architecture - OHS
    Browser - IE8
    Theme - 5
    I know how to set and display help text for a page item, and I see there is the option to add help text at the page level, but how does the user accessing the screen see the page level help text?
    I was thinking it might be a good way to add user help guide information at the page level.
    Thank you for any assistance.

    I know how to set and display help text for a page item, and I see there is the option to add help text at the page level, but how does the user accessing the screen see the page level help text?Using a Help page and region accessed via a help link (e.g. a navigation bar entry), or using the <tt>apex_application.help</tt> API method in a PL/SQL Dynamic Content region.
    This is covered in the APEX documentation which should be consulted before posting a question here.

  • Front End Screen to Update Item Help Text

    Hello, I've been asked to create an Apex front end screen which the Administrators can access in order to update the Help Text associated to the page items within our application (Apex 4).
    I created a basic Interactive Report:
    select page_id, item_name, display_as, ITEM_HELP_TEXT from APEX_APPLICATION_PAGE_ITEMS where application_id = :APP_ID;
    I also have an edit page, which contains the page id (display only), item_name (display only), item_help_text (text field).
    Everything is working fine, except that when the Update process fires to update the help text, I get an Insufficient Privileges error message.
    Update APEX_APPLICATION_PAGE_ITEMS
    set item_help_text = :p7_item_help_text
    where item_id = :p7_item_id
    and application_id = :APP_ID;
    Just wondering, is it possible to update this APEX_APPLICATION_PAGE_ITEMS table? If not, can you please advise what the workaround would be?
    Thank you,
    Laura

    Log on as APEX_04000 user and then grant permission to your wpplication schema user. For a example if your application schema is app_user then
    Grant SELECT,UPDATE ON APEX_APPLICATION_PAGE_ITEMS  to app_user;Thanks
    * If this answer is helpfull or correct then please mark it and grant the points.

  • Getting help text to show on fillable form

    Hi all,
    This might be really simple but I've created a few forms in FormCentral and I've included the 'help text' on a few fields. When I save the form as a PDF and open with Adobe reader, I get the purple bar across the top stating 'Please fill out the following form', however the help text does not show up anywhere to give guidance?
    Is this a particular view setting in reader?
    Thanks,
    Cory

    The help text won't display in the purple document message bar at the top, but should appear as the tooltip text when the mouse cursor hovers over a field that has help text set. It works that way for me.

Maybe you are looking for