You can use the SAP Concur Platform to build a variety of applications, ranging from single-function apps to end-to-end solutions. With so many options it can be difficult to get started.
Resolve incidents faster by integrating your favorite DevOps and ITOps tools—including. API integration is even better than email. Slack Integration Guide. Related articles. RedEdge-M User Manual (PDF) Instructions: Fixed Mount Integration Kit for Matrice 100 (PDF) RedEdge 3 - Integration Guide; Getting Started With RedEdge.
These guides are intended to help you gain a better understanding of our APIs in specific use cases and workflows. They are not the only way to approach building a solution, instead think of them as a road map. Most of them assume that you have basic knowledge about the platform and have the necessary agreements in place that allow you to make API calls into the system.
First Steps
SAP Concur Clients: You can create solutions that interface with your SAP Concur data once you have purchased the Web Services product. Contact SAP Concur Support to get started.
New Partners: Your company must enter into a commercial agreement with SAP Concur before using the APIs. If you have not yet entered into an agreement with SAP Concur, review the information on the Build App Center Solutions page.
Existing Partners: Depending on the solution you want to build, the SAP Concur Platform team may need to configure your existing sandbox for your new needs. You can make that request by contacting your Alliance Manager.
All Developers: Before using the Integration Guides, you must understand the authentication process.
OPEN HTML TO PDF
GETTING OPEN HTML TO PDF
New releases of Open HTML to PDF will be distributed through Maven. Search maven for com.openhtmltopdf.Current maven release is
1.0.1
. If you would like to be notified of new releases, please subscribe to the Maven issue.You can ask for a new release, if needed.MAVEN ARTIFACTS
Add these to your maven dependencies section as needed:
MINIMAL USAGE
Most of the options avaiable for PDF output are settable on the PdfRendererBuilder builder class. This shows the minimal possible configuration to output a PDF from an XHTML document.
SUPPORT FOR BI-DIRECTIONAL (RTL) AND SHAPED TEXT
HTML5 PARSER SUPPORT
While Open HTML to PDF works with a standard w3c DOM, the JSoup project provides a converter from the Jsoup HTML5 parser provided Document toa w3c DOM Document. This allows you to parse and use HTML5, rather than the default strict XML required by the project.
Then you can use one of the
Jsoup.parse
methods to parse HTML5 and W3CDom::fromJsoup
to convert the Jsoup document to a w3c DOM one.Then you can set the renderer document with
builder.withW3cDocument(doc, url)
in place of builder.withUri(url)
.NOTE: This project previously provided a JSoup DOM converter module to do the same thing. This module is now removed (as of 1.0.1). Please migrate now.
PLUGGABLE HTTP CLIENT
Open HTML to PDF makes it simple to plugin an external client for HTTP and HTTPS requests. In fact this is recommended if you are usingHTTP/HTTPS resources, as the built-in Java client is showing its age. For example, to use the excellent OkHttp library isas simple as adding the following code:
Then use
builder.useHttpStreamImplementation(new OkHttpStreamFactory())
.The library should close the reader or stream when it is finished with it.CACHE BETWEEN RUNS (REMOVED)
IMPORTANT (1): This cache system should now be considered deprecated as it is not thread safe. It will be replaced with a simple byte array cache system in the future.
IMPORTANT (2): The cache system is totally broken, please see discussion in 204 for replacement options.
IMPORTANT (3): The cache system, except for the font-metrics cache has been removed. Please check the Fonts wiki page for more information on the font-metrics cache, which should be used when outputting multiple documents with fallback fonts.
URI RESOLVER
By default, the code attempts to resolve relative URIs by using the document URI or CSS stylesheet URI as a base URI.Absolute URIs are returned unchanged. If you wish to plugin your own resolver, you can.This can not only resolve relative URIs but also resolve URIs in a private address space or even reject a URI. To use an external resolverimplement
FSUriResolver
and use it with builder.useUriResolver(new MyResolver())
. The following example requires resources to be loaded throughSSL.LOGGING
Three options are provided by Open HTML to PDF. The default is to use java.util.logging. If you prefer to output using log4j or slf4j, adapters are provided.Add the appropriate maven module, then at the start of your code, before calling any Open HTML to PDF methods, use this code:
Add the appropriate maven module and include this line in your builder code for SVG support.
For MathML support:
IMAGE OUTPUT
For an example of outputting to images see issue #73
![Integration Guide Integration Guide](/uploads/1/2/5/8/125850026/668788075.png)
FINALLY
![Interview Interview](/uploads/1/2/5/8/125850026/119742511.jpg)
Thanks for using openhtmltopdf and please feel free to file any issues you are having trouble with.