Embedding DOC's and PDF's dynamically in Crystal Reports

Hi,
Is there a way to embedd PDF/word documents dynamically into the Crystal Reports. I do understand we can do that for Images using 'Graphic Lcoation' option but that feature wont work with word docs and Pdf's.
Please let me know if there is any 3rd party utility tool that makes it happen or Can it be coded using any codes like VB/C#/Java etc.
I have posted this question in Crystal reports as well. But I want to know if it is programatically possible using Java SDK or not.
Thanks

I don't think you can embedd a pdf or word document in the crystal report. The only alternative I think of is:
add a text object to the report. Right click > Format Text > hyperlink tab > select Hyperlink type as a file and use browse to specify the pdf or word file on disk or network location the file you want to open. So it will open the pdf or word upon clicking the link.
This can be done at runtime only using Report Application Server SDK and not Crystal Reports for Java.

Similar Messages

  • Adobe reader problem on viewing PDF file created by crystal report

    I have a VB6 application to export the PDF file by using crystal report 9. However, when I viewed the PDF file under Adobe reader 8, I have a following message when I hit the page down key.
    "An error exists on this page. Acrobat may not display the page correctly.
    Please contact the person who created the PDF document to correct the problem."
    After hit okay, this message will be gone and I can see the PDF file without problem. However, I don't have this issue when using Adobe reader 5 or 6 version.
    If I crystal report 11 version to export the PDF, everything works fine also but our production machine can only use crystal report version 9, not 11.
    Anyone have idea?? Thx!

    Sounds as if there is a bug in the older version of Crystal reports.
    If you are prevented from installing fixes for bugs, you may well be
    stuck with the effect of the bug.
    Aandi Inston

  • Permissions - Viewing PDF Instances of a Crystal Report

    I have the following registered and installed products.
    Crystal Server V1
    Crystal Reports V1
    I have a number of crystal reports setup to schedule to create a pdf output instance.
    I am trying to allow specific Active Directory Groups access to view the PDF instances of the Crystal report. The users are only allowed access to view the PDF instance not the Crystal report. The users will view the pdf instance within InfoView.
    Can someone please let me know the correct path, as I have been through the permissions and have set everything to allow and the report nor the pdf's show.
    Thanks for your assistance.
    Regards

    Does not look like you are using this in a .NET app at all(?). That being the case, you're in the wrong forum. And if this a high priority, having BOE you should have phone support. I suggest you contact support via phone. Else, you can create a case here;
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300
    Ludek

  • Embedding .doc in a .pdf

    I have Word 2007 and Adobe Reader 9. In my Word doc, I have an embedded .doc.  When I pdf it, the link no longer works.
    Any ideas? thanks

    you're right...it's not a link, it's an icon, and by "not working" I mean when I click on it in the pdf, it doesn't go to the document - just nothing happens. 
    To create the PDF, I was in Word, and did "file>save as> pdf" ...perhaps this is Adobe Pro?? Sorry I don't know all the techie words...I'm new at this.
    But apparently I'm on the wrong forum - I think I need to discuss this on the Adobe Acrobat Pro forum.
    thanks anyway.

  • PDF Export Output in Crystal Reports Developer 10 vs. Crystal Reports Developer XI

    <p>Hi -- First post here, so forgive newbish behavior (at least for today)</p><p>Quick question:</p><p>Why does my output differ (margins and image size) for the same report exported to PDF via Crystal Reports Developer 10 vs. Crystal Reports Developer XI?  It&#39;s the same report with the same data and same design.  When XI is compared to 10, the output in XI seems to remove an extra 1/4-inch on the left, right, top, and bottom margins and makes my images shrink by about a factor of 25%.</p><p>While not the end of the world, it would be nice to get an explanation as to why this happens.</p><p>Thanks in advance,</p><p>Amasis</p>

     I personally haven't noticed that myself but I'm sure it will have been reported to Customer Care if it's a more persistent issue. Have you tried looking this up in the Knowledge Base?
        - Kathryn Webster (Report Design Consultant)Â
               Kat&#39;s News: http://diamond.businessobjects.com/blog/279

  • How to set path of MS-Access databse file dynamically in crystal report

    i have windows application and crystal reports and access database.when i connect crystal report to database through followingpath like
    \\machinename\FolederName\AccessDBFile.mdb..here machine name is my machine name(i.e:PCNAMe).but when i will deploy this application on cliet machine then how i can set the path to crystal report with his machine name dynamically..or is
    there any other provision to do this so that i can set it dynamically.
    one more thing i want to tell you is that i wwant to share database on multiple machines so how can i do that.

    Hello,
    Crystal reports is for a long time not anymore supported by Microsoft. 
    Moreover for sure not in this forum for api's components and classes for the user interface Windows Forms
    Try direct the SAP community for Crystal reports for .Net
    http://scn.sap.com/community/crystal-reports
    Success
    Cor

  • Adding the columns dynamically in crystal report

    Hi,
      I am developing a application using asp.net and crystal report. In a report the column is created dynamically( ie, the report gets input from a sp which returns N no. of columns). Since i dont know the column name and no. of columns at design time i am not able to create the report. If any of you have any idea on adding the columns dynamically please send me the code or the link.
    Thanks
    Sankar

    Hello Sankar,
    please see CS code for VS 2005 below to add a database field to a report using inproc RAS.
    This sampels retrieves the table column name from the database and adds it to the report.
    using System;
    using System.Collections.Generic;
    using System.ComponentModel;
    using System.Data;
    using System.Drawing;
    using System.Text;
    using System.Windows.Forms;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    using CrystalDecisions.ReportAppServer.DataDefModel;
    namespace CS_Add_Field_inproc
        public partial class Form1 : Form
            // CR Declarations
            ReportDocument boReportDocument;
            ISCDReportClientDocument boReportClientDocument;
            CrystalDecisions.ReportAppServer.ReportDefModel.Section boSection;
            CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject boFieldObject;
            public Form1()
                InitializeComponent();
                //Create a new ReportDocument
                boReportDocument = new ReportDocument();
                // load the RPT file
                boReportDocument.Load("..
    AddField.rpt");
                //Access the ReportClientDocument in the ReportDocument (EROM bridge)
                boReportClientDocument = boReportDocument.ReportClientDocument;
                //Get the first section in the details section
                   boSection = boReportClientDocument.ReportDefController.ReportDefinition.DetailArea.Sections[0];
                   //Create the field object that we will add to the report and set all of its properties
                   boFieldObject = new CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject();
                //Set which field to use for the data to be displayed
                   boFieldObject.DataSourceName = "{Customer.City}";
                   boFieldObject.FieldValueType = CrystalDecisions.ReportAppServer.DataDefModel.CrFieldValueTypeEnum.crFieldValueTypeStringField;
                   boFieldObject.Left = 4 * 1440; //1440 twips per inch
                   boFieldObject.Width = 3 * 1440;
                   boFieldObject.FontColor = new CrystalDecisions.ReportAppServer.ReportDefModel.FontColor();
                   boFieldObject.FontColor.Font.Name = "Arial";
                   boFieldObject.FontColor.Font.Size = 10;
                   boFieldObject.Format.HorizontalAlignment = CrystalDecisions.ReportAppServer.ReportDefModel.CrAlignmentEnum.crAlignmentLeft;
                   //Add the object to the report
                   boReportClientDocument.ReportDefController.ReportObjectController.Add(boFieldObject, boSection, -1);
                // show in reportviewer
                crystalReportViewer1.ReportSource = boReportDocument;
            private void button1_Click(object sender, EventArgs e)
                //Get the first section in the details section
                boSection = boReportClientDocument.ReportDefController.ReportDefinition.DetailArea.Sections[0];
                //Create the field object that we will add to the report and set all of its properties
                boFieldObject = new CrystalDecisions.ReportAppServer.ReportDefModel.FieldObject();
                //Set which field to use for the data to be displayed
                boFieldObject.DataSourceName = "{Customer.City}";
                boFieldObject.FieldValueType = CrystalDecisions.ReportAppServer.DataDefModel.CrFieldValueTypeEnum.crFieldValueTypeStringField;
                boFieldObject.Left = 4 * 1440; //1440 twips per inch
                boFieldObject.Width = 3 * 1440;
                boFieldObject.FontColor = new CrystalDecisions.ReportAppServer.ReportDefModel.FontColor();
                boFieldObject.FontColor.Font.Name = "Arial";
                boFieldObject.FontColor.Font.Size = 10;
                boFieldObject.Format.HorizontalAlignment = CrystalDecisions.ReportAppServer.ReportDefModel.CrAlignmentEnum.crAlignmentLeft;
                //Add the object to the report
                boReportClientDocument.ReportDefController.ReportObjectController.Add(boFieldObject, boSection, -1);
                // show in reportviewer
                crystalReportViewer1.ReportSource = boReportDocument;

  • Unit testing and system integration testing for crystal report

    Hi gurus,
           I am creating crystal report by oracle procedure, will you please tell me how to do unit testing and system integration testing? appreciate very much.

    The focus of this forum is report design. The actual testing of reports would be subject to your own internal policies and procedures.
    Jason

  • Problem creating a SQL command object and adding it to a Crystal report

    Hi,
    I'm trying to add the following SQL command object with the following sql for MYSQL 5.1
    SELECT lic.id, lic.productionname, comp.companyname, lic.paymentreceiveddate, lic.licenseissuedate,
    IFNULL((SELECT sum(licsong.feequoted) from licensesong licsong where licsong.licenseid = lic.id), 0) as totalfeequoted,
    IFNULL((SELECT sum(licsong.feetax) from licensesong licsong where licsong.licenseid = lic.id), 0) as totalfeetax,
    IFNULL((SELECT sum(licsong.feequoted + licsong.feetax) from licensesong licsong where licsong.licenseid = lic.id), 0) as totalfee,
    IFNULL((SELECT sum(pay.fullamount) from payment pay where pay.licenseid = lic.id),0) as totalpaid
    FROM license lic
    INNER JOIN company comp on lic.licensecompanyid= comp.id;
    This sql runs fine in the Query Browser of mysql and returns what I want.
    When I try to add this SQL command to a new Crystal Report, (by right clicking in the sql editor and selecting Crystal Reports - Add to new Crystal Report), it locks up my Eclipses and it ends up not responding. If I just do a simple SELECT * FROM license it works fine.
    The Eclipse I'm using is from the CR4E download page with the crystal plugin already installed.
    Any help with this would be greatful, as I am not having much joy with this CR4E 2.0 with MySQL and may have to scrap it and go back creating reports in Apache POI.
    Any help greatly received.
    Kind regards

    Hi,
    Try to select a particular columns instead of doing SELECT * FROM license.
    Thanks,
    Saravanakumar

  • Excise and Vat amount fetching in crystal reports

    Hi
    Document:GRPO (Draft)
    Reports Format:Crystal Reports
    Im not able to fetch the values of Excise(BEDCessHcess) and Vat applicable to each items in row.
    Plz suggest me the wayout.
    Thanks

    Hi ,
    Pls make a query having joining start from oinv> inv1>inv4  on docentry .
    For tax description u can go ostt .
    Evert tax have a taxcode , in inv4 check the tax entry by taking the refrence of a particualr docentry from oinv and then fetch the  required data .in inv4 look for linenum  field which is also in inv1 , link that two on docentry and linenum for particualr row item,I think u got little bit idea for that , Just try to start query , pls let us know if u face any issue in query .
    Rgds,
    Premraj

  • Passing parameters dynamically to crystal report from oracle

    Hi,
    I have a Crystal Report that is based on an Oracle Stored Procedure. This was created using Crystal Reports XI R2 and it is published on a Infoview environment.
    There are 2 parameteres in  an Oracle Stored Procedure, of which one parameter is Region which contains values like AP,GJ,HP,MP,TN. The report run daily at scheduled time in infoview and the output of the report for each region is passed and stored in that particular region folder for easy access to enduser. The other parameter is a refcursor.
    Now my issue is i want to add new region value like KA. As i am new to crystal reports i am unable to understand how to do this also if possible can any one send me liknk which explains the procedure how to run a report that is based on an Oracle Stored Procedure.
    Thanks in advance.

    Hello,
    Typically when you create the report this way the Store Procedure will query the table for values and present those in a drop down list in the report Prompts when viewing. Or if it's not interactive then simply typing in 'KA" into the parameter UI should/could return data.
    So it all depends on how you have this configured and how it was set up in the CMC when the report was scheduled. The BOE Administrator may have manually added the filter for each state or it's part of the report itself and other than updating the table field values is all that is required.
    So it's not clear what role you play in the Admin group of BOE but it appears to be fairly simple to do. If you are not the Administrator find out who is and that person can explain it to you also.
    I'll move this post to the Business Objects Enterprise Forum for someone there to give you specific details.
    Thank you
    Don

  • Capturing and displaying user input in Crystal Reports

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

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

  • No Hyperlink in PDF after export from Crystal Reports 2008 SP2

    When I export a report from Crystal Reports 2008 Developer (as well as from the runtime) SP2 to PDF the Hyperlink to a file on hard disk is missing.

    Hi,
    Go through this LInk
    Re: No hyperlinks after exporting to pdf
    Regards,
    Salah

  • Date Span - Validation for start and end date parameters in Crystal reports

    Hi,
    I am new here and am unsure if this is the right place to post this issue. If so, I apologize for that.
    I am working on Crystal Reports 12 and don't know if it is possible; to validate the parameters - Start Date and End Date are within a specific span of time. For Eg. Start Date and End Date should be within 6 months or Start Date should be a future date.
    Can we prompt that parameters entered are invalid and have users re-enter it?
    I will really appreciate any help into this issue.
    Thanks Much,
    RP

    Hi,
    Well, it is not possible to validate the date/datetime values in the prompt window, however there are other alternatives.
    One of them is to create an Alert with the condition:
    datediff("m",Minimum({?DateParameter}),Maximum({?DateParameter})) > 6
    //This is to check if the start date and the end date are within 6 months
    Another way of doing this is by displaying a message on the Report Header and suppressing all other sections if the date range values do not meet the condition.
    Hope this helps!
    -Abhilash

  • Documents and threads to start with Crystal reports with BI

    Hi,
    I am a BI consultant and searching for documents and threads to gain knowledge on Crystal reports .Could any one pls send me the pointers for the same...
    Kindly do the needful
    Points are assured.
    Thanks
    James

    You are in the right place for Crystal Reports and you may also want to look in the BI Forums.
    A good place to start is the Help file for Crystal Reports Designer and download our sample reports. They don't use B1 as the data source but it will help to see how to use CR.
    You need to specify specific questions and "how to's". Books have been written on how to use Crystal reports which is beyond the scope of this forum on one post.
    Thank you
    Don

Maybe you are looking for

  • The URL does not auto complete nor does the favicon display

    When I type in a partial URL, such as apple, it used to be completed to the full URL and display the Apple favicon.  It now goes to the website, but the typed word, apple, remains without completing the URL.  The favicon remains as a blue dot. I have

  • Click wheel still clicks after iPod  switches off!

    Hi is it normal that the Clickwheel still makes clicking noises (if touching) after i switched the iPod (5g) off. I also own a Ipod nano, where this does not happen!

  • Security issue identified in iOS

    I may have found a security flaw in iOS 5.0.1. No area in the forum, nor placement to address issue. Would like to speak with Apple rep to confirm risk rather than put info in forum.

  • Clear Crypto Gdoi

    Need to a little help debugging  a EEM applet. The scripts hangs at line 1.0. I try to research to see if that was right syntax. The command prompts for yes or no but that is where is hangs and then timesout. See original script.

  • Deleting the dhcp (or other) config from server admin

    i'm trying to fully wipe a dhcp service config in server admin, yet the leases and other config lines show up when i disable/re-enable the service. i tried moving /etc/bootpd.plist, and it doesn't seem to matter. what do i need to do to get it to a c