"Export in PDF" as default option since viewer

Hi,
I wrote a complete winform application using CR2008.
For information :
C# Framework 3.5
Windows XP SP2 or Windows Server 2003 SP1
CR2008 SP1
Application allow to preview report. In the preview window (CR activx) there is a "letter icon" to export report in several format.
-RPT
-PDF
-DOC
-XSL
-XSL Data only
Is there any way to force the dropdown on "PDF" option as default ?
Is there any way to export in another format (like CSV) from the CR activeX ?
Thanks a lot for your reply,

Hi, Jonik;
There is no way to change the way our export button behaves.
What you can do is remove that button from the viewer, and create your own button which does the type of exporting that you want.
To remove the export button, set the ShowExportButton property on the viewer to False.
See the tutorials we have here, there should be one that focues on exporting:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b07a158a-b766-2b10-a79e-bfc6d19c6b99
Regards,
Jonathan

Similar Messages

  • Export to PDF change default "Save As" file name

    Hello,
    I have an asp.net application where I use a CrystalReportViewer. The user runs the report via the application.  They then click on on the the Export button in the viewer with PDF as the format.  This launches the PDF file.  When I click the Save icon, the Save As dialog box comes up.  The default name in this window is the name of the .aspx file.  I want to be able to specify what this file name should be instead of it defaulting to the name of the asp page in which the report was launched.
    I do not want to recreate the Export button, I am trying to find a way to do this with existing crystal functionality.  Can anyone please help??  Thank you!!

    Hi there,
    I believe I may have found the solution!
    You will need to set your CrystalReportViewer.ID property to what you need your filename to be.
    In my example:
    CrystalReportViewer.ID = "NewPDFFileNamehere";
    The .PDF file extension will be added automatically!
    Just note, you need to set the above property ASAP in code - meaning - It should be the first thing you do before having any other code attached, read into or from CrystalReportViewer.
    Hope it helps!
    Credits to http://blog.dragonsoft.us/2009/04/07/how-to-set-default-file-name-for-export-from-crystalreportviewer-in-aspnet/
    RBotha

  • Preview - PDF and default thumbnail sidebar view

    When I open a PDF in Preview, the sidebar appears automatically, and it shows the Table of Contents view. I want Preview to always show the thumbnails view. Is there a way to change this to the default setting?

    This works but only when opening the same document. Other documents just default to the plain view.
    Big oversight - particularly when merging lots pdfs and each one has to be manually changed to thumbnail view. All becomes very cumbersome

  • Feedback: Why isn't Print to PDF a default option in Windows 8.1 RT on Surface 2?

    Why isn't PRINT TO PDF a stock feature of Windows 8.1 RT and IE 11?
    One of the biggest reasons why people prefer chrome over IE is the built-in print to PDF.
    while you can easily get around this on full 8.1, on Windows RT, print and apps are very limited - so we depend entirely on what Microsoft puts in the OS.
    Please Microsoft, allow print to PDF as a built-in feature of IE 11 and Windows 8.1 RT.
    See here for more info:
    http://answers.microsoft.com/en-us/ie/forum/ie11-iewindowsrt8_1/how-to-print-to-pdf-from-ie-metro-modern/197c4a04-19a5-46ee-8aa6-d347e0377c14

    Hi,
    Thanks for your good feedback on IE. I will help to record this feedback in Microsoft product platform.
    Kate Li
    TechNet Community Support

  • Export to PDF Error in CR Viewer

    I have an intermittent problem exporting to PDF from the Crystal Reports Viewer. I'm using the Java Runtime and the report displays fine in the view. I then click the Export button, select PDF, and click Export. The view screen becomes blank with the single word "Error".
    I see nothing in the Crystal Logs.
    The timeout in CRConfig.xml is set to 1 minute and JavaServerTimeOut is set to 300. No other values are specified.
    Any ideas of what the problem could be or additional tests to try?

    Hi,
    I had faced this issue previously.
    This basically happens because your session is expiring in the web server. Try to increase the timeout session to 30 minutes and the print option will work just fine.
    Also you would have noticed that the data does not gets refreshed from the source if you are not ending the session. But for this you can enable the refresh button on the Web Viewer using the following option:
    CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();
    crystalReportPageViewer.setHasRefreshButton(true);
    Once the refresh option has been enabled then there is no need to kill any session in order to refresh the report the refresh button can only be clicked for that .
    Please let me know in case the issue has been resolved.
    Thanks and Regards,
    Gourav

  • Error when exporting to pdf using Infoview.

    Hi,
    If I preview one of our reports (built in CRXI) in the CMC for CR server and then attempt to export the output to a PDF after waiting for a few mins I get the error:
    Error
    Your request could not be completed because a failure occurred while the report was being processed. Please contact your system administrator. 
    The report has 6 supreports each that take 2 parameters. Previously we have had problems with this report when trying to change the database connections for the subreports (we were getting a 'Missing prompting units' error until we started making the database connection change in CRXI, running from CRXI not the CMC and then saving the file to the repository once it had run successfully with the new connection settings).
    All our other reports preview fine, they do not generally use sub-reports or multiple parameters though.
    Thanks for your help.

    There's so many variables for each Enterprise action, even with an effort to improve these over the years, the Enterprise error messages are usually so vague you have to trace to really identify the issue.
    Exporting directly from Crystal Reports is a good start.
    Sometimes it's just a matter of the report has streamed the 1st/beginning pages to you, but it is still processing in the background when the export to pdf is executed. Since the report is not complete, it fails. Try scheduling it directly to pdf to eliminate this possibility.
    Else you will have to trace the Page Server or RAS to get more info.

  • Why doesn't itunes have 320 kbps listed for ripping audio tracks from CD as one of the default options?

    Now I know you can ignore the defaults and create custom settings for ripping audio from CD's, but I'm curious why the good folks at apple didn't add 320kbps as a default. I figured it would be a default option since 320 kbps seems to be the standard for good quality when it comes to CD rips.
    Am I wrong here? Anyone have any ideas?

    Apple hasn't stated why it's not a default option.
    Suggestions here -> http://www.apple.com/feedback

  • Export to PDF defaults to HTML file instead of Adobe PDF since moving to CC2014

    Hi friends!
    Help please. Ever since I moved to CC2014 my InDesign and Illustrator is defaulting to HTML files instead of Adobe PDF when exporting to PDF. I also use this same software at another workplace and this has not been a problem there. I am on PC, on Windows 7. Does anybody know of a preference or such that I can switch to correct this?
    Any help will be greatly appreciated.
    Mindy.

    This is the window I am getting when attempting to use Data merge in ID. Have used this successfully before in previous versions of InDesign. Any ideas?
    Thanks

  • Export to PDF fails for some reports, but report viewer works

    Hi all
    Our application produces several different reports.
    - Report A can successfully be viewed in the ASP.NET report viewer control and can be exported to PDF
    - Reports B and C can successfully be viewed in the ASP.NET report viewer (all pages),  but export to PDF fails with a very unclear error message. The stack trace is attached below.
    Two days ago, reports B and C have fully worked, and I'm sure by 100% that the report templates haven't been modified since then.
    Can anyone explain what is going wrong? Is there some internal logging inside Crystal Reports that can be investigated to find out about the reasons of the error?
    Any help would be greatly appreciated!
    Thanks
    Kuno
    PS.: The Crystal Libraries under investigation are quite old. In fact, it is a very old application that still runs under .NET 1.0.
    CrystalDecisions.CrystalReports.Engine.ExportException: Fehler in Datei C:WINDOWSTEMP     emp_b9cf0dd0-8964-4ddf-ba09-0daaa4e1ef20.rpt:
    Fehler von Export-DLL gefunden:
       at u263B.u263BJ(String u2660§, EngineExceptionErrorID u2660u25AC)
    , Int32 u2660u266B)Int16 u2660
       at u263B.u263BD(Int16 u2660u2640)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export(ExportRequestContext reqContext)
       at CrystalDecisions.CrystalReports.Engine.FormatEngine.Export()
       at CrystalDecisions.CrystalReports.Engine.ReportDocument.Export()
       at AdamsClient.Web.EngineerClient.TolerancesReportPage.btnSpecPDF_Click(Object sender, EventArgs e) in D:ProjektexxxxAdamsII SVNDevelopmentS
    ourceAdamsAdamsClientWebEngineerClientTolerancesReportPage.aspx.cs:line 496
       at System.Web.UI.WebControls.Button.OnClick(EventArgs e)
       at System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument)
       at System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData)
       at System.Web.UI.Page.ProcessRequestMain()

    Hello Kuno,
    please try to find out more details.
    You say it is data dependent. Could you be a bit more specific. What data work or do not work ?
    As a good test pls see if our samples reports work. They come with a default installation. If you do not have them any more - get them from [here|https://smpdl.sap-ag.de/~sapidp/012002523100005852352008E/cr_xi_xtreme_rep_smpl_en.zip].
    Can you display and export them ? Do you get the same error ?
    Thanks in advance
    Falk

  • Report Title and Text Area issue when exported to pdf using Viewer

    Hi there,
    We are using OracleBI Discoverer Version 10.1.2.55.26
    We have reports that displays Report title containing the following
    - Report Title
    - Runt Date and Time
    - Page No
    And text area which displays 'Last Page'
    Following properties are set at the worksheet level using page setup
    Report Title --> 'Print on every Page'
    Text Area --> 'Print on last page'
    The report when exported to PDF using Discoverer plus works fine and displays report title and text area as defeined.
    But when we try to export the same report to pdf from Discoverer viewer, it displays
    - Report title on first page only.
    - text area on all pages
    All our users accesses report using discoverer viewer so we cannot open discoverer plus to them.
    Is there a solution which will enable us to export the report in pdf using discoverer viewer and displays the same output as discoverer plus.
    Please let me know... If you have any questions then please feel free to ask.
    Thanks in advance for your help...
    Manish

    but when opened on other os x machines some text is colored differently than it should be
    Well, if typographic objects are colour managed, the colour appearance is dependent on the source ICC profile that describes the colourants in the typographic objects and the destination ICC profile that describes the colours the display is able to form and the RBC colourant combinations that will form those colours.
    In general, typographic objects should have special treatment, since the expectation is not that typographic objects should be colour managed, but that typographic objects should simple be set to the maximum density of dark. On a display, that is R=0 G=0 B=0 and on a seperations device (a lithographic press) that is C=0 M=0 Y=0 K=100.
    If for some reason typographic objects are colour managed, and if the ICC profiles for the displays are off by half a mile or more in relation to the actual state of the display system, then the colours will not be the same. On the other hand, if those displays are calibrated and characterized, then the colourants will be converted to form the same colours on the displays.
    /hh

  • Get blank report in Crystal Report Viewer when exporting to PDF

    I have an application that creates reports in the CrystalReportViewer while at the same time exports a PDF of that report.  I am having a problem in which
    performing the export causes the report in the ReportViewer and the PDF report to be blank. They have the header and column labels but no data.  If I
    comment out the Me.Export(reportExportOptions) line at the end of the exportPDFReport method the report in the ReportViewer works fine, displaying
    data on the report. 
    I have other forms that perfrom this same type of function on different reports and work fine.  In fact they use the same exportPDFReport method.  This leads
    me to believe that a difference in the reports may be causing the problem.  But I can't figure out why.
    I am using .net 3.5 with Crystal Reports 2008 (CR2008) full edition in Visual Studio 2008.  Although the reports that work were probably created using
    VS 2005 and the VS 2005 edition of Crystal, and which have since been updated to CR2008.
    Has anyone else experienced this problem?  If so, how did you resolve it?
    Thanks for any help!
    Code is below
    Public Class frmAgedReceivables
      Inherits CustomWinControls.CustomForm
      Implements ICustomForm
    ... other properties and methods
    Public Sub CreateAgedPremiumsReport()
        Dim billingType As String = "Direct"
        Dim reportType As String = String.Empty
        Dim frmDateProcess As New frmEnterProcessMonth()
        frmDateProcess.pikMonthYear.Value = TurmsController.CodeEffectiveDate
        frmDateProcess.lblMessage.Text = "Enter Processing Date"
        If frmDateProcess.ShowDialog(Me) = Windows.Forms.DialogResult.Cancel Then
          Return
        End If
        Me.InForceStripStatusLabel1.Text = "Creating Report"
        Me.Refresh()
        Dim report As New AgedReceivablesReport()
        report.Load(report.ReportPathAndName)
        Me.Refresh()
        Dim reportParmsArrayList As ArrayList = New ArrayList()
        reportParmsArrayList.Add(report.ParameterFields.Item(0).Name)
        reportParmsArrayList.Add(frmDateProcess.pikMonthYear.Value)
        reportParmsArrayList.Add(report.ParameterFields.Item(1).Name)
        If AgencyBillRadioButton.Checked Then
          billingType = "Agency"
        End If
        reportParmsArrayList.Add(billingType)
        reportParmsArrayList.Add(report.ParameterFields.Item(2).Name)
        reportParmsArrayList.Add(TurmsController.CurrentUser.UserName.Value)
        reportParmsArrayList.Add(report.ParameterFields.Item(3).Name)
        If NAICCheckBox.Checked Then
          reportType = "NAIC"
        End If
        reportParmsArrayList.Add(reportType)
        Dim parms As String() = {frmDateProcess.pikMonthYear.Value, billingType, reportType}
        Me.InForceStripStatusLabel1.Text = "Loading Data"
        Me.Refresh()
        report.getData(parms)
        Dim reportParms() = reportParmsArrayList.ToArray
        report.loadParameters(reportParms)
        report.ExportFileName = Microsoft.VisualBasic.Format(frmDateProcess.pikMonthYear.Value, "yyyyMM") + report.GetType.Name
        report.ExportFormat = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat
        report.exportPDFReport()
        Me.CrystalReportViewer1.ReportSource = report
      End Sub
    End Class  
    Public MustInherit Class TurmsReport
      Inherits CrystalDecisions.CrystalReports.Engine.ReportDocument
    Implements _ITurmsReport
    ... other properties and methods
        Public Sub exportPDFReport() Implements _ITurmsReport.exportPDFReport
          Dim reportExportOptions As New ExportOptions
          Dim reportDiskFileDestinationOptions As New DiskFileDestinationOptions
          Dim reportFormatTypeOptions As New PdfRtfWordFormatOptions
          reportDiskFileDestinationOptions.DiskFileName = getExportPathAndName(ExportType.PDF)
          If Me.UsePageRange _
          AndAlso Me.FirstPageNumber > 0 _
          AndAlso Me.LastPageNumber > 0 Then
            reportFormatTypeOptions.UsePageRange = True
            reportFormatTypeOptions.FirstPageNumber = Me.FirstPageNumber
            reportFormatTypeOptions.LastPageNumber = Me.LastPageNumber
          End If
          With reportExportOptions
            .ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile
            .ExportFormatType = ExportFormatType.PortableDocFormat
            .ExportDestinationOptions = reportDiskFileDestinationOptions
            .ExportFormatOptions = reportFormatTypeOptions
          End With
          If Not System.IO.Directory.Exists(Me.ExportFilePath) Then
            System.IO.Directory.CreateDirectory(Me.ExportFilePath)
          End If
          Me.Export(reportExportOptions)
      End Sub
    End Class 

    Pretty much. 
    Seems I had at one time hard coded a record selection statement that I forgot to remove which caused the report to be blank.  That solved my problem, but there still seems to be an issue in that the Crystal Report Viewer performed differently when I tried to export to PDF (no records displayed) then when I didn't (records displayed).
    Chip

  • Save options while exporting to pdf

    I do export in pdf often, and each time I see 3 checks (Pring each stage of build, add borders.., Include date), which are very annoing, since I don't need them at all and have to switch off all this great features. How to switch them off permanently?

    You can minimize the margins considerably by unchecking two options and having your image slightly larger than the slide (there is a limit, of course).
    By using the Print option, the setting you set in the Print Dialogue, stay as you last set them rather than reset each time. This should meet that objective. Try it.
    The other choice is to uncheck those pesky boxes each time you Export a PDF.
    Good Luck.

  • Bug: Can't view photos in a slide when Exporting to PDF viewing files on XP

    Hi,
    I'm completely new to the discussion forum.
    So hope this hasn't been covered, but the bug is there none the less.
    When Exporting a Keynote 09 slide or slides that use some of the
    new Layout themes(Kyoto style etc), nothing shows up when the
    PDF is opened on Windows XP machines.
    I have tried it on several machines at work and at schools,
    and cant get photos or text to show up.
    This never happened in 08, as i often have to use PDF to do presentations
    at schools that dont have powerpoint no their pcs. PDF exporting
    is really important in my daily work with keynote.
    I really hope there is a fix or that Apple can release a fix
    for this bug, as I would love to use the new layout themes
    in presenting.
    Strangely older themes have no problem opening and show all text and
    photos as they should when exported using keynote 09 to pdf...
    so i assume its an issue with the newer themes only ;(
    wierd.. (cries)
    Thanks in advance to anyone that can help me here. Apple!!! I luv you
    but this issue is annoying the heck out of me.
    D

    Wow, thank you so much for quick replies!
    Ok ill try and explain more.
    1) I used to the Export feature (now I used SHARE > Export > choose PDF > save to desktop... view it.. its all good)
    2) I then save the file onto a flash drive and put in a XP OS run PC
    3) The slide background only shows up.. i.e. no content just the template itself
    4) This only happens to the newer templates.
    5) This happens when dragging a picture into the preset template picture boxes,
    the picture just doesnt show up on the pc
    6) havent checked file sizes, because i could do this process on keynote 08.. so i assumed its a BUG and not the fault of mine
    7) Most importantly, i can do the same process and it works with the keynote 08
    backgrounds and themes within 09.. but i cant get my PDFs on an XP to show when using the newer themes... just shows blank themes.. even for Kyoto theme, the tea pot picture isnt there.. its just the background
    i am thinking of taking my mac into a mac store,
    but im almost certain this is a bug.
    to view the PDF on both my macbook and on XP i just double click
    whats on the desktop and it usually shows.. but since buying 09,
    as i said before, i can only get this to work for slides that use
    the old 2008 keynote templates ;( ;(
    i have not tried exporting using the print feature.. i will give that a shot today. but its so wierd that it shows up for some templates and not for others.
    thanks again for your kind help. i really appreciate the time and effort
    you are all putting in in helping.
    D

  • Crystral reports viewer activex control 11.5 - export to pdf - misaligned

    good morning
    i have been advised to post here for a better response
    i have a slight issue im trying to get an answer for with crystral reports viewer activex control 11.5
    when exporting data from the report on screen to pdf, everything is mostly ok except for some lines which are not correctly aligned with everything else
    when i do a print instead to software such as primopdf, the alignment is fine, its exactly as it looks on the onscreen report, howeverm primopdf is unable to print the whole report due to a control error & it also takes far too long exporting the data out of crystal reports
    obviously, getting the activex control export to pdf working is the preferred option, else why bother using it
    has anyone else had similar issues & what did you do to resolve?
    i wouldnt be suprised if the answer is simply to update to the latest version
    Thank You & Regards,
    Matteo Vinci II GradOIEAust
    SD Innovative Solutions

    Well, perhaps not the latest version, but certainly the latest Service Pack would be the place to start. For CR XI r2 (11.5), the latest SP can be downloaded from here:
    https://smpdl.sap-ag.de/~sapidp/012002523100006255422008E/crxir2_sp4_inc.exe
    If that does not help, have a look at [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d3639373635463644364636343635334433393339333832363639373635463733363137303645364637343635373335] kbase.
    Now, the above was created for CR 10.2, so the registry for CR XI r2 is:
    HKLMsoftware usiness objectssuite 11.5crystal reports.
    You may have to create the "Export" folder and PDF folder so that this looks as:
    HKLMsoftware usiness objectssuite 11.5crystal reportsexportpdf
    Now, Right-click the pdf sub key and click New > DWORD Value. Name the DWORD value "ForceLargerFonts" and set it to the value of 1.
    Restart IIS, and try the application again.
    If this does not help, let me know if this is a web or a win app.
    Ludek

  • Is it possible to Default "Choose page source by PDF page size" option in the "Print" dialog box?

    I have an SSRS report that is rendered as a PDF file; the report has many columns and utilizes 11inx17in (Landscape) paper. However, once the report is rendered and users try to print the report they have to manually select the 'Choose Paper source by PDF page size' option in order to get the report to print on the correct paper (otherwise it defaults to standard letter size - landscape orientation).
    I'm aware of 'Print Presets' functionality; however, I don't believe they apply to this scenario. Is there a config file/registry setting/anything that can be specified to automatically set the 'Choose paper source by PDF page size' print setting = On/True/Checked?
    Any help would be greatly appreciated...

    Anybody out there?

Maybe you are looking for

  • Adobe Cloud App

    Creative Cloud Installer will not install on my Mac. Error message A12E1. I have the updated Adobe Applications Manager. Running OS X 10.8.3.

  • Patch Needed for Windows 64 bit OS for bug number - 9356752 ...OID 11.1.1.6

    Hi, I m doing OID - OAM integration for SSO. OID 11.1.1.6 (64 bit) RCU 11.1.1.6 (64 bit) Oracle DB 11.2.0.3 (64 bit) Weblogic Server 10.3.6 While installing OID 11.1.1.6 I m getting error during configuration as [2013-01-19T13:40:42.723+05:30] [as] [

  • I need help converting a PDF to a word file. I purchased Acrobat for this purpose?

    I need help using this download. I purchased Acrobat because I need to convert a PDF file to a word file. Can you give me instruction on how to do this. Thank you,

  • Address Book Edit Screen

    All of a sudden in the EDIT screen for address book cards the colons between the subject type and the actual info has turned into an odd squiggle. any one know how to get this back to the colon? thanx all!

  • SD pricing extract for given date range

    Hi, Is any one knows any FM where you can able to extract pricing for given date range. FM Pricing works for one date. I don't want to loop at this FM for the given date rage. It takes very long time. Thanks for any suggestion. Kind Regards Nir