Display HTML code in Crystal Reports

We have a field in the database in which the data is encoded HTML, it includes links to images.  I have tried to use the RTF/HTML interpretation option for the field but it doesn't work.  I saw on the other thread that there's limitation to displaying HTML - I am using Cyrstal Reports XI.  So the crysal can't understand img tags correct?  I am allowing users to do just about anything with HTML so it's hard to find a workaround if the we have to limit the tags.  Would this issue be fixed in the future?  Any piece of advice how to handle this would be great!
Thanks.

Hi Pizzaz,
The HTML tags that are supported by Crystal Reports are:
" html
" body
" div (causes a paragraph break)
" tr (causes only a paragraph break; does not
preserve column structure of a table)
" span
" font
" p (causes a paragraph break)
" br (causes a paragraph break)
" h1 (causes a paragraph break, makes the font bold
& twice default size)
" h2 (causes a paragraph break, makes the font bold
& 1.5 times default size)
" h3 (causes a paragraph break, makes the font bold
& 9/8 default size)
" h4 (causes a paragraph break, makes the font bold)
" h5 (causes a paragraph break, makes the font bold
& 5/6 default size)
" h6 (causes a paragraph break, makes the font bold
& 5/8 default size)
" center
" big (increases font size by 2 points)
" small (decreases font size by 2 points if it's 8
points or larger)
" b
" i
" s
" strike
" u
And the supported HTML attributes are:
" align
" face
" size
" color
" style
" font-family
" font-size
" font-style
" font-weight
Hope this helps you!
Regards,
Anindita

Similar Messages

  • Using HTML script in Crystal Reports??

    Can anyone let me know how to use HTML scripts in Crystal Reports?
    I just need to develop report using HTML so that the output of the report will be in RIch text fomat

    Hi,
    You can't design a report using HTML script.  I'm not exactly clear on what you want to do but if you have an HTML app, you have to design the report in Crystal and from your application, call the viewer.  This will allow you to have the report appear in your program. 
    If you are talking about formatting the report, you can set each object as a class in your CSS and call it from your program. 
    I guess a little more information on what you are trying to accomplish may help answer your question more directly.
    Thanks,
    Brian

  • Display latest instance of Crystal Reports in SharePoint 2010

    Dear Sirs,
    I have BO 4.0 and SharePoint 2010 and Integration Option.
    I need to display latest instance of Crystal Reports in SharePoint webpart.
    I'd like to add "IOMS-Crystal Report Viewer" Web Part and display latest instance.
    But in Settings (in SAPBusinessObjects tab) I need to type only CUID.
    Is it possible to display latest instance of Crystal report in SharePoint Web Part?
    Best regards,
    Emmo

    Dear Sirs,
    I have BO 4.0 and SharePoint 2010 and Integration Option.
    I need to display latest instance of Crystal Reports in SharePoint webpart.
    I'd like to add "IOMS-Crystal Report Viewer" Web Part and display latest instance.
    But in Settings (in SAPBusinessObjects tab) I need to type only CUID.
    Is it possible to display latest instance of Crystal report in SharePoint Web Part?
    Best regards,
    Emmo

  • QR Codes and Crystal Report Design

    Does anyone have experience to share with regard to creating reports that print with a QR code (the 2 dimensional "bar code" that we're starting to see on boarding passes and other places).  Does Crystal Reports 2008/BusinessObjects Enterprise 3.1 support the ability to print these and, if so, how do you do it?
    Thanks!

    A new Blog discusses this:
    http://scn.sap.com/community/crystal-reports/blog/2013/05/31/qr-codes-in-crystal-reports?campaigncode=CRM-XM13-SOC-TW_SCNB&utm_source=twitterfeed&utm_medium=twitter
    - Ludek

  • Displaying html code in JSP page

    Hi.
    How do I display HTML code in an jsp page, so that the actual code is printet on the screen
    fx:
    <html>
    <head>
    </head>
    <body>
    </body>
    </html>

    I can't get my reply to show properly, but the answer is;
    Change < into &lt ; and > into &gt ;
    but with the semi-colons stuck next to the &lt and &gt if you get my drift

  • Display HTML code in WebDynpro for ABAP

    Hi, I would like to display a html page in a WebDynpro View, ie: I have the html code in a "string" variable and would now display this string now not with the html tags visible, but as a "real" html page.
    I found a thread in WebDynpro for ABAP but I am a little bit lost in converting the logic to ABAP world.
    Thanks

    >I found a thread in WebDynpro for ABAP but I am a little bit lost in converting the logic to ABAP world.
    I'm a little bit confused by this statement. Do you mean you found a thread in Web Dynpro Java, perhaps?
    Regardless the approach is possible using the iFrame UI.  The warning about the iFrame is that it is deprecated in NetWeaver 7.0 and 7.01 and my not be usable depending upon your support package level. However in NetWeaver 7.02 the iFrame returns to fully supported status.
    If you have the HTML content in a string, you can simply place it into the ICM cache.  This will provide a temporary URL for the content (you supply the lifetime of the URL) that can be referenced via the iFrame URL or even the LinkToURL if you want to open in a new window.
    Here is the code for placing the string into the ICM Cache:
    ****Create the cached response object that we will insert our content into
      data: cached_response type ref to if_http_response.
      create object cached_response
        type
          cl_http_response
        exporting
          add_c_msg        = 1.
      try. " ignore, if compression can not be switched on
          call method cached_response->set_compression
            exporting
              options = cached_response->co_compress_based_on_mime_type
            exceptions
              others  = 1.
        catch cx_root.
      endtry.
    ****set the data and the headers
      data: l_app_type type string.
          cached_response->set_cdata( lv_html_text ).
          l_app_type = 'text/html'.
    cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                         value = l_app_type ).
      cached_response->set_status( code = 200 reason = 'OK' ).
      cached_response->server_cache_expire_rel( expires_rel = 60 ).
      data: guid type guid_32.
      call function 'GUID_CREATE'
        importing
          ev_guid_32 = guid.
      concatenate '/sap/public' '/' guid '.' 'html' into lv_iframe_url.
    ****Cache the URL
      cl_http_server=>server_cache_upload( url      = lv_iframe_url
                                           response = cached_response ).
      wd_context->get_element( )->set_attribute(
        name =  `IFRAME_URL`
        value = lv_iframe_url ).

  • Capturing and displaying user input in Crystal Reports

    Hi all,
    Iu2019m creating a crystal report with SAP as data-source and want to capture user input and display it on the report.  I have defined parameters to capture the input and added them to the report header.   I have then created formula fields to capture user input using the JOIN statement to accommodate multiple values.   Everything works well when users enter values for all the parameters, but when they leave some blank I get an error message u201CParameter value is nullu201D.
    Has anyone encountered this type of problem;  Anyone knows how to resolve this?

    Hi
    In parameter window make the Optional prompt to True.  And change make change in your record selection formula like this :
    (not HasValue({?PrjMgr@SELECT Firstname,lastname FROM OHEM}) OR
    ISNULL({?PrjMgr@SELECT Firstname,lastname FROM OHEM}) OR
    ({?PrjMgr@SELECT Firstname,lastname FROM OHEM} = '') OR
    {OHEM.firstName} = {?PrjMgr@SELECT Firstname,lastname FROM OHEM})
    Regards

  • Display Chinese Word In Crystal Report's Cross-Tab

    Hi all,
    I am trying to display chinese word in my cystal report. It can be display correctly in detail, page header or formula. But when come to cross-tab, it just will show some funny symbol on it. any idea?
    i am using Crystal report xI release 2.
    Thank You
    Wong

    Hi,
    I solve it.Just for your reference, change the font type inside cross-tab.

  • Display Dynamic Columns in Crystal Report

    Hello,
    We are currently using Crystal Reports XI and connecting to an ADO .NET XML file as our data source. In this data souce we have a data table called IDENTIFIERS where every column, except for the ones used for joining tables is dynamic. These column will be different for each database thats its run against.
    Is there any way to display these dynamic columns without having consistent column names?
    You help is much appreciated.
    Thanks,
    Adam

    Thanks Carl,
    We do have control over the data table and a solution like this had crossed my mind. But this might not be practical for other reports that use this data table.
    I think another solution would be to create a new data tabl that has all identifiers on their own row as opposed to columns.
    id
    dentifier
    identifier_name

  • How to generate Bar codes from Crystal Report

    I understand that Bar Codes can be genrated from Crystal reports. I am using CR 2008 and trying to convert my Inventory items to bar codes. it does convert it and I can see the bar codes but it looks like; just a garbage and scanner does not recognze it plus the numners are missing @ the bottom.
    Anybody has ever tried this and have some simple instructions to start with.
    Any help will  be appreciated highly.
    Regards,

    Hi,
    What barcode are you using and what barcode font? 
    If you are using Code39 or Postnet then you need to make sure your values are formatted properly by creating a formula and using the barcode functions. 
    Have a search in the forum for barcodes.  It's been talked about a lot and you should find your solution. 
    Good luck,
    Brian

  • How to use h:message to display HTML code in message from property file

    I am using <h:message for="somecomponentid"/> to display the error message for a validator attached to a component and the error message which resides in message property file contains HTML elements like <br> and
    The HTML doesnt get displayed properly and the code <br> etc is displayed instead.
    Is there a method to get h:message to display HTML elements correcly.
    [I know there is an h:outputFormat which has an escape parameter to allow HTML to be rendered correcly but it has no for parameter to specify the component id whose validation error message I want to display]
    eg.
    <h:message for="somecomponentid"/>
    to display from errormessages.properties
    com.somecompany.thevalidationerrormessage=You have an error<br> Please click here to return to homepage

    Hello Ivan,
    Fortunately I have just recently found a solution to my problem by using code by a developer who had already had this problem in the past and who provided a patch on the Apache MyFaces jira site.
    See following link for the solution I downloaded and then used :
    http://issues.apache.org/jira/browse/MYFACES-155
    I believe they are intending to eventually release this in a future release of MyFaces extensions on this site.
    I used the escape attribute on the tag to allow 'escaped' html code in error messages to be used.
    Hope it solves your problem too..
    Suhel

  • Displaying HTML code/document within a SIEBEL applet

    Dear All,
    I have a new requirement which is to integrate an external html document/code within a Siebel's applet in my Home Screen/View. This HTML code is DYNAMIC and it will change depending the user connected. It will give general informations.
    I tried to use a new calculated field in the relevant BC then I added it as control (HTML Type = Field - HTML Display Mode = DontEncodeData - Runtime = Y - Visible = Y) within the applet.
    Unfortunately the field property 'Calculated Value' is restricted to 255 caracters. Everything is fine when the HTML code length is less than 255. When it is greater because teh HTML code is more complex, I can not add a calculated field and the associate control due to the limitation (255 caracters).
    Any idea would be greatly appreciate.
    Thanks a lot.

    One way to get around this limit is to do the following. Split the information you need into several calculated fields and then add them together in one.
    Calculated Display Field = [Information Block 1] + [Information Block 2] + .....
    Where [Information Block n] is a calculated field too.
    Depending on the amount of data and where you need to display the field i.e. form/list applet
    you could use InvokeServiceMethod in a calculated field. Have a look here:
    http://download.oracle.com/docs/cd/B40099_02/books/ToolsDevRef/ToolsDevRef_Operators8.html
    Axel

  • How to display BAR-CODE through ABAP report

    Hi,
    Could you please help me, how to display BAR-CODE through the ABAP report.
    I am writing below code, but BAR-CODE is not displaying on report.
               PRINT-CONTROL FUNCTION 'SBP01'.
                WRITE: 20  BAR_CODE1 NO-GAP.
               PRINT-CONTROL FUNCTION 'SBS01'.
    Regards,
    SSRAJU.

    Hi RAJU,
    you can see this forum link and its sub-links, here it is clear about it.
    Re: Barcode printing on report
    Thanks & Regards,
    Dileep .C

  • How to Display Japanese character in Crystal Report 8.5

    Hi,
    I've some data stored in japanese language in sql server 2005 database using nvarchar datatype.
    When i execute store proc in sql server, it's showing japanese character properly in sql server. However, when i'm trying to display data in crystal report 8.5, it's showing ????? character.
    I've tried to change font to 'Arial Unicode MS (Japanese)',MS Gothic, MS UI Gothic, MS Mincho (Japanese) as per the search result available in  google. But not had any luck.
    Can anyone please provide any solution for this?
    Many Thanks.
    Kaushal

    when i tried to open below link
    https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/bobj_download/main.htm
    It's not opening & displaying access denied message as below.
    403 Access denied
    You do not have the permissions to access this resource
    Error is logged with Tag:
    Just want to know, Is it possible to display japanese characters on report using crystal report 8.5?
    We've constraint to use only CR 8.5
    Regds,
    Kaushal

  • Registration code for Crystal Reports Professional 8 needed

    We purchased Crystal Reports several years back for using with Epicore Vista, our ERP. We've recently migrated our database to a new server and need to install Crystal Reports. However, all we have are the cd and serial number, not the registration code. Upon install, it takes us to a non-functional web address.
    http://www.seagatesoftware.com/ipl/default.asp?rsource=web_product&build=8.0.0.371&KeyCode=5M-00004XR-0T48000-0000000&Destination=Register&Language=EN&fname=Mike&lname=Gaishin&cname=Gaishin+Manufacturing&email=mikesr @ gashinmfg.com&country=USA
    any suggestions?
    (i modified the code up above to avoid the email address your forum objected to)

    Hi,
    Have a look to this Note
    and you can try with this :
    Use your Customer Interaction Center to submit support requests and service requests for problem messages and remote service postings.
    Use the Customer Message Wizard to enter problem messages on SAP Service Marketplace. If you do not have online access, the relevant Support Center can create a message on your behalf, ask then to create a new incident for license issue.
    A service message is create using the same process that is used for creating regular technical support messages with the only difference being in the component that is selected. These components begin with XX- (e.g. XX-SER-LIKEY-BOJ) instead of BOJ-.
    Component Usage
    XX-SER-LIKEY-BOJ: Business Objects License Keys / Keycodes
    XX-SER-SAPSMP-SWC-BO: Missing/Corrupt software or patches
    XX-SER-GEN-CONTR : Missing/Invalid Installation, Contract issues
    Customer Interaction Center, call the following number:
    +49-6227-744969 (available worldwide)
    Hope that helps.
    Regards,
    Deepti Bajpai

Maybe you are looking for