Unlock the full value of DC Web with our global community.
Recently active
This is an old blog post of mine, but I thought it might be of interest to developers here. You can use JavaScript to detect when part of the DOM is visible, and delay loading things (like PDF Embed) until that time. I explain how here: https://www.raymondcamden.com/2021/04/09/load-a-pdf-embed-when-visible
We haven't made any changes to our use of Adobe PDF viewer in a few weeks, and today we have this issue where the PDF will load including all its pages, but you can't see whats on the pages as the text is all white. You can use the download function and open the PDF and that version of the PDF looks normal. Does anyone have any suggestions on how to resolve this issue? It only affects certain PDFs but we can't seem to find anything in common with the affected PDFs.
I am on the free tier of the API service working on a POC for my company. I have successfully uploaded a Word document using the asset REST API service. I have also used the document generation service REST API to generate a pdf by merging the JSON object and the templetized Word doc. Questions:Is there a way to access the "Internal Adobe Storage" to view the uploaded documents?Can we run the document generation API on an existing doucment that lives on the our "personal" adobe cloud storage?What is the the time to live for the links containing the generated document given by the document generation REST API service? I am trying to figure out if I need to invoke a document generation merge everytime a user wants to view a documents because the asset links might expire over time.
Hi, Our company is developing an app which requires adobe API to convert the text, image and excel files into PDF/A-2U. Where I can purchase those API. I tried to contact Adobe sales team but I did not get any proper answer them.
If folks are interested, I've got a Node.js *opinionated* wrapper for the REST APIs. It does a few things I particularly like: * Combines the upload process into one call * Can poll a job (currently hard coded at two seconds) * Can download when a job is done (ie, poll until done, then save) You can find the source here: https://github.com/cfjedimaster/document-services-demos/tree/main/serviceswrapper I'm only "officially" supporting Extract, but I've got a few other endpoints in there as well that I want to change the method signature on a bit. Here's a full example where I call Extract on a PDF and read the JSON: require('dotenv').config(); const ServicesWrapper = require('./ServicesWrapper'); let sw = new ServicesWrapper(process.env.CLIENTID, process.env.CLIENTSECRET); (async () => { let filePath = '../source_pdfs/schoolcalendar.pdf'; let mediaType = 'application/pdf'; let asset = await sw.upload(filePath, mediaType); con
I develope on a site that makes a lot of use of the PDF Embed API. We view many different types of PDF files without any problems. It has been working fine for over a year until about mid April 2023 when the employee paychecks we display started displaying with all the text in white making it unreadable in the viewer. All other PDF files on the site look fine in the viewer. If you download the PDF check or view it in a browser's built in viewer the PDF looks fine. If you use the Optimize option in Acrobat PRO the file will then display correctly in the Viewer. You can see this issue occuring at the URL below which is showing a fake user pay check. Any help in correcting this issue would be greatly appriciated. https://support.c2essentials.com/Clients/View.html
Hello, I am trying to go through document generationI have generated link to upload an asset I have uploaded asset hereI try to verify if asset is saved, but I get not found:Also, I get asset not found when trying to generate doc with newly created assetWhat could be the problem?
Hi. I would like to try the PDF extraction API. My issue is ITAR rated/classified documents.Question 1: Does the extraction takes place on Adobe Cloud , which (to my knowledge) would violate ITAR,or is the extraction happening locally through the SDK? I'd love to see if Adobe PDF Extractor performs better than batch Importing pdfs into MS Word, which happens locally.For me, performace is better extraction of complex tables and text Question 2: Does the desktop local version of Adobe Acrobat Pro use the same Sensei technology? Many thanks in advance
I keep getting the same error when trying to create a connection to document services. What am I doing wrong? I base64 encoded the file I retreived at signing up. This one: {"project": {"id": "4566206088345033186","name": "Fullapikey","title": "Full api key","description": "PDF Services","org": {"id": "1347161","name": "chargecars-gmail.com","ims_org_id": "84681EAE64D7F8C40A495C53@AdobeOrg"},"workspace": {"id": "4566206088345041923","name": "Production","title": "Full api key","description": "PDF Services","action_url": "https://1347161-fullapikey.adobeioruntime.net","app_url": "https://1347161-fullapikey.adobeio-static.net","details": {"credentials": [{"id": "491054","name": "Full api key","integration_type": "oauth_server_to_server","oauth_server_to_server": {"client_id": "1bb7a0af46ac4711a0480f0738b744d5","client_secrets": ["p8e-2VwC6gUq944Tco4TKY3AHtmpd8n8L9Lc"],"technical_account_email": "2c47eefb-5fb7-40f4-a151-5bae949970a7@techacct.adobe.com","technical_account_id": "87CC1E
Hi, I downloaded the sdk and was able to run the CreatePDFFromDocx and CombinePDF successfully, however when I tried to access these methods in my .net6 project, via nuget package reference (Adobe.PDFServicesSDK), I'm having trouble instantiating any of the methods....can someone please help?
I am using Adobe Acrobat Pro 64 bit and since then PREVIEW PANE is stopped working. Thru google I tried to correct this problem but in vain. PLEASE HELP.
Does anyone know when Adobe will enable extracting PDF Form Field values? I tried parsing a simple form with 3 fields and it doesn't work at all. Am I doing it wrong? I have 3 fields, First, Last, and Email. All single line text fields.
PDF Exctract API in .NET has option to save the output json file and excel using result.SaveAs but is there a way to get the response to just be byte array or json object or json string insteadt of saving it in a local directory.
Hi,We have taken AWS login to convert pdf to json, but that does not provide point of contact for support.We wanted to take enterprise solution with support what is the best way to do that. If someone could help with people to get in touch for the same.
ServiceApiException: description =UPLOAD failed for with error: Unable to upload file: <?xml version="1.0" encoding="UTF-8"?> <Error><Code>ExpiredToken</Code><Message>The provided token has expired.</Message><Token-0>FwoGZXIvYXdzEIf//////////wEaDOMjJj9+nvCnjG66TCLUAQxi5GrCd6ZJGQSTrloTcvGddIv5WJZQHAj/l5HNkoFXrEsS8rPU6qhDjH9oqsmnh6Zp80XTeb0vuq4TEg0ERgOGomEdunGJtyTWXbZT7H3SR5BDx4x1wZMMURGV7ujdQOK1s9M7iTx+kV2pbs7quJmfAKBfyFWWVaItcaj5j9idVSGB6XmUqVOhSgqbINYY89q92jctdU+zgFkRBhbsXi8by4v3Zu/zngEvzKHQru+T6o5TVaxJ0XDRSoJyt+ut1j5D+gcvBYhzh9oGh4T4YIoZdRxOKOLAsKYGMi0+8T8aLqQvB0n3etjv+MS1A2Ysj8N9k5HOy+lAw/s4wAFClg7NBW5lK9gVDGs=</Token-0><RequestId>3FCR8BBTBHT6PDPH</RequestId><HostId>WEFGWlahurALh7fFMrd2+hQtAbss1q8hF2Lv4emqXxH0z+uXHAcFpaxHQR1nZYgTJxI4AAW4haE=</HostId></Error>; requestTrackingId=a74e2783-f2ba-4644-a538-0823475d66f0; statusCode=400; errorCode=INTERNAL_SERVER_ERRORAbove error is coming many times when we call
Hi all,We have tried to generate the document using the document template with Json supplied to generate document using adobe document generation api and we are able to download the pdf as well however we would like to understand if we can email the generated document as an attachment once it’s generated,
Hello, I am using pdfservices api to convert html to pdf. I am using the defautl header and footer from the pdfoptions..includeHeaderFooter(true) The only trouble I am facing is that the footer is giving me soem temporary html file address which I can't seem to change. From the documentation, I know the default footer shows the page number and filename, but how is the filename determined? Is it something I can change? Attaching a screenshot for your reference.TIA
A coworker just asked this so I thought I'd share. The general form of a condition in Document Generation looks like so: {% conditional-section expr(state = "LA") %} La yes {% end-section %} If you want to evaluate to true based on 2 or more possible matches, use "OR": {% conditional-section expr(state = "LA" or state = "PA") %} La or PA yes {% end-section %} As an aside, this coworker specifically was asking about checking -43- values. Now, while I believe 43 clauses should work fine, it's going to be pretty ugly in your Word template. In this scenario, I'd preprocess your data. So before you call the API, look at your data, and in your code, set some _new_ property, like "inSpecial43States" to true or false based on your logic. Then your Word document will be much cleaner (and easier to understand too).
Hi,I am trying to create a PDF file from HTML that includes a style with A4 page separation SDK+ NODE code, the result in the print preview of the PDF the division looks different from the view in HTML. i use this code:const setCustomOptions = (htmlToPDFOperation) => { // Define the page layout, in this case an 8 x 11.5 inch page (effectively portrait orientation). const pageLayout = new PDFServicesSdk.CreatePDF.options.html.PageLayout(); pageLayout.setPageSize(8, 11.5); // Set the desired HTML-to-PDF conversion options. const htmlToPdfOptions = new PDFServicesSdk.CreatePDF.options.html.CreatePDFFromHtmlOptions.Builder() .includesHeaderFooter(true) .withPageLayout(pageLayout) .build(); htmlToPDFOperation.setOptions(htmlToPdfOptions);};.
Hello, in the embedded mode: IN-LINE, how can you delete (decrease) the white spacing between pages in a pdf document. Cheers,
I got a mail from Adobe which said that: "We’re reaching out because you’re still using an older version of the SDK. Please note that the SDK v2.x (Java, .NET and NodeJS), SDK v1.x for Python and earlier REST API versions will no longer be in service after September 30th, 2023." But on the adobe website, it says "Your applications using the Service Account (JWT) credentials will stop working after Jan 1, 2025." Please help to confirm when is the deadline? September 30th, 2023 or Jan 1, 2025.
Good morning!Last year we've acquired a license for the PDF Services API and I would like to be able to see a historic report that shows the overall usage of the API (for which we currently have 2 projects in use in Adobe Developer Console).I am able to get last month's usage for each project, but I'm lacking seeing a report that shows the total of transactions used vs purchased.Is there a way I can find it? Thanks!Alessandro.
My app calls Adobe PDF Services REST API using the Export PDF to PNG Zip file REST API calls and have the following issues:1. Free Access Token Expires. The Bearer token expires within 1 day. Do I need to create a new Bearer token at the start of the PDF Export function ? Adobe PDf Services API Free Tierhttps://acrobatservices.adobe.com/dc-integration-creation-app-cdn/main.html?api=pdf-services-api 2. My app follows the PDF to PNG Image steps from these links.https://developer.adobe.com/document-services/docs/overview/pdf-services-api/gettingstarted/https://developer.adobe.com/document-services/docs/apis/#tag/PDF-To-Images/operation/pdfoperations.pdftoimages Test 1: Input: 2 page PDF. Simple text. The unzipped PNG files are blank.Test 2: Input: 3 page PDF. API returns Error "CORRUPT_DOCUMENT" I've uploaded the file again, but same error. I can open this PDF file in Acrobat.  
We are currently testing 'Adobe PDF Services API' with 'Power Automate' to convert PDF files (containing text in Italian) to Word, and the conversion is working correctly.The issue is that for some PDF files, the text is converted properly, however all the words with accents are converted without accents (e.g., "nonché" becomes "nonche").It seems like the converter fails to recognize that the text is in Italian, or that does't support words with accents of all kind.We tried to use the Adobe Web Page converter, with the same PDF file and the problem still persist, however with third party converters, found online, the convertion works correctly.It's this a know issue? Can you help us? What can we do?Attached you can find one of the files we are talking about.Thanks in advance
i get thhis error: Exception encountered while executing operation TypeError: PDFServicesSdk.CreatePDF.options.PageLayout is not a constructor
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.