Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Green Checkmark Generates as Black on Portal
Go
New
Search
Notify
Tools
Reply
  
[SOLVED] Green Checkmark Generates as Black on Portal
 Login/Join
 
Platinum Member
posted
I am generating a green checkmark in a report with this function '&|#x2714'. After integrating the report onto a portal page, the checkmark generates as a black color. Has anyone experienced anything similar....something automatically generating in a different color on the portal or has any ideas? I want it to generate as green on the portal as well.

This message has been edited. Last edited by: FP Mod Chuck,


WebFOCUS 8.2.06
SQL Server
HTML, PDF, Excel, etc
 
Posts: 145 | Registered: August 22, 2019Reply With QuoteReport This Post
Virtuoso
posted Hide Post
Could you show us your code using a sample file so we can try it?


WebFOCUS 8206, Unix, Windows
 
Posts: 1843 | Location: New York City | Registered: December 30, 2015Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Some of the unicode characters display differently in each of the browswers. The x2713 character seems more consistent, color can be styled with css:
TABLE FILE systable
PRINT NAME NOPRINT
COMPUTE
x2713/A80 = '<div style=color:limegreen;font-weight:900;>&|#x2713</div>'; 
WHERE READLIMIT IS 1
END


WF 8.2.06
Win10 / IE11
AHTML EXL2K PDF
 
Posts: 174 | Registered: October 19, 2010Reply With QuoteReport This Post
Master
posted Hide Post
quote:
function '&|#x2714'.

First of all, that is not a function. It is a unicode character in base 16 for a heavy black checkmark.

If you want the unicode character for the green checkmark, it is actually two amper characters together that create this ✔️ = &#x2714;&#xfe0f;

Since IBI will look at those as amper variables, you need to escape the amper with the pipe character like this &|#x2714;&|#xfe0f;

Check out this site to see the different check marks available: https://www.amp-what.com/unicode/search/check

This message has been edited. Last edited by: Hallway,


Hallway

 
Prod: 8202M1
Test: 8202M4
Repository:
 
OS:
 
Outputs:
 
 
 
 
 
Posts: 599 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Thanks for your posts dbeagan and Hallway. Here is the essence of the code using the sample CAR file with the two amper unicode characters:

  
TABLE FILE CAR
SUM COMPUTE CHK/A10 = IF SEATS EQ 2 THEN '&|#x2714&|#xfe0f' ELSE ''; AS ''
ACROSS COUNTRY AS ''
BY CAR AS ''
ON TABLE PCHOLD FORMAT HTML
ON TABLE SET PAGE-NUM NOPAGE
ON TABLE SET AUTOFIT ON
ON TABLE SET TITLELINE ON
ON TABLE SET HTMLCSS ON
ON TABLE SET STYLE *
END




WebFOCUS 8.2.06
SQL Server
HTML, PDF, Excel, etc
 
Posts: 145 | Registered: August 22, 2019Reply With QuoteReport This Post
Expert
posted Hide Post
Format the font color for that DATA COLUMN to GREEN.
 
Posts: 3084 | Location: Middle Tennessee | Registered: February 23, 2005Reply With QuoteReport This Post
Platinum Member
posted Hide Post
Yea Doug, that works for me:
 TABLE FILE ibisamp/car
     SUM SEATS                                             AS ''
 COMPUTE CHK/A20 = IF SEATS EQ 2 THEN '&|#x2714;&|#xfe0f;'
                                 ELSE ' ';                 AS ''
  ACROSS COUNTRY                                           AS ''
      BY CAR                                               AS ''
 ON TABLE SET NODATA ' '
 ON TABLE SET PAGE-NUM NOLEAD
 ON TABLE SET STYLE *
 INCLUDE=IBFS:/FILE/IBI_HTML_DIR/ibi_themes/Warm.sty, $
 TYPE=DATA, ACROSSCOLUMN=CHK, COLOR=GREEN, STYLE=BOLD, $
 ENDSTYLE
 END


WF 8.2.06
Win10 / IE11
AHTML EXL2K PDF
 
Posts: 174 | Registered: October 19, 2010Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [SOLVED] Green Checkmark Generates as Black on Portal

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.