Limiting Export Types in Export Dialog Box

We'd like to only allow XLS Format for a specific report when displaying a Crystal Report on a WebPage via Visual Studio;
We run Crystal Reports 2008 and also post on Business Objects so the users can access via Infoview.
the only thing I've found is a hack to change the underlying Java code for Crystal that would affect all the reports... and some other thing for Visual Studio that doesn't work as it is for prior versions of Crystal.  Please advise how we go about allowing the end-users to have the option of exporting to only one FileType (XLS) for only one specific report.

In Cr for VS 2010 you can use this to control the export types allowed when viewed:
// set up the format export types:
int myFOpts = (int)(
    CrystalDecisions.Shared.ViewerExportFormats.RptFormat |
    CrystalDecisions.Shared.ViewerExportFormats.PdfFormat |
    CrystalDecisions.Shared.ViewerExportFormats.RptrFormat |
    CrystalDecisions.Shared.ViewerExportFormats.XLSXFormat |
    CrystalDecisions.Shared.ViewerExportFormats.CsvFormat |
    CrystalDecisions.Shared.ViewerExportFormats.EditableRtfFormat |
    CrystalDecisions.Shared.ViewerExportFormats.ExcelRecordFormat |
    CrystalDecisions.Shared.ViewerExportFormats.RtfFormat |
    CrystalDecisions.Shared.ViewerExportFormats.WordFormat |
    CrystalDecisions.Shared.ViewerExportFormats.XmlFormat |
    CrystalDecisions.Shared.ViewerExportFormats.ExcelFormat |
    CrystalDecisions.Shared.ViewerExportFormats.ExcelRecordFormat);
    //CrystalDecisions.Shared.ViewerExportFormats.NoFormat); // does nothing except show no export types
//int myFOpts = (int)(CrystalDecisions.Shared.ViewerExportFormats.AllFormats);
crystalReportViewer1.AllowedExportFormats = myFOpts;
Don

Similar Messages

  • Having a little trouble with the "export" dialog box

    Hi all,
    When I get to the export dialog box, I'm not able to type directly in the "Custom Name" space.  I have to click around and fiddle with some of the drop-down menus (and then get back to the "name format" that I like) and only then can I triple-click or backspace on the former name and input a new name in the "Custom Name" blank.
    Also, the "Export Versions" tab is highlighted, but hitting the "return" key doesn't make the export happen.  I have to mouse up to that button and click it that way.
    Is anyone else having any trouble with inputting information on the export page?  And ideas?
    Thanks as always.

    Yes, the name format is Custom Name with Index.  But when I click in the field, I can't edit it.
    Mark,
    For me, this preset is working well. Have you checked, if the preset for  "Custom Name with Index" correct?  You can verify it, by setting the "File Naming" format to "Edit". The preset should look like this:
    I'd try to edit the preset, save it, and edit it back, to create a new preset file.
    If that does not help, remove the user Aperture User Preferences, as described in this document:  Aperture 3: Troubleshooting Basics
    And as I said, hitting "return" doesn't start the export.
    That also your "Export" button is not responding to return, even if it is highlighted in blue, is a sign, that your preferences file might have a problem.
    Regards
    Léonie

  • Set location of print and export dialog boxes?

    Is there any way to set the location of the print and export dialog boxes in the viewer?
    To say, have the dialog box show up in the top left corner instead of in the middle of the document?

    There's no easy way to customize that for the viewer.
    Some people make the toolbar invisible and write their own controls.
    Sincerely,
    Ted Ueda

  • Indd CS4 save/export Dialog Boxes are so small :(

    I have a 24" iMac and now have installed Indesign CS4. The save/place/export dialog boxes are so small. I have dragged them larger and that is great.
    But it does not stay that way across the program or even the same document...
    I don't know if I did something different on CS3 but once I set it, it seemed to always remember the setting even on new documents.

    I can't help but I can confirm I'm getting the same problems in the CS4 apps, not just InDesign (with Leopard 10.5.5). I hope a fix for this comes out eventually. As Mike says, it happens with Save, Save As, Print To Postscript etc so I encounter it at least a hundred times a day. Very frustrating.

  • How to add list of multiple file types to file type of file dialog box in LabVIEW

    How to add list of multiple file types to file type of file dialog box in LabVIEW?
    In file dialog box there is option to add only one file type,in the list,not by seperating commas,
    regards,
    Naresh.N

    Write the file types in pattern Input string, separated by a semicolon ;
    For example:  *.vi;*.doc;*.jpeg;*.xls
    This should return the set of files with matching extensions
    Message Edited by devchander on 09-10-2008 08:02 AM
    Message Edited by devchander on 09-10-2008 08:03 AM

  • Change section layout type within a dialog box?

    Is it somehow possible to change the section layout type within a dialog box? I want to create a non-trivial dialog box which contains a formular and a list component side by side. In a standard page of an GAF or OVP it is possible to change the section style to a 2-row Layout. But in a dialog box page this possibility is disabled. Is there any reason for this? If it is not possible to change to layout, is there any other way to place two UIBBs side by side in a dialog box?
    Best regards,
    Thomas

    Hi Aliaksandr,
    sorry, you are right, I had a two column layout in mind but I was faster in writing than thinking
    What do you mean by a "composite component"? Is this an FPM concept/UIBB or have I go back to WDA programming to make use of it? Do you have some more information about it for me?
    Thank your very much,
    Thomas

  • How to add array of file types to file dialog box

    Hi
    I just want to know how to add array of file types in file dialog box vi. I know that multiple file type can be added to filedialog vi in the pattern Input string separated by semicolon (eg *.vi;*.doc;*.jpeg;*.xls). But i want file dialog which is shown in the below picture.
    I think that file dialog vi call user32.dll but i don't have that header file to call that dll.
    Waiting for your esteemed response.
    Thanks & Regards
    Samuel J
    System Engineer
    Captronic Systems Pvt Ltd
    Bangalore, India.

    I'm not sure how (or even if) it can be achieved using the LabVIEW built-in open dialog, but a .NET call to openfiledialog (http://msdn.microsoft.com/en-us/library/system.windows.forms.openfiledialog.aspx) can do what you're looking for. The .NET functions are better documentented that simple user.dll calls, so it might be easier to implement.
    Shaun

  • CS3  Design Premium Save As/Export Dialog Boxes Hidden

    I posted this originally on the InDesign forum
    http://www.adobeforums.com/webx?128@@.59b652e3
    - since then, the problem seems to have expanded to the rest of the programs in the CS3 (or it was already existent and I didn't bother testing against it).
    Original Post
    'i"Every time I try to save, export, save as, or (recently) even open a new document now, the dialog box opens with the various options for a split second and then disappears. I think it disappears behind InDesign, but cannot be sure as InDesign will not minimize, even when I Force Minimize everything (Windows-H).
    'iSearched the forums high and low, and tried all of the suggested solutions. I'm on a single-monitor setup. I have reset preferences, deleted/drug out the Documents and Settings InDesign 5.0 Preferences Folder, re started etc. At my whit's end and don't really know what else to do. Are there any other fixes?"
    I know for a fact that Photoshop at least was working fine yesterday (created, saved and saved as multiple layered tiffs). I cannot remember if Version Cue updated just before I left or if I could properly create, save, and save-as then too and it was only after turning it off and returning this morning that it stopped working. Either way, any ideas?
    Thanks,
    Zach

    Okay, awesome! I did that and now the Open dialog box is showing - none of the others are though - does this mean that I'll need to go to each of my dialog boxes missing (save, save as) etc., resize in pshop to use correctly in InDesign? What do I do for the dialog boxes that are in InDesign and aren't showing, but are not in Photoshop (ala "Open New Library" or "Open New Book?")
    Thanks a lot for your help.
    -Zach

  • InDesign CS2 & Leopard: Place & Export dialog box areas cutoff

    I am having severe problems with InDesign CS2 and Leopard, and before anyone says "upgrade to CS3", we can't.
    Almost every time I go to place a graphic or export a PDF, the system hangs for a few seconds with the wheel spinning, then InDesign just quits.
    I also notice that part of the dialog boxes get cut off near the top.
    Anyone have similar problems?

    Even upgrading won't eliminate all the Leopard incompatibilities. If you
    upgraded to Leopard from Tiger the best advice is to go back.
    Have a look around this forum and the Creative Suite forum for plenty of
    conversation.
    Bob

  • Keyboard nonresponsive in mp4 export dialoge box

    Hi,
    When I go to export an MP4 file, the keyboard doesn't do anything at the MP4 export box (I can't type new numbers in). I can click and select the values and such but pressing buttons on the keyboard doesn't do anything. Esc and enter do nothing as well. Has anyone heard of this before? I need to change the values in the boxes for different export settings.

    Hello, does anyone have any suggestions? Thanks!

  • Who's in charge of pdf export: Dialog box or Color settings?

    Bridge has synchronized the color settings of all of my apps. But, I needed to export a pdf which uses different color settings. When I try to do so, I get this warning:
    The preset specifies source profiles that don't match the color settings file. Profiles specified by the color settings file will be used.
    So, who's in charge here? Why should a set of defaults override the specifics of this export? How do I get to be in charge?
    Thanks,
    Gary

    If you prepared the file for one print destination and the doc is going to different destination, you want to change the Destination Profile in the Advanced tab to the new CMYK profile and leave your document profile (source profile) alone.
    You shouldn't have any problem doing this at least in CS2 or 3. Just keep in mind the PDF will have new CMYK values, which would happen with any CMYK to CMYK conversion.
    If you are sending the file to a new destination and you don't want CMYK conversions, you have to assign new profiles to the document and that can't be done via PDF export, which makes sense because assigning a new profile may change the appearance of any document CMYK colors and you might want to make adjustments to those colors before exporting.
    Also, keep in mind if you are using the default Color Settings where the CMYK Policy is Preserve Embedded profiles, a CMYK profile is assigned to your document when it is made. In that case changing your color settings via Bridge has no effect on that particular document because it is the assigned profile which color manages not the new working space set in Color Settings. To change a document's assigned profile you have to use Edit>Assign Profiles... not Bridge.

  • Export presets now direct me to the "Browse For Folder" dialog box

    Suddenly Lightroom will not remember the name of the "export to" folder when I use my export presets in certain ways, even though the name of the "export to" folder appears in the "Export" dialog box. The prolem exists in Library and Develop modules. This is what's happening…
    IF I CLICK ON "FILE":
    1. And choose the "Export" option, LR displays the Export dialog box, from which I can select an user preset and export a JPG file to the proper folder, as intended. (OK) 
    2. And choose the "Export with Previous" option, LR exports the JPG file immediately to the proper folder. (OK) 
    3. And I choose the "Export with Preset option, LR displays the menu of Lightroom presets and user presets, but clicking on a user preset displays the "Browse for folder" dialog box from which I must manually browse to the export folder before a file can be exported. (NOT OK) 
    IF I RIGHT-CLICK ON THE IMAGE:
    LR displays a menu containing these options: Export, Export with Previous, the Lightroom presets, and my user presets. 
    4. If I then choose "Export," LR works properly---same as example 1 above. (OK) 
    5. If I then choose "Export with Previous," LR exports the JPG file immediately. (OK) 
    6. If I then choose one of my presets, LR does not work properly: it acts as it does in example 3 above. (NOT OK) 
    BACKGROUND:
    I have been using these presets for almost a year without fail---they're great! Two days ago I moved my Lightroom catalog to a new external drive. I also renamed the "export to" folder (that new name is stored in the "Export" dialog box). 
    I sure would appreciate hearing from anyone on this because it's driving me crazy. Thanks.

    SOLUTION FOUND:
    I created yet another folder for storing exported JPGs. Then for each export preset I used the "Browse For Folder" dialog to point that preset to that new folder. All presets now work as before. This fix was tolerable for the seven presets I have, but a large number of presets would have made it a real chore.

  • Placeholder for collection name in a file export dialog.

    I would like to be able to export pictures in subdirectories with names based on the name of the collection they are in. I cant find any file name place holders relating to collection names. Is this possible?

    RobertsEnd wrote:
    Looks spot on
    You may want to try it first - it's Lr3-only, and publish-only (does not support exporting via regular export dialog box) - if publish-only is OK, consider his Folder Publisher or Collection Publisher instead.
    Is publish-only OK? Are you interested in exported folder hierarchy which matches collection hierarchy? or are you interested in filenames with collection name in it, or both?
    Anyway, some other options which may suit, depending (written by me, and offered for free):
    * TreeSyncPublisher
    * Exportant
    ~R.

  • Export dialog: choice of folder becomes irreversible

    In export dialog box the choice for a destination folder becomes fixed and IRREVERSIBLE after ticking the choose box. Now everything goes to my last folder used and the option ''put in subfolder'' that I always used has gone forever. The colour of the dialog box has changed to all white, the pink bar disappeared and I am now stuck with the last used (+ created) subfolder. It is inconvenient since I use subfolders per bird species and this way I am stuck with this obscure subfolder out of which I have to drag them by hand as a workaround. It must be a bug!
    Can anyone help?

    Good morning John. I am late in replying but we are here every other weekend at each other's computers and my partner Jan Willem is less into computers than I am. No, the whole choose button has disappeared, it must be a bug. So what we do now is export all photos via the silly subfolder ''buzzard'' in the subfolder ''birds of prey'' in the subfolder ''Marakissa'' in the subfolder ''The Gambia.....'' Our whole neat workflow makes this detour.
    You can also see this fixed preset when you try to get deeper into the settings, but the path is frozen and you cannot change the path. I hope they will solve it in the next release!
    Kind regards
    Marion van Sinttruije

  • How to display a screen as Popup Dialog box in Module Pool

    Hi All,
    I have a requirement to display a popup dialoge box into module pool.
    i need to display a screen as a popup on the current screen on a button click.I have developed a screen and in atribute tab i have defined the screen type as modal dialog box but  it is displaying previous screen screen is hide i want to display on the same screen as a popup.
    Thanks
    Narendra

    Hi Narendra,
    Try to trigger the popup once it is done with the previous action might be anything.
    i have shown one sample code where after i click on save button when the data is saved successfully
    after that it has to trigger me a popup asking for conformation for the next action.
    A small piece of code
    INSERT INTO ZORMD1 VALUES WA_ZORMD1.
        IF SY-SUBRC = 0.
          G_LOCAL1 = 0.
          MESSAGE S000.  " Data saved successfully and immediately call the popup
    CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
            EXPORTING
      DEFAULTOPTION  = 'Y'
    TEXTLINE1 = 'SUCCESSFULLY SAVED'
              TITEL = 'POPUP FOR conformation'
             START_COLUMN         = 25
             START_ROW            = 10
            CANCEL_DISPLAY       = 'X'
           IMPORTING
    ANSWER  = G_PRINT
    IF G_PRINT = 'J'.
    PERFORM PRINT_OUT.
    ENDIF.
    Do the modification according to your requirement.
    Cheers!!
    VEnk@

Maybe you are looking for

  • Itunes duplication of songs when moved from one computer to another.

    I moved all my music and itunes from one computer to another. I now have most of my artist that have duplicate songs and sometimes three copies of the same song for some reason. Some artist it didn't affect at all but that is a minority. How can I cl

  • Any way to get the Tiger folder=menu behavior back?

    I didn't realize how much I missed this Tiger feature until now it's gone: In Tiger, if you dragged a folder into the Dock, you could click-and-hold on it to display a pop-up menu of its contents. If there were other folders inside it, they would dis

  • Keychain Access: cannot add a new item: user name or passphrase not correct

    When trying to add a new item to "Keychain Access", the application suddenly refused to do so. Error message: Title: An error has occurred. Unable to add an item to the current keychain. Message: The user name or passphrase you entered is not correct

  • SAP R/3 Database copy

    hi,   We have a scenario like below:   We have the regular landscape like production, quality and development for SAP R/3 as well as BW. What happened was they have deleted all the master data and transaction data from quality R/3 system some time ba

  • HT3964 MacBook won't re-start

    I attempted to reset the SMC on my Macbook as instructed, and now it won't turn on.  Any suggestions?