REST and PDF Generation

Hi All,
I am new to LiveCycle.We are running 7.2 on JBoss.
The developing_applications.pdf file has a section on Developing a REST application and also mentions that the sample code can be found and downloaded from
http://partners.adobe.com/public/developer/livecycle/devcenter.html
I have look and looked and I cannot seem to find any references to a REST tutorial or sample code.
Does anyone have the REST sample that is mentioned in this guide?
Greg

It's possible to generate a PDF using JavaScript (not in Reader, though),
but it's very limited and cumbersome.
A better option is to use an "envelope" to show a blank PDF that can only be
opened when JavaScript is enabled. I know some people have been developing
such a tool, perhaps they could shed more light on this technique.

Similar Messages

  • Interactive form and pdf generation

    Hi all,
    I'm developping a Web Dynpro application in which the user can generate pdf's with the data in the context. in one case the user can decide to view the pdf first, make some additions and then generate it. This is where the interactiveForm comes in. and so far it works. In the other case the user can decide to generate the pdf without viewing. can I generate a pdf with the same layout as my interactiveForm without view it first? I have been looking around but haven't found a solution for this. Any help is welcome. If you can point me to a tutorial or example it will be much appriciated.
    Thank you all in advance.
    Alperen

    Hi,
    I think I found an answer for this question here:
    pdf document generation
    Regards,
    Alperen

  • Reports 6i and pdf generation

    Is there a specific setting in IE 5.5 or Acrobat Reader. I am running reports using Reports 6i. When I am selecting pdf as the output, it doesn't work in some machines but work in others. I get messages like
    " There is no viewer available for the type of object you are trying to open. Do you want to download a viewer for this type of object?" or "An error occured while trying to open the document". I do have Acrobat Reader in all the PCs I am testing in. This is really frustrating and I could not find a way to solve it. Anyone had the same problem??? Please let the forum know.
    Thanks
    Santanu Chaudhuri

    I've had the same symptom. Try uninstalling Adobe and reinstalling the latest version. This seems to reset the required setup items. Also, I have experienced trouble when using a reports parameter form-- the parameter form comes up fine but then the report doesn't open properly. Again, reinstalling the latest version of Adobe cures the problem. I have talked to some people who switched to Netscape to cure this. Be careful with Netscape 6 though, it seems quite slow.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Santanu Chaudhuri ([email protected]):
    Is there a specific setting in IE 5.5 or Acrobat Reader. I am running reports using Reports 6i. When I am selecting pdf as the output, it doesn't work in some machines but work in others. I get messages like
    " There is no viewer available for the type of object you are trying to open. Do you want to download a viewer for this type of object?" or "An error occured while trying to open the document". I do have Acrobat Reader in all the PCs I am testing in. This is really frustrating and I could not find a way to solve it. Anyone had the same problem??? Please let the forum know.
    Thanks
    Santanu Chaudhuri<HR></BLOCKQUOTE>
    null

  • JS and PDF generation

    Lets say I want to share a pdf but I want whoever is visioning it to have JS enabled, otherwise i don't want to display the pdf. Can I share a 'blank' pdf with only JS code in it that will generate a new pdf with all the text I want in it? Will this just provide a blank pdf if JS is disabled?
    thank you for your help

    It's possible to generate a PDF using JavaScript (not in Reader, though),
    but it's very limited and cumbersome.
    A better option is to use an "envelope" to show a blank PDF that can only be
    opened when JavaScript is enabled. I know some people have been developing
    such a tool, perhaps they could shed more light on this technique.

  • PDF generation with FOP throws NPE

    Hi,
    Stack trace
    at oracle.xml.jaxp.JXTransformer.reportXSLException(JXTransformer.java:769)
    at oracle.xml.jaxp.JXTransformer.transform(JXTransformer.java:342)
    I'm using standard Java 1.4 API calls to create a PDF document from a DOM with Apache FOP 0.20.5.
    The servlet is deployed to Oracle 10g Application Server 9.0.4.0.0. With Tomcat 4.1.30 the same code executes without exceptions
    Because I have to port our web application to Oracle for a new customer it is important for me to get this fixed soon.
    Thank you
    Eckard

    Light at the end of the tunnel: It seems to work when FO and PDF generation are separated. Until now the DOM was piped into FOP who internally created the FO from SAX events and then seems to parse it again to create PDF.
    I separated the two steps: There is no problem in FO generation, but due to a namespace problem subsequent parsing fails
    ("org.apache.fop.apps.FOPException: null:2:10 Root element is missing the namespace declaration: http://www.w3.org/1999/XSL/Format")
    Now the correct exception comes up. Whether FOP SAX event listener is buggy or XML parser's error handling has a problem, I don't know
    Thank you anyway
    Eckard

  • Email delievery Issues with scheduled advanced reports XLS and PDF format

    Has anyone experienced problems with not recieving XLS, PDF formatted advanced reports via email?
    Is anyone using the TAW/WEB-INF/web.xml parameter:
    <context-param>
    <param-name>scheduledReportUrl</param-name>
    <param-value>http://reportservers.mydomain.com</param-value>
    </context-param>
    <context-param>
    <param-name>reportServerUrl</param-name>
    <param-value>http://reportservers.mydomain.com</param-value>
    </context-param>
    <context-param>
    <param-name>isReportServer</param-name>
    <param-value>true</param-value>
    </context-param>

    Thanks for the reply Sebastian,
    I created APS with only CVOM service and changed the parameter Xmx6g, but the result is the same. But there are some strange thing, since com at the time of shipment and PDF generation dedicated to the APS, the value of the metric "Maximum Memory (MB)" was 5.461Mg that corresponds to the parameter Xmx6g, but the metric "Total Memory (MB)" value was 1792Mg and "Free Memory (MB)" the 1.052Mg value. Is it possible that the APS does not use all available memory is allocated to it? At the time of generating the server had memory available to grow.
    Tnks,
    Calres

  • PDF generation , FOP and Oracle Express DB

    Am I right in assuming that you can't use the FOP PDF generation utility with Oracle Express Edition Database? i.e. no oc4j directory etc..
    regards
    Paul P

    Am I right in assuming that you can't use the FOP PDF generation utility with Oracle Express Edition Database? i.e. no oc4j directory etc..
    regards
    Paul P

  • Tall report in both HTML and PDF

    Hi,
    I have a report in 10.1.2.0.2 with three logical parts; a header (logo, column titles), a body (actual data) and footer (column sums, some texts). At the moment I'm just using the main section (not header/trailer) but I'm willing to change.
    Depending on the parameters the report will give 1-20 pages (if I was to print them) of output.
    I would like to offer both HTML and PDF output but I'm having some issues.
    If I set the height of the main section to 25 centimeters/10 inches and run the reports with parameters that produce 2 pages of output, I will get two pages i the PDF perfectly. The HTML will then get a seam (empty row) after 25cm/10In and then continue. The problem is that the second part of data is in a separate html table, making the columns not aligned to the first part.
    So, PDF OK, HTML ugly.
    If I set the height of the main section to 250 centimeters/100 inches and run the report again the HTML is fine. One long table and therefore consistent columns.
    Now the PDF consists of only one page. It looks fine but after the last row I can scroll down much more as the PDF "page" is really tall now.
    So, PDF ugly, HTML OK.
    Any suggestions for acheiving a nice result in both PDF and HTML?
    Kind regards
    Tomas Albinsson
    Stockholm, Sweden

    Many thanks Denis, worked perfectly!
    Now the customer has decided that they want the header on each page...
    So now I don't need to use your solution but it's good to know how to solve it.
    Fortunately (?) I've got a new problem now.
    If the output spans two pages I now get one head, the first part of data, head again, rest of data and foot. Fine.
    The problem is that the columns of head and data on page two are not aligned with the ones on page one.
    So head and data always align, but only withing the page. Page two might be much wider than page one.
    This is is HTML output and the frames are set to horizontally fixed.
    Seems to be the footer. Didn't help putting it in a horizontally fixed frame of it's own.
    Suggestions?
    Kind regards
    Tomas

  • Mail app not showing some png and pdf attachments.

    I'm using the iPhone 4s and recently, both mobileme and yahoo email accounts are not showing some png and pdf attachments. I'm seeing the attachment is there, but it doesn't load. Load remote images is turned on in settings. Does anyone have the same problem and a solution/explanation?

    My work email account is an IMAP account.
    I removed my work email account on my home computer this morning to test out this problem on my computer at work. I just sent a test message to my work account from my iPhone. My iPhone, iPad and computer at work still have my work email active on them and all the devices are showing the test message as new and unread. The problem seems to be that when I have my work email activated on my home computer, the messages do not show new and unread on the rest of my devices.

  • APEX 4.1 - APACHE FOP PDF generation problem.

    Hi all,
    I'm having problem with PDF generation using APACH FOP on OC4J.
    When I test my print server as described here:
    http://marcsewtz.blogspot.com/2008/06/heres-another-posting-on-pdf-printing.html
    everything works without problem. But when I upload my Layout to APEX and try to generate PDF from apex I'm getting error:
    oracle.xml.parser.v2.XMLParseException: Unexpected EOF.
         at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:320)
         at oracle.xml.parser.v2.XMLReader.popXMLReader(XMLReader.java:549)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1375)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:362)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:308)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:337)
         at oracle.xml.xslt.XSLProcessor.newXSLStylesheet(XSLProcessor.java:714)
         at oracle.xml.xslt.XSLStylesheet.<init>(XSLStylesheet.java:322)
         at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:114)
         at apex_fop._jspService(_apex__fop.java:71)
         [SRC:/apex_fop.jsp:21]
    I could see similar post here:
    Handling Special characters in call to apex_util.download_print_document
    But it doesn't explain my case as it's crashing even when I generate empty pdf(no data so no special characters, only empty XML file with no data should be sent to print server)
    Is there any way to see what xml is sent do print server for processing? That could eventually show where is a problem.
    Palo

    My mistake, there was really an "&" character in my template. now when I replaced it with %26 it works.
    However I would be still interested if there is a way to see what data is APEX engine sending to print server cause it will help me to find this kind of errors.
    Palo

  • Very slow PDF generation when conditional text is hidden in FM 9.0

    I am working on 96-page chapter of a larger book. A 7-page section of the chapter needs to be hidden until the next release, so I hid it with conditional text. After doing this, the "Save as PDF" printing process goes from taking 6-7 seconds to taking several minutes. If I unhide the conditional text in the same session, printing is very quick again.
    I have no problem generating very PDF files with the PDF printer in other applications (Word, PowerPoint). The issue is specific to FrameMaker and the use of conditional text. What might be causing this?
    I am using FrameMaker 9.0p255 and Distiller 9.0.
    - Chris

    Hi Jeff,
    These were good suggestions to try. Saving the document first has no effect on PDF generation.
    However, I did find that printing to the Adobe PDF printer remains fast when the conditional text is hidden. That's quite an interesting finding! I did also notice that these two methods of PDF generation aren't identical:
    "Save as PDF" opens an Adobe Distiller window, while printing to the Adobe PDF printer opens a different "Creating Adobe PDF" progress box (looks like it's from the printer driver itself).
    "Save as PDF" generates a 1188k PDF file, while printing to the Adobe PDF printer generates a 1049k PDF file.
    "Save as PDF" defaults to placing the PDF in FrameMaker's working directory, while printing to the Adobe PDF printer defaults to saving to the last place to saved a printed PDF file (awkward when working with multiple directories, as I often do).
    When I do a "Save as PDF", FrameMaker does still spool to the PDF printer. It is this spooling that takes a long time. Once spooling is complete, then the Distiller window opens and the PDF is created very quickly.
    I would still like to get "Save as PDF" working since it knows where to place the PDF file. No solution to the runtime yet, but at least there is progress...

  • PDF Generation has problems

    Hi there,
    Our company uses Colffusion to make PDFs for our client.
    Recently, the PDF generation is incredible instable, causing
    corrupt PDF files or performance issues.
    I found out, that the problem lies within the including some
    picture. This slows down almost everything or sometimes the
    generation does not happen at all.
    Is there a solution for this? Is there a hot fix for that?
    Thanks for your reply

    Try <cfreport> instead of <cfdocument> which give
    better results for these type of pdf conversion and image
    issues...

  • PDF generation in SDK

    All,
    I have some reports, whose PDF generation doesn't satisfy our requirements. A simple BO report page with a few sections.. ends up as a multiple page PDF. I had tried to also use the report/section properties as creatively as possible too.
    I would like to get some information about if some-one has done PDF generation using SDK and if that provides more feature-rich formatting options?
    Would appreciate your comments and advice.
    Regards

    Let's start with what version of CR / BO you are working with.
    What SPs have you applied?
    What version of .NET do you want to work with? What SDK do you want to work with (CR, RAS, BO)?
    Are you doing these exports in the CR designer? - If so, have you consulted with the CR Design team on best way to design these reports? Typically, if you can not do something in the desinger, you more than likely can not do it from code either...
    Ludek

  • PDF generation on APEX applications Reports

    Hi all
    PDF generation on APEX applications is Facilitated in Interactive Reports in the Down load Option,
    When we Choose this pdf Down load Option,this is not Working.
    why this is not Working?
    But this Down load Facility in Interactive Reports is Working fine with Excel Format
    Do we need to Install & configure FOP/Cocoon or BI Publisher to Enable PDF Format DOWNLOAD
    OR
    any Other Work around Availble for this
    please Suggest
    tahnks Alot

    To generate PDF file from APEX reports, you either have to install & configure Bi Publisher or FOP/Cocoon..
    http://www.oracle.com/technology/products/database/application_express/html/configure_printing.html
    There are alternatives (jasper reports, pl/pdf), but they are also items you need to install and configure..
    Thank you,
    Tony Miller
    Webster, TX

  • PDF generation in VC

    Hi everybody,
    I need to develop a wizard-like application which ends generating a pdf non-interactive form (i.e. list of class students).
    I would like to use as less coding as possible, so I'm using Visual Composer for the selection steps.
    However the last step should provide the pdf generation and I actually don't know how to integrate these two technologies.
    I know that WDP java provides Adobe Forms natively, but WDP integration with VC is somewhat hard and uncertain, as other sdn posts show, especially when flex is used.
    Can anyone provide help, experiences or example with regard to pdf generation with Visual Composer?
    Thanks
    Point will be awarded
    Vincenzo

    HI
    Used the Web Design API to export to PDF..
    1 Double click on the Output Table
    and choose “Edit” on the toolbar
    2 Specify this button as “Export to
    PDF”, System Action=Hyperlink,
    and then click Formula.
    3 Add the below code in the formula.
    "pcd!3aportal_content!2fcom.sap.pct!2fplatform_a
    dd_ons!2fcom.sap.ip.bi!2fiViews!2fcom.sap.ip.bi.b
    ex?QUERY=" & STORE@REPTNAME &
    "&BI_COMMAND_1-
    BI_COMMAND_TYPE=EXPORT&BI_COMMAND
    1-EXPORTFORMAT=PDF&BI_COMMAND_1-
    SHOW_EXPORT_DIALOG=X&BI_COMMAND_1-
    null="
    NOTE: This URL is for the Web
    Analyzer PCD Location if Visual
    Composer is on the same server as
    BI-JAVA. If it is not, see the section
    on Mapping External BI locations.
    NOTE: This will export the default
    view of the data service to a PDF
    File. It will not keep filters or
    navigation states.
    Hope I answer your query
    Swapnil

Maybe you are looking for