« New Template Builder release available for Apps Main | Using XML Publisher in eBusiness Suite »

Where're my Checkboxes?

I have seen several threads lately on the forum asking along the lines of -  Where the heck are the checkboxes on my report that I included in my template? Well, they are there they are just hidden, sort of. When you add a check box field to a template the Publisher engine interprets them correctly i.e. should they be checked or not, but the problem is, that none of the standard PDF fonts or the fonts publisher ships have a decent checkbox glylph. Therefore, if you're lucky you get a filled/unfilled diamond shape (if the publisher fonts are accessible) or you get nothing at all.


There is a solution to all this and its down to configuration, if you let the engine know where the checkbox font is and which glyphs represent 'checked' and 'unchecked' then it will pick them up and use them in your output.  


The method to use to configure the font and glyphs is going to depend on your platform. I tested with the Wingdings ttf font and used characters 253 (unchecked) and 254 (checked).


CheckBoxes:


To get the right glyph number:
1. Open MSWord and use Insert->Symbol.
2. Now find the font you want
3. then the glyphs you want, the glyph characgter code will be in the bottom right hand corner of the dialog.


CheckBoxes2:


 


Dont forget to ensure you are licensed to use the font you choose for the check box glyphs.


Config File - EBS (pre-5.6), JDE, PS and if your using the APIs


Your documentation should tell you where the config file should located and what to put in it. For the check boxes you need:


1. The font location, we need to tell the publisher engine where the Wingdings font is located:

<font family="Wingdings" style="normal" weight="normal">
 <truetype path="c:\windows\fonts\wingding.ttf"/>
</font>

2. The glyphs to be used. Here we specify the font family name ie 'Wingdings' and the 253/254 glyphs

<property name="rtf-checkbox-glyph">Wingdings;253;254</property>

Config Manager - EBS (5.6 and above)


1. Load the font to the manager - thats been covered here
2. Update the 'Characters used for checkbox' field with the values you want ie Wingdings;253;254


Now when you run outputs to PDF you will see your checkboxes as expected and no longer be boxless.

Comments (4)

Ganesh A.M:

We have requriement to create a editable RTF BI report. Where user can check or un check the check boxes on the report.

We are not able to acheive that.

Is there a way to acheive it.

Divyasri:

Hi Tim!
This is very helpful. I am using many check boxes in my PDF template. Some of them within repeating group. The check boxes in the repeating group show all kind of weird images for being checked. There are some stars, or an image of a pen, or a small sun, or a simple "tick" mark. It is never consistent. Whereas, the check boxes which are not within a repeating group, they show perfectly fine with a proper "tick" for being selected. Can you please help me solve this problem. I am behind it for a very long time and it does not seem to get resolved.
Please, do kindly help.
Regards,
Divyasri Dattatreya

Chandra:

Hi Tim,
Thanks for the useful article. I am able to produce check boxes in my pdf instead of diamonds.
Just one little thing is bothering me. My user insisting to provide check box with tick mark if condition is true otherwise blank check box(no tick, no x mark) in it.
Is this possible ?
I see no such kind of symbols in wingdings.

Thanks in advance.
Chandra

Jeannie:

Tim,

Is this also true for Oracle Reports? On my local machine I get the right symbols (checked/unchecked boxes), but when I go to the server and use PDF, I get a rectangle.

Jeannie

Post a comment