Using html in cf report builder and escaping the & ampersand character

Some of the data we collect is entered via a WYSIWYG editor.  Therefore formatting such as bold, italic etc is translated into HTML.
The text could also contain special characters/accented characters, again these are translated into their html equivalents.
In CF Report Builder, I have set the XHTML Text formatting to TRUE.  However the report won't render the text in these boxes.  From what I can see it doesn't like the '&' character (ampersand).
I have read elsewhere that report builder is limited in the characters etc that it can read and that I should translate the values.  I ended up doing this in the database to try and save some time.
CREATE  OR REPLACE FUNCTION translatexhtmltoasci(var_text IN appendix3%TYPE)
  RETURN clob
ISvar_translated_text clob;BEGIN
 select  replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(re place(replace(
  replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(re place(replace
  (replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
  (replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
  (replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
  (replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
  (replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
  (replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
  (replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(replace(r eplace(replace
  (replace(replace(replace(replace(replace(replace(replace(replace(replace(
var_text , chr(38) || 'lt;', chr(60))
  , chr(38) || 'gt;', chr(62))
  , chr(38) || 'euro;', chr(49792))
  , chr(38) || 'iexcl;', chr(49825))
  , chr(38) || 'cent;', chr(49826))
  , chr(38) || 'pound;', chr(49827))
  , chr(38) || 'curren;', chr(49828))
  , chr(38) || 'yen;', chr(49829))
  , chr(38) || 'brvbar;', chr(49830))
  , chr(38) || 'uml;', chr(49832))
  , chr(38) || 'copy;', chr(49833))
  , chr(38) || 'ordf;', chr(49834))
  , chr(38) || 'laquo;', chr(49835))
  , chr(38) || 'not;', chr(49836))
  , chr(38) || 'shy;', chr(49837))
  , chr(38) || 'reg;', chr(49838))
  , chr(38) || 'macr;', chr(49839))
  , chr(38) || 'deg;', chr(49840))
  , chr(38) || 'plusmn;', chr(49841))
  , chr(38) || 'sup2;', chr(49842))
  , chr(38) || 'sup3;', chr(49843))
  , chr(38) || 'acute;', chr(49844))
  , chr(38) || 'micro;', chr(49845))
  , chr(38) || 'para;', chr(49846))
  , chr(38) || 'middot;', chr(49847))
  , chr(38) || 'cedil;', chr(49848))
  , chr(38) || 'sup1;', chr(49849))
  , chr(38) || 'ordm;', chr(49850))
  , chr(38) || 'raquo;', chr(49851))
  , chr(38) || 'frac14;', chr(49852))
  , chr(38) || 'frac12;', chr(49853))
  , chr(38) || 'frac34;', chr(49854))
  , chr(38) || 'iquest;', chr(49855))
  , chr(38) || 'Agrave;', chr(50048))
  , chr(38) || 'Aacute;', chr(50049))
  , chr(38) || 'Acirc;', chr(50050))
  , chr(38) || 'Atilde;', chr(50051))
  , chr(38) || 'Auml;', chr(50052))
  , chr(38) || 'Aring;', chr(50053))
  , chr(38) || 'AElig;', chr(50054))
  , chr(38) || 'Ccedil;', chr(50055))
  , chr(38) || 'Egrave;', chr(50056))
  , chr(38) || 'Eacute;', chr(50057))
  , chr(38) || 'Ecirc;', chr(50058))
  , chr(38) || 'Euml;', chr(50059))
  , chr(38) || 'Igrave;', chr(50060))
  , chr(38) || 'Iacute;', chr(50061))
  , chr(38) || 'Icirc;', chr(50062))
  , chr(38) || 'Iuml;', chr(50063))
  , chr(38) || 'ETH;',

I also stuck with this . Still no answer, no solution

Similar Messages

  • How to check the report builder version from the rdf file

    Hi,
    I have a rdf file but I don't the developer using which version of report builder to develop the rdf file. So, does anyone knows how to check the rdf file is developed by which version of report builder?
    When I try to use the notepad to open the rdf file, it shows the string "ROS.60050". So, does it means that the rdf file is developed by Oracle report 6i?
    Besides, do anyone knows if Oracle report 6i are still offer from Oralce (as I know, the latest verison of oracle report is 11g). So, in case Oralce not offer oracle 6i and I need to buy oracle report 11g, do u know it is compatiable or I need to do the migration from 6i to 11g?
    Thanks!

    Hi,
    The ROS version you are seeing in the RDF file does not mean the version where that RDF was developed. I am not aware of a way to check this but something that may help is that when you try to open a RDF developed in a higher version
    of Reports with a lower version of Reports builder the following warning will be displayed
    Warning. Opening a report saved with a newer version of Reports Builder.
    Functionality may be lost. Continue?
    "You tried to open a report with a version of Reports Builder older than the version used to
    create the report. If the report uses functionality unavailable in the older version, that
    functionality will be eliminated from the report.
    Regarding Oracle Developer 6i. This version is not supported any more. Regarding how to upgrade Reports 6i to 11g and what to have in mind during the upgrade please review the following documentation.
    References
    http://docs.oracle.com/cd/E24269_01/doc.11120/e24478/toc.htm
    How To Migrate Forms and Reports From 6i and/or 9i To 11g? (Doc ID 1275515.1)
    Hope it helps.
    Regards, RZ

  • Why is printing report different from report builder and app server

    I created a report and when ran from report builder it looks fine.
    And when i moved the report to server and ran the report in the browser using this url
    http://192.1.1.8:7778/reports/rwservlet?userid=esp/esp_dev1@wdev&report=FMMA_VOUCHER.rdf&destype=cache&desformat=pdf
    and print it the report shrinks, the fonts become small and the margins change. I am having hard time how to figure out a way to correlate the formatting in the report builder and when i run on the server using pdf format.
    Is there any way to set the server so that the pdf output matches with the report builder.
    Thanks.
    Sree

    I assume you are doing a cross platform deployment
    Pls read section 6.2
    Resolving PDF Font Issues During Cross-Platform Deployment
    in
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    [    All Docs for all versions    ]
    http://otn.oracle.com/documentation/reports.html
    [     Publishing reports to web  - 10G  ]
    http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
    http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
    [   Building reports  - 10G ]
    http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
    http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
    [   Forms Reports Integration whitepaper  9i ]
    http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
    ---------------------------------------------------------------------------------

  • Advantage and disadvantage of xml publisher, report builder and discoverer

    Hi,
    anyone can explain advantage and disadvantage of xml publisher, report builder and discoverer?
    thanks in advance!

    The best way i found was to put a equals and then double quotes... this only works for excel however it will allow you to cut and paste (ie to use the value to search in Oracle) and also to do vlookups.
    In a bit more detail:
    - I used word to generate my default table
    - this created a field INVOICE_NUM
    - in the cell in the table i put = " before the INVOICE_NUM field and then put the closing " afterwards.
    The theory is that excel will concatenate the values together... because it has quotes around it, it will treat it as a string rather than simply a value.
    For any other formats this will not work.
    I'm guessing most people have moved on and resolved this some other way, but just thought I'd share the wealth!

  • Help with Oracle Report Builder and SQL Server2000

    Hey guys,
    I just installed it Oracle Developer Suite10g with Report Builder and I am trying to use Report builder and wants to connect with SQL Server 2000. The problem that I am running in to is SQL Server 2000 i have is Window Authentication so Does not required to enter user name and password. So how can i connect my report builder to SQL server or is it possible to connect Report builder to SQL server?
    Also, I want to create small practice version of database in Oracle how do i do it? what i mean by that is I installed trial version or Oracle developer 10g from www.oracle.com and now trying to get some knowledge with oracle. Could any one can give me some direction in this matter please.
    Thank You
    Key

    Have a look at the reports help for the purpose header and trailer sections. Here is an exert:
    "Report sectioning enables you to define multiple layouts in the same report, each with a different target audience, output format, page layout, page size, or orientation. You can define up to three report sections, each with a body area and a margin area: the names of the sections are Header, Main, and Trailer. By default, a report is defined in the Main section. In the other sections, you can define different layouts, rather than creating multiple separate reports. If you wish, you can use the margin and body of the Header and Trailer sections to create a Header and Trailer page for your reports."

  • CF Report Builder and Excel format

    Hi Everyone,
    I was trying to display a report in excel format in report builder. It shows the data, but I do not find the print button options, whereas I can see it with other formats. Is this the way it is, or do I need to format anything more within my report for showing up the print button option?This is only happening for excel format
    Thanks

    Hi Keiko,
    Yes, CF Report builder is new and initially there was few
    issues with this. But I guess now it's good after hotfixes.
    Well, I am using CF Report Builder. It's good for me. You can
    also design and develop complex reports, that depends upon the
    query you are writing. You can also add subreports to your main
    reports.
    Mainly CF Report is platform independent and you can also
    generate reports in PDF, EXCEL and FlashPaper.
    Crystal Report is no doubt is very good, and it's there for
    long years. I agree you can create complex reports with this, but
    you also can do the same in CF also. You are using this for last 10
    years, so I guess you should try something new and that is CF
    Report Builder and you can judge then.
    I am sure you will have fun with CF.
    Thanks
    Sankalan
    (www.mindfiresolutions.com)

  • Views on CF Report Builder and Crystal Report

    Dear all,
    I would like to get your opinions on CF Report Builder and
    Crystal Report.
    As we all know, CF Report Builder is a new reporting tool.
    But I find it very difficult to design a complex report maybe due
    to limitation in its functionalities. Sometimes the tool shutdowns
    by itself without any warning and reason. But the output is nicely
    presented on a flash paper / pdf and it can be run on non-MS
    platforms.
    On the other hand, Crystal Report is a more matured product
    but runs only on MS platform. It is very easy to use and very
    powerful. I have been using it for almost 10 years. But the output
    is not nicely presented on the web browser unless if we purchase
    Crystal Report Enterprise to generate the report which is very
    costly.
    Can you all share your views? I need to make decision which
    tool(s) to use. Really appreciate it.
    Cheers,
    Keiko

    Hi Keiko,
    Yes, CF Report builder is new and initially there was few
    issues with this. But I guess now it's good after hotfixes.
    Well, I am using CF Report Builder. It's good for me. You can
    also design and develop complex reports, that depends upon the
    query you are writing. You can also add subreports to your main
    reports.
    Mainly CF Report is platform independent and you can also
    generate reports in PDF, EXCEL and FlashPaper.
    Crystal Report is no doubt is very good, and it's there for
    long years. I agree you can create complex reports with this, but
    you also can do the same in CF also. You are using this for last 10
    years, so I guess you should try something new and that is CF
    Report Builder and you can judge then.
    I am sure you will have fun with CF.
    Thanks
    Sankalan
    (www.mindfiresolutions.com)

  • Report Builder and RDS

    I just installed CF 8.1 Report Builder and attempted to use
    it for the first time.
    Is it required to have RDS activated on the server in order
    to use report Builder?

    Exactly the same problem here
    Windows 7 IIS7  Local installation
    None of the obvious steps works.

  • Reports Builder and rwrun.exe hang on pdf creation

    Hi, I'm having a problem with creating a pdf version of one of our reports. We have a HUGE report that gets generated once a month. I'm talking 50,000+ pages. That single document is not intended for human viewing; rather, it goes to a gigantic printer, and every few pages goes into an envelope to be snail-mailed to one of our clients. This is state government, so we can't require the recipients to receive the notices via email.
    That probably is not a typical usage, but the old version, which was slightly more compact at 35,000 pages, has always worked properly. It's only this expanded version that has given us problems. When running from both Reports Builder (generate to file) and from the command line, the report never seems to complete. When running from Reports Builder, it completes the query and the counter for number of pages climbs rapidly, but somewhere close to the end, it just stops. From the command line, I never get a prompt back. (I should add that running the report from Reports Builder via the "Run Paper Layout" button works properly, and we're able to skip to the end to see all the data; it's just the pdf part that's failing.) The pdf report is partially created in the cache directory each time, but it isn't complete, and acrobat won't open it.
    This occurred with Report Builder 9.0.2.0.3. I then downloaded the newest 10g version (10.1.2.0.2) and received similar results. The only difference is that the report in the 10g cache directory actually appears to be complete. However, the app still never returns back and must be killed.
    Subsequent to all this, I learned of the existence of the trace file in the logs dir, so I re-ran both versions of rwrun.exe from the command line. Here are the results from the trace file:
    9i:
    "java.lang.StackOverflowError
         at oracle.reports.server.JobManager.getJob(JobManager.java:172)
         at oracle.reports.server.JobManager.updateJobStatus(JobManager.java:1388)
         at oracle.reports.server.EngineCommImpl.updateEngineJobStatus(EngineCommImpl.java:97)
         at oracle.reports.engine.EngineImpl.updateJobStatus(EngineImpl.java:601)
         at oracle.reports.engine.EngineImpl.CRunReport(Native Method)
         at oracle.reports.engine.EngineImpl.run(EngineImpl.java:289)
         at oracle.reports.server.JobManager.runJobInEngine(JobManager.java:623)
         at oracle.reports.server.JobManager.runJobLocal(JobManager.java:1209)
         at oracle.reports.server.JobManager.runCurrentJob(JobManager.java:560)
         at oracle.reports.server.JobManager.runCurrentJobs(JobManager.java:522)
         at oracle.reports.server.JobManager.manage(JobManager.java:131)
         at oracle.reports.server.IdleThread.run(IdleThread.java:71)
         at java.lang.Thread.run(Thread.java:484)"
    10g:
    "org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 202 completed: Maybe
         at com.sun.corba.se.internal.corba.ORB.disconnect(ORB.java:2085)
         at oracle.reports.server.ConnectionManager.release(ConnectionManager.java:183)
         at oracle.reports.server.ConnectionManager.manage(ConnectionManager.java:117)
         at oracle.reports.server.IdleThread.run(IdleThread.java:134)
    REP-50125: Caught exception: org.omg.CORBA.OBJ_ADAPTER: vmcid: SUN minor code: 202 completed: Maybe"
    Can anyone help? An alternative would be to split up the report into multiple files so that there are less pages, but we would prefer to avoid that, if possible. I'll post something to metalink shortly.
    Thanks,
    Dan

    Hi,
    I had the same problem to generate it for 10000 employes salary slip but i got the solution.Try out the foolowing method.
    1) Create a folder in the D or c drive called "TEMP"
    2) change the settings in the regedit (reports_tmp=<drive>:/temp string)
    3) similarly in the environment varaibles (go to mycomputer->proerpties->advanced tab->environmentvariables) change the variable temp and temp to <drive>:/temp
    because normaly temp folders exist in the c:\document\settings so create it outside
    also pass the parameter pdfcomp=0.
    4) If u r using server then go to <oraclehome>/reports/<server>.conf file
    edit the following properties
    <property name="cacheSize" value="500"/>
    <!--property name="cacheDir" value="your cache directory"/-->
    <property name="maxCacheFileNumber" value="10000"/>
    here in my case it will hold 500 mb or 10000 files.
    here u can set it for 50000 files or more.
    regards
    vishwa

  • Search icons from forms/reports builder and runtimes

    Hello together,
    who can help me?
    I search the icons from the programs forms- and reports-builder and theirs runtimes (the little pictures in front off the filename).
    I need these to import in another program. They should have 16x16 pixel.
    Where can I find these icons?
    Thanking you in advance.
    Regards,
    Sandra

    Not a final answer to your questions as I don't know the directory structure for forms & reports builders, but you can search for *.ico files in the same (unless forms & Reports use different extensions for icon files).

  • Allignment problem between Report Builder And Apps

    Hi All :
    If i am running a report in report builder i am getting 20 records in each page of the reports.but when i am running this same report in apps i am getting 24 records in each page of the apps more than this the records allignment everything has been changed in apps even i am setting equal page setup to both apps and report builder and style and rows and columns also having commen setup. so any one can help how to get same output in both apps and report builder for each and every page(20 records and 20 records)...

    Hi ,
    I have check the /etc/hosts & /etc/services file.
    Both are ok.
    can ping hostname & ip. Can resolve hostname and ip at DNS.
    port 3217 & 3317 is open.
    What else that I should check?
    Thanks.
    ck chai

  • [svn] 3120: When you point Flex Builder at a local sandbox trunk build, it couldn' t generate the html-templates folder correctly for new projects so we moved all the html templates up one level and removed the html-templates directory and adjusted build

    Revision: 3120
    Author: [email protected]
    Date: 2008-09-05 10:44:10 -0700 (Fri, 05 Sep 2008)
    Log Message:
    When you point Flex Builder at a local sandbox trunk build, it couldn't generate the html-templates folder correctly for new projects so we moved all the html templates up one level and removed the html-templates directory and adjusted build.xml's to accommodate the directory change
    Modified Paths:
    flex/sdk/trunk/build.xml
    flex/sdk/trunk/webapps/webtier/build.xml
    Added Paths:
    flex/sdk/trunk/templates/client-side-detection/
    flex/sdk/trunk/templates/client-side-detection/AC_OETags.js
    flex/sdk/trunk/templates/client-side-detection/index.template.html
    flex/sdk/trunk/templates/client-side-detection-with-history/
    flex/sdk/trunk/templates/client-side-detection-with-history/AC_OETags.js
    flex/sdk/trunk/templates/client-side-detection-with-history/history/
    flex/sdk/trunk/templates/client-side-detection-with-history/history/history.css
    flex/sdk/trunk/templates/client-side-detection-with-history/history/history.js
    flex/sdk/trunk/templates/client-side-detection-with-history/history/historyFrame.html
    flex/sdk/trunk/templates/client-side-detection-with-history/index.template.html
    flex/sdk/trunk/templates/express-installation/
    flex/sdk/trunk/templates/express-installation/AC_OETags.js
    flex/sdk/trunk/templates/express-installation/index.template.html
    flex/sdk/trunk/templates/express-installation/playerProductInstall.swf
    flex/sdk/trunk/templates/express-installation-with-history/
    flex/sdk/trunk/templates/express-installation-with-history/AC_OETags.js
    flex/sdk/trunk/templates/express-installation-with-history/history/
    flex/sdk/trunk/templates/express-installation-with-history/history/history.css
    flex/sdk/trunk/templates/express-installation-with-history/history/history.js
    flex/sdk/trunk/templates/express-installation-with-history/history/historyFrame.html
    flex/sdk/trunk/templates/express-installation-with-history/index.template.html
    flex/sdk/trunk/templates/express-installation-with-history/playerProductInstall.swf
    flex/sdk/trunk/templates/metadata/
    flex/sdk/trunk/templates/metadata/AC_OETags.js
    flex/sdk/trunk/templates/metadata/readme.txt
    flex/sdk/trunk/templates/no-player-detection/
    flex/sdk/trunk/templates/no-player-detection/AC_OETags.js
    flex/sdk/trunk/templates/no-player-detection/index.template.html
    flex/sdk/trunk/templates/no-player-detection-with-history/
    flex/sdk/trunk/templates/no-player-detection-with-history/AC_OETags.js
    flex/sdk/trunk/templates/no-player-detection-with-history/history/
    flex/sdk/trunk/templates/no-player-detection-with-history/history/history.css
    flex/sdk/trunk/templates/no-player-detection-with-history/history/history.js
    flex/sdk/trunk/templates/no-player-detection-with-history/history/historyFrame.html
    flex/sdk/trunk/templates/no-player-detection-with-history/index.template.html
    Removed Paths:
    flex/sdk/trunk/templates/html-templates/

    Remember that Arch Arm is a different distribution, but we try to bend the rules and provide limited support for them.  This may or may not be unique to Arch Arm, so you might try asking on their forums as well.

  • How to query a dataset using custom code in report builder 3.0

    Hi,
    Can anyone please suggest whether it is possible to query a dataset by using custom code in report builder 3.0.
    Thanks in advance.

    Hi Purbasha,
    please see below similar thread:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/9af8f39a-9dc5-49ab-91af-2f64198c8477/ssrs-2008-custom-code-for-database-query
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/440ff5de-1c21-47de-95d8-e4212d6cef6d/dataset-in-custom-code-in-sql-server-reporting-services?forum=sqlreportingservices
    swallow

  • [svn:fx-trunk] 8251: use 4.0.0.${build. number} as the token for the config files.

    Revision: 8251
    Author:   [email protected]
    Date:     2009-06-25 12:34:32 -0700 (Thu, 25 Jun 2009)
    Log Message:
    use 4.0.0.${build.number} as the token for the config files.
    bugs: no
    qa: yes
    checkintests: pass
    Modified Paths:
        flex/sdk/trunk/frameworks/air-config.xml
        flex/sdk/trunk/frameworks/flex-config.xml

    I had downloaded it for test, and requested for evaluation license...
    But I haven't got license, and also I am not able to find Flash Builder Plugins from HFCD site....
    I think those plugins are removed from site....
    Please help me, if anyone have those plugins...

  • How do I use my canon mx432 to scan and email the information?

    How do I use my canon MX432 to scan and send the scanned documents forward on e-mail?

    Hi supercon!
    So that the Community can help you better, we will need to know the Computer Operating System you're using (Windows XP/Vista/7/8 or Mac 10.x), as well as the applications you're trying to scan with.
    Any other details you'd like to give will only help the Community better understand your issue!
    If this is an urgent support need, please CLICK HERE to reach our friendly Technical Support Team by phone or email.
    Thanks and have a great day!

Maybe you are looking for

  • Ok is it just me or....

    I do not have the ability to "get info" on any of my songs or itunes freezes. Why? It makes no sense to me and really frustrates me. I have had 2 problems with itunes in the past week, and i've never had a problem with itunes my entire life. Its ridi

  • Insert default value into account in AP/Invoice service

    How I can insert a default value in account in AP/Invoice ? I try use a Formated Search this is an better way? declare @conta varchar(20) set @conta= '62298000' If  $[OPCH.DocType]='S' SELECT @conta  FROM [dbo].[PCH1] T0    WHERE T0.DocNum = $[$20.1.

  • Need some help on procedure calling procedure using object type reg

    dear all, i need to test one procedure by passing only one value but how do i pass single value. i am showing the details of few section on which i am working on. here is few details about the package. Description: package pkj_emp contains two proced

  • Problem with At New

    Hi   Please check the following code and tell me why At new statement is not working, but i did the same coding for Sflight table it is working very much fine. It is not grouping the fields. Could you please tell me where the problem is : Tables lfa1

  • Urgent! Script question!!!

    I'm assuming scripts will make this a reality for me! I have actually done this before, but it was using DVDSP1.5 over 2 years ago...at this point I don't remember much scripting. Okay here is what I have in the terms of assets: 1.) INTRO segment 2.)