How to display special characters in APEX Classic Report column

Ref: Thread: How to display newline characters as new lines
Version: APEX 3.2
Hi,
I have created an classic SQL Report with one of the columns being a decode that gives a value 'Post'(the value should be highlighted in Red) on one condition and 'Pre' on another. I have followed the advice given in the page (URL provided above) , i.e. I have changed Strip HTML to 'No', changed Display as to 'Display as text (escape special characters, does not save state)'. I have also passed this value back to the same page to be stored in a page item each time a link (another column in report) in report is clicked. I have tried passing it as #DEADLINE# and \#DEADLINE#\. The issue I face is, instead of the value being highlighted in Red, it gets passed back as a string holding the value 'Post'. Is there any way I can get this to display as it should without the Strip HTML being changed to 'Yes'.
Thanks very much.
Rohi
Edited by: Rohi on 18-Jul-2012 04:21

876651 wrote:
Hi,
Thanks for your response.
I am trying to display a page item that is derived from a report column based on a click on the URL link (*view >*>)
This page item (here, it is Manager_ID) should ideally be highlighted when a particular condition is satisfied (achieved using a DECODE in the report).
But it is not displayed like it should be.
I do not want the value to be displayed along with the html tags as a string.
I want the html tags to take effect and highlight the value within it.
Initially, I had set Strip HTML to Yes and the value was returned without any highlighting .
So I changed it to 'No' and and it contained the html tags.
I am not sure what setting in APEX Report Attributes can help me achieve that effect I want.None of the report settings are relevant. They affect the rendering of the report and none of the columns you were changing the properties of were actually rendered.
You can't pass HTML and CSS around in URL parameters.
I suggest you pass *2* values in the column link: the MGR ID and a simple class or colour value computed by the DECODE in the report. I've suppressed the first version of the report and created a new one that does this:
decode(dept.deptno, '30', 'c00', '000') highlight The link column now passes the MGR ID and the HIGHLIGHT colour (red when the condition is satisfied and black when it is not).
I created another hidden and protected page item <tt>P0_HIGHLIGHT</tt> as the target for the highlight value, and used the Pre/Post Element Text properties of the <tt>P0_G_MGR</tt> to wrap it in a <tt>span</tt> whose colour is changed using the <tt>P0_HIGHLIGHT</tt> value as a subtitution string:
<span style="color: #&P0_HIGHLIGHT.;">Having done that, I still don't really get the requirement here. I'm sure that given the full picture I'd be using a completely different approach...

Similar Messages

  • How to render special characters (math symbols) in report column headers

    I want to enter the following characters in a report column heading:   ng &frasl; &mu;l
    In text items they render correctly when I use the following codes:
      ng &frasl; &mu;lbut in column headings they render as
    Ng / Ml
    Anyone know a fix?
    thanks in advance
    PaulP

    Paul,
    I used it in my Report i don't see any problem, you might want to check it again
    i have seen using &Mu; gives 'M'.
    so make sure you are using lowercase 'm'
    another solution: use this "ng / µl" directly on to the column or to the header it works,
    if you get anything like this "¿", then copy the "µ" symbol from Microsoft Word and paste it, i did the same :p.
    Thanks
    Kumar

  • How to display special characters in Script...

    hi all,
    Can any one tell me how to display special characters in script...
    how to write in text element
    thanks in advance,
    prashant

    Hi Prashant ,
      What special characters would you like to include .
    There are a set of characters / icons /symbols that can be included in Script , for that open a window in edit mode and in the menu there will be an option called Insert  , here you can find a lot of characters/symbols that can be included .
    Regards,
    Arun

  • How to handle special characters in Apex

    Hi ,
    In my application I have two regions - one is Report Region (Interactive Report) and other one is HTML region with two text items - Empno and name
    My Report has two columns Empno(varchar2) and Ename(varchar2).
    When I click the edit link in the report column, the empno should have a read only EMPNO value and ename is a text field with ENAME value.
    When I run my application I have encountered the following problems :
    1. if my empno has special characters like ' # ', the characters after that is not getting displayed
    2. if my empno has special characters like ',' - the characters after comma is treated as a next texitem value
    Here is my credential ,
    Workspace CTSAN_ORACLE_DB
    Username [email protected]
    Password lakshmi321
    URL : http://apex.oracle.com/pls/apex/f?p=9444:19:4292839314890159:::::
    Plz. suggest me how to rectify the above problems.
    Thanks,
    Anoo..
    Edited by: Anoo on Aug 13, 2010 3:05 AM

    Don't pass data values in URLs. Whilst it is possible to escape values to make them URL- and APEX parameter-safe, it is much better practice to avoid the problem altogether.
    Create a surrogate primary key on the table that is an immutable discrete numeric identifier and only use this as a URL parameter. In target pages/regions, use this PK value to retrieve the required data from the table.

  • How to display the  text in a classical report before top-of-page?

    Hi all,
    I am developing a classical report with top-of-page because i want to display the texts of cloumns  even users scroll down the output.
    But here the problem is i have to display a text and selection screen values in the ouput ,Before this top-of-page. But i couldn't find the way to do it.
    Please help me on solving this problem?
    Thanks,
    Vamshi.

    Hi Vamsi,
    whenever there is write statement and you are going to display some thing the system checks for the TOP-OF-PAGE and we are helpless here
    so declare your heading in the TOP-OF-PAGE only
    THIS is SAP provided way of the SYSTEM bahaviour
    Regards
    ramchander Rao.k

  • How To: Display Special Characters, Not Boxes?

    Okay, here's a question. I searched the FAQs, the support pages, and used the search forum option and came up with nothing, so here I am.
    I have CDs that are from other countries, namely Japan. The bands names and song titles are written in Kanji (the symbols rather than letters written out).
    When I import the songs to iTunes, the kanji characters show up as little squares instead of the actual characters.
    However, when I copy the song title or band name and then paste into a messenger window or Word or a browser search bar, it shows up just fine.
    To me, this says the information is still there, just not displaying correctly in iTunes. And since I can see it in other applications, my computer can obviously read the character set.
    As it stands right now, and in past releases of iTunes, I have to decide which "four square" song is the song I wish to listen to. (When there are 20 "four square" songs by the same "two square" artist, all roughly 3 minutes in length, it gets a bit difficult to figure out which song is the one you're wanting.)
    Side note - On my iPod, it doesn't show up as boxes, but rather as funky symbols that are not in any way kanji. Like an A with a degrees sign over the top of it and various $%*# symbols instead of the Kanji.
    So, the question is, is there a solution to this or at least somewhere I can enter the question as an "I need support" question?
    I found places to report everything under the sun except for iTunes or the iTunes store. Very... disturbing...
    Thank you for your time and I hope someone at least has a suggestion!
    ~Dark Avenger
    Dell Inspiron 5100 - Windows XP

    Have a look at Tom Gewecke's User Tip and see if it contains a solution to your problem.

  • How to display special characteds in OBIEE reports?

    How to display special characters/multi lingual characters in OBIEE reports? Could you please let me know were all I need to make the changes in OBI so as to see the similar set of characters that being saved in database.
    Thanks in advance
    Regards,
    Jeetender
    Edited by: user9353498 on Mar 17, 2010 3:55 AM

    Hi,
    I believe it depends on your database type. If your database query supports it, OBIEE should not have any problem.
    I think there are only 2 constraints which might stop OBIEE from displaying special characters.
    1) OBIEE internal javascript which does not allow special characters
    2) Database type which does not allow special characters in query.
    If you can take care of these 2 reasons, then it should be possible.
    However, experts can shed some more light on it.
    -Vinay

  • Display special characters

    Hi,
    i'm displaying usernames in our application, but i'm not sure
    how to display
    special characters correctly.
    When using the labels htmltext property, it only recognized
    html style tags, but
    no html encoded special character like &uuml; for the
    german character ü.
    The encode string is simply displayed literally: &uuml;
    Anyone knows how to display those special characters
    correctly ?

    Try one of the NSString "stringByReplacingPercentEscapesUsingEncoding" methods.

  • How can I display special characters of NonEuropean languages (French, Italian, Spanish, German and Portuguese.) using import string mechanism

    I would like to translate the User Interface of my application to French, Italian, Spanish, German and Portuguese.
    When I put special characters in the import string file they showed up as ? (question mark)
    The import strings file includes the following parameters for each string: font, text, size and style. (but no field for script)
    In order to use a unicode font such as Arial I need to select a french script. But this option is not supported bu LabView (As far as I saw)
    A) Is there a font which is directly German/ French etc and not regula font + script parameter?
    B) Are there another required step
    s for special characters support? (When I put speciual characters in the import string file the showed up as ? question mark)

    This was discussed last week in this group- read the previous messages.
    Look for the thread "Foreign Languages in Labview"
    And recite the mantra
    ActiveX is good
    ActiveX is holy
    All Hail Bill
    Those who claim otherwise are heretics and not to be trusted
    Actually, in this case the non-ActiveX suggestions may be good.
    talia wrote in message
    news:[email protected]..
    > How can I display special characters of NonEuropean languages (French,
    > Italian, Spanish, German and Portuguese.) using import string
    > mechanism

  • [Solved] TTY doesn't display special characters correctly

    Hello everyone.
    I want to set my system language to german. I followed this tutorial: https://wiki.archlinux.de/title/Arch_Li … .BCber_HAL
    Everything works good except that my TTY can't display special characters. Example:
    http://i.imgur.com/ZW6kbOS.png
    The is " not showing correctly at the bottom. However, the german umlaut ä works (as you can see).
    I have already searched the arch forum. The only thing i have found is setting DAEMON_LOCALE="yes" in rc.conf. However, these post are already quite old and don't solve the my problem (as öäü are working). Additionally, Arch has stopped using rc.conf.
    So, what causes this problem and how can i solve it?
    Here are my configs:
    /etc/locale.conf
    LANG=de_DE.UTF-8
    LC=
    locale -a
    C
    de_DE.utf8
    en_US.utf8
    POSIC
    locale
    LANG=de_DE.UTF-8
    LC_CTYPE="de_DE.UTF-8"
    LC_NUMERIC="de_DE.UTF-8"
    LC_TIME="de_DE.UTF-8"
    LC_COLLATE="de_DE.UTF-8"
    LC_MONETARY="de_DE.UTF-8"
    LC_MESSAGES="de_DE.UTF-8"
    LC_PAPER="de_DE.UTF-8"
    LC_NAME="de_DE.UTF-8"
    LC_ADDRESS="de_DE.UTF-8"
    LC_TELEPHONE="de_DE.UTF-8"
    LC_MEASUREMENT="de_DE.UTF-8"
    LC_IDENTIFICATION="de_DE.UTF-8"
    LC_ALL=
    /etc/vconsole.conf
    KEYMAP=de-latin1-nodeadkeys
    Note that i am running Arch as guest in a VirtualBox.
    -- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --
    Last edited by Oznerol256 (2013-11-01 09:49:08)

    I'm pretty sure you have to specify font and font map in vconsole.conf
    like so:
    FONT=Lat2-Terminus16
    FONT_MAP=8859-2
    If that doesn't help it could be this.
    If so try to load settings manually, I can't test German setup, but for Polish I could do this to get national characters:
    loadkeys pl
    setfont Lat2-Terminus16 -m 8859-2
    that requires to be root/sudo
    note that -m 8859-2 part is quite important
    edit:
    actually got all German symbols to be displayed correctly, though I do not know if they are assigned for right keys for obvious reasons
    loadkeys de-latin1-nodeadkeys
    setfont Lat2-Terminus16 -m 8859-2
    read read topic in then link to hopefuly fix why settings are not loaded on boot
    Last edited by nutsh (2013-10-31 02:47:48)

  • How to print Special Characters in Sap-Scripts

    How to print Special Characters in Sap-Scripts
    Thanks,
    Ravi

    Hi
    if u want print special characters we can use hot codes i.e '  '  (single inverted commas). in between these hot codes insert u r special characters.
    write    '    !@#$%^&*( )  '.
    for the above write statement output is
    output is   !@#$%^&*( )

  • Displaying special characters in ALV report.

    Hi Experts,
    Can we display special characters in ALV reports? Special characters such as tick mark.(Like in character map(Font Bookshelf  Symbol 7) of windows ).
    I tried with icons in ALV report, I was able to display tick icon in the ALV report, but when we export the report in to a excel, the icons comes in as Hexadecimal code.
    Can any we display special characters like tick in ALV report or display the icons in excel aswell?
    I will be gratefull for the <urgency reduced by moderator> response.
    Regards,
    Sharath.
    Edited by: Thomas Zloch on May 10, 2011 10:26 AM

    Sharath,
    I think it is possible to do so.
    Please check this link.
    http://www.sapfans.com/forums/viewtopic.php?f=13&t=322569
    Thanks,
    Guru.

  • How to write special characters in PDF using iText

    How to write special characters encoded with UTF-8 in PDF using iText.
    Regards,
    Pandharinath.

    I don't know what your problem is but that's almost certainly the wrong question to ask about it. Java (including iText) uses only Unicode characters. (You may consider some of them to be "special" if you like but Unicode doesn't.) And when it does that, they aren't encoded in UTF-8 or any other encoding.
    So can you describe your problem? That question doesn't make sense.

  • Display special characters in Workbook / BEx-Query

    Hello,
    Actually we have the problem to display special characters of the customer number-descriptions in workbooks / BEx-Queries. In the text-table of 0CUST_SALES (/BI0/TCUST_SALES) we can see the special characters in the descriptions for example for Polish names (here: OBI WROCŁAW). But in the reports the special character "Ł" is replaced by "#".
    The InfoObjekt is marked as non-language dependent.
    In the backend we are already working with BI 7.0. At the front-end-side we are still using the 3.x-toolkit.
    Does anybody have an idea?
    Kind regards
    Daniel

    I had this problem with Thai characters.
    You need to have a Windows configured with polish chars to see them, I fear.

  • [SOLVED] urxvt does not display special characters

    Okay so I've been scouring the internet, Googling my face off. I am an intermediate linux user, first-time Arch user (just came over from Mint and love it). Perhaps I'm missing something obvious, but I am unable to get urxvt to display special characters. E.g.:






    displays in the terminal as:
    Relevant informations...
    .Xresources:
    !color0 (black) = Black
    !color1 (red) = Red3
    !color2 (green) = Green3
    !color3 (yellow) = Yellow3
    !color4 (blue) = Blue3
    !color5 (magenta) = Magenta3
    !color6 (cyan) = Cyan3
    !color7 (white) = AntiqueWhite
    !color8 (bright black) = Grey25
    !color9 (bright red) = Red
    !color10 (bright green) = Green
    !color11 (bright yellow) = Yellow
    !color12 (bright blue) = Blue
    !color13 (bright magenta) = Magenta
    !color14 (bright cyan) = Cyan
    !color15 (bright white) = White
    !foreground = Black
    !background = White
    !URxvt*termName: rxvt-256color
    URxvt*termName: rxvt-unicode
    URxvt*transparent: true
    URxvt*depth: 32
    URxvt*shading: 70
    URxvt*saveLines: 12000
    URxvt*foreground: #BABABA
    URxvt.font: xft:terminus:pixelsize=11:antialias=false
    URxvt*scrollBar: false
    URxvt*borderLess: false
    URxvt*inheritPixmap: true
    URxvt.urlLauncher: google-chrome
    URxvt.imLocale: en_US.utf8
    URxvt*color0: #000000
    URxvt*color4: #005577
    URxvt*color6: #89b6e2
    URxvt*color7: #cccccc
    URxvt*color8: #555753
    URxvt*color12: #0075A3
    URxvt*color14: #46a4ff
    URxvt*color15: #ffffff
    Output of locale and locale -a:
    [dusty] [~]
    $ locale
    LANG=C
    LC_CTYPE="C"
    LC_NUMERIC="C"
    LC_TIME="C"
    LC_COLLATE="C"
    LC_MONETARY="C"
    LC_MESSAGES="C"
    LC_PAPER="C"
    LC_NAME="C"
    LC_ADDRESS="C"
    LC_TELEPHONE="C"
    LC_MEASUREMENT="C"
    LC_IDENTIFICATION="C"
    LC_ALL=
    [dusty] [~]
    $ locale -a
    C
    POSIX
    en_US.utf8
    I don't believe it's a font issue, as those characters display fine in a text editor using Terminus.
    Last edited by rollhax (2012-09-23 01:04:16)

    Nisstyre56 wrote:Did you install "rxvt-unicode" or just "rxvt"? I'm sorry, but I have to ask
    Yes
    stlarch wrote:Check the wiki page for locale.
    Read over it ten times. The only thing that looks remotely helpful is the section on "My terminal doesn't support UTF-8" ... it then tells me to use rxvt-unicode, which I am using. Feel free to point out something that may be obvious to you. I'm pretty oblivious at times.

Maybe you are looking for

  • Two week view... Is this possible?

    I'm new to the forum, so forgive me if this has been asked and answered a million times already. I can't for the life of me figure out how to do something that seems like it should be very easy (and was doable on Palm Desktop): If I'm in Week view, *

  • Error message: cannot remove older versions of apple software update

    I recently got a 30 gb ipod, and i cant install itunes 7. I originally tried installing it at first, and it said cannot remove older applications of Apple Software Update. So i installed itunes 4 to put music on my ipod. Then i tried again to install

  • Adobe Reader 10 download error

    When trying to download Adobe Reader 10 I receive an error at the end of the download that Adobe Reader 8.3 is using some of the files that are to be modified and must be closed.  I have tried to delete 8.3 and don't see it in my program files any lo

  • Asset accounting not balanced btwen FS10N vs S_ALR_87011963 report

    Hi SAP experts FS10N report shows balance of $ 139.000 USD whereas S_ALR_87011963 (report date 30.11.2009) shows $ 100.000 USD._ However, when user runs S_ALR_87011963 (report date 31.12.2009) on items capitalized between 01.01.1900 and 30.11.2009 th

  • Using FM "SO_DOCUMENT_SEND_API1"  to send mail without attachment

    Hi, What are the parameters to be passed and their values to send a mail using SO_DOCUMENT_SEND_API1 EXPORT PARAMETERS :        document_data              = ?       sender_address             = sy-userid       sender_address_type        = 'INT'