Crystal report : Export to Text format from BI Launch pad
Hi,
We are facing issue in exporting the Crystal report to text format option from BI Launch pad view mode. Currently BI launch pad doesn’t support export to Text format option for crystal report in view mode. But export to text format option is feasible in schedule mode. But customer is not interested in exporting the reports through schedule mode.
Please advise, if we have any alternative way of exporting the crystal report to text format option from BI Launch pad.
Thanks,
Chinnu A
Hi Chinnu,
The question is better suited to be asked in the BI Platform space.
-Abhilash
Similar Messages
-
Slow Crystal Reports Export to Text
Post Author: shfisher
CA Forum: General Feedback
Previously posted on Legacy Products forum: We have a fairly complex report written in Crystal 8 that displays
within seconds in the viewer. A user routinely exports this report to
a text file, and until approximately three weeks ago, the export also
took less than 30 seconds. Now the export is taking approximately
three minutes. I have seen similar posts on this topics but no
solutions. Are records queried differently for an export? What could
have caused this sudden slowdown?Hello,
No, we don't have support having any command line options when exporting. There are likely third party tools out there that may give you the option though.
One other way may be to export it to PDF format and then use Adobe API's to add the /E option when saving the output file.
Thank you
Don -
Help needed while exporting crystal reports to HTML file format using java
Help needed while exporting crystal reports to HTML file format using java api(not using crystalviewer).i want to download the
html file of the report
thanksthe ReportExportFormat class does not have HTML format, it has got to be XML. Export to HTML is available from CR Designer only.
Edited by: Aasavari Bhave on Jan 24, 2012 11:37 AM -
Crystal Reports export and print fails with SSL / https but works with http
Windows 2008 Server, 32-bit (IIS7)
ASP.NET 2.0
Ajax 1.0
Crystal Reports version 10.5.3700.0
http: printing works, export works
https: printing not working, only export to MS Excel and MS Word work.
I am able to generate reports using both http and https, and the toolbar icons are all showing. However, I am unable to print or export properly with SSL.
Printing prompts me with a select printer window, and then a window 'Retrieving Page 1' follow by two messages from Crystal Print Control both stating:
A communication error occured. Printing will be stopped.
Exporting generates various errors depending on which export method is being selected (however Excel and Word work over https).
I've found the same problem on this site and other forums, but never a resolution to get exporting and printing to work with SSL. Will someone please provide me assistance or possibly relay what settings they're using if they have Crystal Reports export or printing working over SSL in IIS7? Everything works fine when I change the address from https to http.
Please let me know if I can help by providing further information. We've gone through a great deal of possible solutions with code and I'm currently looking in to IIS settings again.
Thank you.Thanks Ludek. I got it by searching KB number.
Unfortunately, it didn’t fix my problem even my IE (IE8 and IE 9) has correct setting. I double check my version. PrintControl.CAB is version 10.2.0.1146. we use VS 2005 Crystal report and VB .NET. It works fine on HTTP. But when we use HTTPS (SSL Certificate from go daddy).
1: Crystal report export
Export to MS Excel, Word: pop us “File download”, then click “Save”. It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”
Export to RPt, Rich text format: It says “Internet Explorer cannot download ReportView.aspx from my site. Internet Explorer was not able to open this internet site. the requested site is either unavailable or cannot be found. Please try it again later”
Export to PDF : nothing happened.
2: Print:
Pop up dialog to select printer, click “Print” “. Shows windows “Crystal Report Viewer” and pop us error message box. Title is “Crystal Print Control”. Message is “An communication error occurred. Printing will be stopped”. Click “OK” and pop up error message box again.
Please advise.
Thank you very much! -
When a report is exported to Text format, trailing spaces do not appear in the exported file.
How do you resolve this issue?
1. Create a report.
2. Include 3 fields
3. Export ->txt
After the end of 3rd field we require 200 spaces...any idea...Try to insert a new formula after the third field like this
space(200)
or try to create a formula for the third field like this
+space(200)
and place this formula in the place of the third field and export to text file.
Regards,
Raghavendra -
Hi Expert , crystal report export problem. system not responding
Hi,
crystal report export problem. system not responding.
Thanks
Rajkumar GuptaDear Raj,
Please try this
Try
Dim oSubReport As CrystalDecisions.CrystalReports.Engine.SubreportObject
Dim rptSubReportDoc As CrystalDecisions.CrystalReports.Engine.ReportDocument
Dim rptView As New CrystalDecisions.Windows.Forms.CrystalReportViewer
Dim rptPath As String = System.Windows.Forms.Application.StartupPath & "\" & rptName
Dim rptDoc As New CrystalDecisions.CrystalReports.Engine.ReportDocument
rptDoc.Load(rptPath)
rptView.ShowExportButton = True
rptView.ReportSource = rptDoc
For Each oMainReportTable As CrystalDecisions.CrystalReports.Engine.Table In rptDoc.Database.Tables
oMainReportTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
Next
For Each rptSection As CrystalDecisions.CrystalReports.Engine.Section In rptDoc.ReportDefinition.Sections
For Each rptObject As CrystalDecisions.CrystalReports.Engine.ReportObject In rptSection.ReportObjects
If rptObject.Kind = CrystalDecisions.Shared.ReportObjectKind.SubreportObject Then
oSubReport = rptObject
rptSubReportDoc = oSubReport.OpenSubreport(oSubReport.SubreportName)
For Each oSubTable As CrystalDecisions.CrystalReports.Engine.Table In rptSubReportDoc.Database.Tables
oSubTable.Location = System.Windows.Forms.Application.StartupPath & "\" & SourceXML
Next
End If
Next
Next
'Setting Paper
Dim rawKind As Integer = 0
Dim printSet As New System.Drawing.Printing.PrinterSettings
For i As Integer = 0 To printSet.PaperSizes.Count - 1
If printSet.PaperSizes.Item(i).PaperName.ToUpper = PaperName.ToUpper Then
rawKind = CInt(printSet.PaperSizes.Item(i).RawKind)
Exit For
End If
Next
Dim MyTest As New SaveFileDialog
rptDoc.PrintOptions.PaperSize = CType(rawKind, CrystalDecisions.Shared.PaperSize)
rptDoc.ExportToStream(ExportFormatType.Excel)
'rptDoc.SaveAs("C:\TBKING.xls", True)
'''How to export the report
Try
Dim CrExportOptions As ExportOptions
Dim CrDiskFileDestinationOptions As New _
DiskFileDestinationOptions()
Dim rename As String
rename = rptName.Replace(".rpt", "")
Dim CrFormatTypeOptions As New ExcelFormatOptions
CrDiskFileDestinationOptions.DiskFileName = _
"c:\Report\" & rename & "_Export_File.xls"
CrExportOptions = rptDoc.ExportOptions
With CrExportOptions
.ExportDestinationType = ExportDestinationType.DiskFile
.ExportFormatType = ExportFormatType.Excel
.DestinationOptions = CrDiskFileDestinationOptions
.FormatOptions = CrFormatTypeOptions
End With
rptDoc.Export()
Catch ex As Exception
MsgBox(ex.ToString)
End Try
'' end by kevin shah
rptView.Show()
rptView.ShowExportButton = True
Dim oFrm As New System.Windows.Forms.Form
rptView.DisplayGroupTree = True
rptView.Dock = System.Windows.Forms.DockStyle.Fill
rptView.Location = New System.Drawing.Point(0, 0)
oFrm.AutoScaleBaseSize = New System.Drawing.Size(5, 13)
oFrm.Controls.Add(rptView)
oFrm.Name = "Report Viewer"
oFrm.Text = "Report Viewer11"
oFrm.ResumeLayout(True)
oFrm.WindowState = System.Windows.Forms.FormWindowState.Maximized
oFrm.TopMost = True
oFrm.ShowDialog()
Catch ex As Exception
objMain.objApplication.MessageBox(ex.Message)
End Try
By pressing this button XLS file be generated on C:\report\
Hope this will resolved the issue
Thanks
Kevin -
Crystal Report Export to PDF with Group Tree Bookmarks
Dear Forum
I have created a Crystal Report aspx page with an export function of the report to pdf. So far all has been successful, except form one little annoying this. The report does export to a pdf file and it does create bookmarks based on the group tree, BUT when opening the pdf file the bookmarks hiest point which should be the file name is the really long temp file name with .rpt as an extension. I have looked every where to try to get it to write the filename to the bookmark hierarchy without success.
I come you you all for any form of help to solve this issue.
My code is below
CrystalDecisions.Shared.ExportOptions export_options = new ExportOptions();
export_options.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat;
string ext = ".pdf";
string reportName = "Filename";
CrystalDecisions.Shared.PdfFormatOptions pdfOptions = new PdfFormatOptions();
pdfOptions.CreateBookmarksFromGroupTree = true;
export_options.ExportFormatOptions = pdfOptions;
report.ExportToHttpResponse(export_options, Response, true, reportName);
Response.Clear();
Response.Buffer= true;
Response.End();
Below is an image of the output
Any and all help is greatly appreciatedUsing the search box in the top right corner and entering the search string 'bookmark pdf crystal', the very 1st KBA is:
1331152 - Report exported to PDF format with bookmarks displays the bookmarks as report name plus a GUID
Please see if this resolves the issue for you.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter -
Is it possible to generate a report in CSV/text format ?
Hello , I received a request from a client to generate a report in CSV/text format ? Is it possible ?
How should I do it ? Thanks.Hi!
If i understood right, you want to generate a .csv-file from all item-values and records in your / customers form:
So try this procedure:
procedure write_csv_file( p_csv_file in varchar2,
p_block in varchar2 ) is
l_file client_text_io.file_type;
l_item varchar2(61) := p_block || '.' || get_block_property ( p_block, first_item );
l_tmp_str varchar2(32000);
l_delimeter varchar2(1) := ';'; --> change as you need (',' or char(9) for tab)
l_cnt pls_integer := 1;
l_too_big exception;
begin
l_file := client_text_io.fopen ( p_csv_file, 'W' ); --> existing file will be deleted!
if
NOT client_text_io.is_open ( l_file )
then
message ( 'File ' || p_csv_file || ' could not be opened for writing. Please check filename and path.' );
message ( ' ' );
return;
end if;
for l_rec in ( select :system.cursor_block cur_block from dual ) loop --> this one-count-loop is just for Steve C.
--> spare one variable and plenty of ram ;-)
if
:system.cursor_block != upper ( p_block )
then
go_block ( p_block );
end if;
first_record;
loop
loop
if
get_item_property ( l_item, item_type ) in ( 'TEXT ITEM', 'LIST', 'RADIO GROUP', 'CHECKBOX', 'DISPLAY ITEM' )
then
if
length ( l_tmp_str || name_in ( l_item ) || l_delimeter ) > 32000
then
raise l_too_big;
end if;
l_tmp_str := l_tmp_str || name_in ( l_item ) || l_delimeter;
end if;
exit when l_item = p_block || '.' || get_block_property ( p_block, last_item );
l_item := p_block || '.' || get_item_property ( l_item, nextitem );
end loop;
client_text_io.put_line ( l_file, l_tmp_str );
l_tmp_str := null;
exit when :system.last_record = 'TRUE';
next_record;
l_item := p_block || '.' || get_block_property ( p_block, first_item );
l_cnt := l_cnt + 1;
end loop;
go_block ( l_rec.cur_block );
end loop;
client_text_io.fclose ( l_file );
message ( l_cnt || ' record/s written to ' || p_csv_file );
message ( ' ' );
--> if you don't use webutil, comment out or delete the following line
--> in forms 6i use host instead of webutil_host.nonblocking.
--> it starts the csv_file-mimetype attached application
webutil_host.nonblocking ( 'cmd /c start ' || p_csv_file );
exception when
l_too_big
then
client_text_io.fclose ( l_file );
message ( 'Error: The amount of data in record ' || l_cnt || ' exceeds the max. length of 32000 characters. Your file is not complete.' );
message ( ' ' );
when
others
then
client_text_io.fclose ( l_file );
message ( 'Error ' || sqlerrm || ' in write_csv_file Procedure.' );
message ( ' ' );
end;You can call this procedure in your when-button-pressed-trigger like:
begin
write_csv_file( 'c:\temp\test.csv', :system.cursor_block );
end;Hope this is what you are looking for.
Regards -
How to strip text formatting from text field value ??
Hi everyone,
Have tried to get some info on this but no luck.... I've
created a simple contact form in Flash, but the URL which it's
generating contains the text formatting from the text input fields.
As a result the script that processes the mail send doesn't work.
How do I strip the text formatting out of text1, text2 and text3
before I use getURL() ??
on (release) {
url_var =
"your_name="+text1+"&your_e-mail="+text2+"&message="+text3;
getURL("contact.php?"+url_var, "_blank", "GET");
text1 = "";
text2 = "";
text3 = "";
}text1.text = "";
text2.text = "";
text3.text = "";
…that should strip the textfields. You probably also
want to add this property (text) in the getURL() -
Hello i need a help about script to export translatable text strings from ai files and import them back after editing, thanks in advance
Lanny -
Thank you for taking the time to help with this problem. Can I just say however that as someone who has posted a first comment here and quite clearly never used a forum like this before, your comment unfortunately comes across as very excluding. It makes me feel there are a set of unwritten rules that I should know, and that I don't know them shows that the forum is not for me. In short, it's exactly the kind of response that stops people like me using forums like this.
I'm sure it's not intended to be received like this and I am sure that the way you have responded is quite normal in the rules of a forum like this. However, it is not normal for those of us who aren't familiar with forums and who only encounter them when they have a genuine problem. This is why I hope it is helpful to respond in full.
The reason I posted here is as follows. I was directed here by the apple support website. The original comment seemed to be the only one I could find which referred to my issue. As there is no obvious guidance on how to post on a forum like this it seemed perfectly reasonable to try and join in a conversation which might solve more than one problem at once.
Bee's reply however is both helpful and warm. This could in fact be a template for how new members should be welcomed and inducted into the rules of the forum in a friendly and inclusive way. Thank you very much indeed Bee! -
Exporting in Hd format from premiere
Hello, I hava a really simple question about exporting in Hd format from premiere.
Proyect:
Flash ANIMATION (1280x720) at 12 frames, Soundboth AUDIO at 44, 1000 stero, plus lots of incidental on mp3.
Duration: 4:00 minutes.
I want to know what is the best way to export this kind of projects into a very small compression, I'm talking about 4mg and still be able to watch the animation at a acceptable compressed quality?You'll have to experiment until you get one whose quality and file size are acceptable.
-
Error when exporting to other format from crystal report
Hi,
I have been facing an error "Method 'IRCREditableRTFExportFormatOptions_reserved5' on type 'CrystalDecisions.ReportAppServer.ReportDefModel.EditableRTFExportFormatOptionsClass' from assembly 'CrystalDecisions.ReportAppServer.ReportDefModel, Version = 11.0.3300.0, Culture-neutral, PublicKeyToken=692fbea5521e1304' is overriding a method that has been overriden." while trying to export the crystal report to another format (e.g. pdf and excel) from an application from a software vendor.
For your information, the machine OS that is running the application is Window 7. Before I did the installation of the application, it already has Visual Studio 2005 and Crystal Report XI Release 1 installed in the Window 7 system. After I had the above error, I went to search more information on the website and found out that I need to upgrade to Crystal Report XI Release 2 from the search results. However, after I upgraded from Crystal Report XI Release 1 to Crystal Report XI Release 2 and apply service pack 6, I still faced the same error when I tried to export. I even tried to uninstall Visual Studio 2005 and Crystal Report XI Release 2 but I'm still facing the same above error while exporting. I also tried to reinstall the application from software vendor but the same error come out.
Your help is highly appreciated. Thanks!!
Regards,
JenniferGood morning Jennifer
When you say:
" I also tried to reinstall the application from software vendor but the same error come out."
I wonder if the app you are trying to install is from a 3rd party vendor / developer? If it is, installing CR XI r2 (11.5) will not resolve the issue for you. From the error, the app was compiled with CR XI R1 (11.0) and the only way to get that app to use CR XI r2 will be to recompile it with CR XI r2 assemblies. E.g.; you will have to have access to the source code and then recompile the app, ensuring that you are referencing CR XI r2 assemblies. Or am I missing something here?
Ludek -
Hyperlink error : on Exporting crystal report to Editable RTF format
Hi , In my crystal report I have hyperlink which works normally. Now when I export this report to Editable RTF format; the hyperlink gives error "Error! Hyperlink reference not valid. "
It works for other formats.
Please helpThis issue was patched for Crystal Reports XI R1
Hot Fix Name: commonXIwin_chf.zip
Adapt Number-ADAPT00408450
Description:
When exporting a report with email hyperlink to editable RTF format,
the links do not work.
New Behavior:
This is now resolved.
Here is a link to the hotfix:
ftp://ftp1.businessobjects.com/outgoing/CHF/commonXIwin_chf.zip
If you are using XI R2 and are still encountering this, then please check that you have installed the latest service pack (SP3) - and if the issue still occurs, then this may need to be tracked as a bug again. However my understanding is that this was fixed for R2
a programmer learning programming from perl is like a chemisty student learning the definition of "exothermic" with dynamite -
Nonsensical top level PDF bookmark in Crystal report exported from InfoView
Thank you for any help or suggestions!
I am using Crystal Reports 2008, the CMC repository, and InfoView. I am producing PDF reports, many with bookmarks based on the group tree.
I have found that when I run my report off my workstation, all is fine, but when I run the same report out of InfoView, the top level bookmark is a string of nonsensical numbers and characters.
Is there a way for me to ensure that this top level bookmark is something readable, perhaps the name of the report?
Thank you for your help!Hi,
I ran into this problem just recently myself. The report would export just fine out of the designer but when I would try to export it from CMC it would give me a root bookmark named along the lines of "~crw{33FB2DCD-838A-(more gibberish)....}.rpt"
I eventually figured out how to solve it. I am using Crystal XI R2, not 2008, but I suspect you may be able to resolve the issue using the same steps. I believe that the gibberish name that you are seeing is the actual technical name of the report as it is stored on the Enterprise server. In order to get it to display a nice formatted name of your choosing, open up your report in the report designer. Now go to the File menu and select Summary Info. In the Title section, provide the name of the report that you would like to see at the root of the bookmark. You are esentially setting up an alias for it. Now when you export, you should see the new name that you typed in as the main part of the bookmark.
Hope this works for you!
Edited by: Wjrudo on Nov 30, 2009 8:55 PM -
Layout Issue after exporting crystal report XI in pdf format
Hi All,
I have developed a crystal report in XI version. I have set my page layout properties in the report to be in landscape orientation and A2 size sheet with No Printer(optimize for screen display) option unchecked. The problem is when I export the report in pdf and open the report in pdf for printing, it takes the printer preference settings that are set to portrait and letter format. If I change my printer prefence settings to landscape, it works fine. But, I do not want to change my printer preference settings and want that the settings that I am giving in crystal report designer must be taken for printing purposes in pdf.
I hope, I was able to put forward the question correctly without any confusion.
Can someone please help me out to find a solution ?
Thanks in advance.Hi Akshay
Always quote the actual version of Crystal Reports you are working with. E.g.; CR IX is not quite enough and the best place to find the actual version is in the Help | About screen of the CR designer.
By CR XI, you could mean CR 11.0.x, or CR 11.5.x. If you are using CR 11.0.x, update to CR 11.5 (also referred to as CR XI R2). See this blog on how to.
- Ludek
Senior Support Engineer AGS Product Support, Global Support Center Canada
Follow us on Twitter
Maybe you are looking for
-
NOKIA C5-03 Internet connectivity Problem..
I Have Nokia C5-03 bought before 4 months. I use BSNL Prepaid card, 3G/EDGE enabled. I am facing problem of not being able to connect to internet via 2G/3G reliably. whenever I try to connect to internet, 7 out of 10 times it gives me message" "conne
-
HT1751 my itunes was not installed correctly. Reinstall error 7? How do I get it back
My itunes was not installed correctly. Reinstall error 7? How do I get it back?
-
Cannot open registry key and /usr/bin/lib: invalid option --N patch 7237313
Hi, I am trying to install autoconfig TXK patch 7237313 for cloning an EBS 12 on windows server 2003. When I run adpatch it returns 2 errors: *1 -* setEnvAdrelink: Error: Cannot open registry key: SOFTWARE\ORACLE *2 -* Relinking module 'CONCSUB.exe'
-
I made a mistake (helped by nont weel described new functonality): Upgrading from lion to ML I accidentally activate the "document & data" sharing on icloud. This synced the rules of mail 6 of one of my user in icloud. Then in theother user I lost my
-
IMac freezes after 10.5.7 update, should I roll back?
I avoided doing the 10.5.7 combo update because my son's Macbook had issues with it. But I finally caved and, of course, now wish I hadn't. When iMac goes to sleep, the power light glows normally, but when I press a key to bring it back, everything g