Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


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

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[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: 168 | Registered: August 22, 2019Report 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: 1853 | Location: New York City | Registered: December 30, 2015Report 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


WebFOCUS 8.2.06
 
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010Report 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: 608 | Location: Salt Lake City, UT, USA | Registered: November 18, 2015Report 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: 168 | Registered: August 22, 2019Report This Post
Expert
posted Hide Post
Format the font color for that DATA COLUMN to GREEN.
 
Posts: 3132 | Location: Tennessee, Nashville area | Registered: February 23, 2005Report 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


WebFOCUS 8.2.06
 
Posts: 210 | Location: Sterling Heights, Michigan | Registered: October 19, 2010Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

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-2020 Information Builders