Unlock the full value of DC Web with our global community.
Recently active
Getting 'Fatal error ' as below when generating pdf using Adobepdfservices-sdkversion 2.2.2 Html to pdf operationAll validations successfully done. Beginning CreatePDF operation execution 2022-12-13 16:59:48.749 [XNIO-1 task-14] ERROR c.a.e.d.m.b.s.CreatePDFFromHTML - Exception encountered while executing operation com.adobe.pdfservices.operation.exception.ServiceApiException: description ='Fatal error, Please check logs for details.'; requestTrackingId='Y6GzQ0h7Wj1e2GAdWMuBVapadrRcvtwY'; statusCode=500; errorCode=UNKNOWN at com.adobe.pdfservices.operation.pdfops.CreatePDFOperation.execute(CreatePDFOperation.java:212) at com.anthem.emep.dckr.microsvc.bbbookletservice.service.CreatePDFFromHTML.generatePdf(CreatePDFFromHTML.java:68)
Hi everyone! Currently working on a view on a desktop application that would show the user what the PDF embed would look like on a mobile device. Is there a way to specify the document embed API uses a mobile view rather than desktop in this case?
Hi All, We are fetching the records from dataverse table and populating into a word document and then using Adobe action 'Convert word to pdf' to generate PDF report document. It is working successfully for 3630 records but if we try to print more records then Convert word to PDF action is failing with 502 Bad gateway error.Error :Body { "error": { "code": 502, "source": "flow-apim-unitedstates-002-eastus-01.azure-apim.net", "clientRequestId": "b87317d1-d6e4-4f9b-aa90-9fab3f363e63", "message": "BadGateway", "innerError": { "error": { "code": "OperationException", "message": "Error occurred while processing the request; transactionId=TnzHFzQ3jecbiy
var adobeDCView = new AdobeDC.View({clientId: "<YOUR_CLIENT_ID>", divId: "adobe-dc-view"});adobeDCView.previewFile( {`content: {location: {url: "<Path to your PDF/yourfilename.pdf">}},`metaData: {fileName: "yourfilename.pdf"}`});In this the divid is just used for Setting up the rendering area ;Or else will they use it for any other purposeI just want to know the internal working code for this one
I am converting html to pdf using node js. to create credential Object, I am using below code. const credentials = PDFServicesSdk.Credentials.serviceAccountCredentialsBuilder() .fromFile(path1.join(__dirname, '../pdfservices-api-credentials.json')) .build(); this is working absolutely fine. but for security resons I dont want to keep credentails inside file pdfservices-api-credentials.jsonI am keeping its content in azure vault. So, is there any other way to use instead of using fromFile method?
Hello, The PDF Embed API forces the user on mobile to preview the PDF in full screen when the EmbedMode is set to SIZED_CONTAINER.It's all fine in the full screen until the user gives a swipe gesture from top to bottom to go to top of the PDF or to scroll up in the pdf. As soon as this happens, the user is thrown out of the full screen preview into a sized container window where the PDF isn't previewed and an expand button is shown. User has to click on the expand icon again to preview the PDF in full screen. It's very annoying and makes reading the pdf on mobile almost impossible. Please fix it.
Hi ,I'm running a node.js server that calls Adobe API. The adobe api works in my local system fine but on server it's through error. It is only not wokring in specific one lives server.1. this is only happen in live server2. In other live server also it's working but only occuring in specific one server3. We delete some users form our server using deluser commend then after we restart our nginx server and the problem is occure.Can anyone please help me 🙂0|server | Exception encountered while executing operation { ServiceApiError: Response Parser Failure: Request aborted 0|server | at multipartResponseParser.parse (/var/catapultSrcCode/catapulthq/server/node_modules/@adobe/documentservices-pdftools-node-sdk/src/internal/api/cpf-api.js:160:19) 0|server | at IncomingForm.<anonymous> (/var/catapultSrcCode/catapulthq/server/node_modules/formidable/lib/incoming_form.js:104:9) 0|server | at emitOne (events.js:116:13) 0|server | at IncomingFor
I have been successful at displaying a file from dropbox in the API using the following:const dropboxLink = "https://www.dropbox.com/s/3epmnxwhrnk7lgd/Bodea%20Brochure.pdf?dl=0"; const clientId = "myclientidnumber"; const viewerOptions = { embedMode: "FULL_WINDOW", defaultViewMode: "FIT_PAGE", showDownloadPDF: false, showPrintPDF: false, showLeftHandPanel: true, showAnnotationTools: true }; document.addEventListener("adobe_dc_view_sdk.ready", function () { var urlToPDF = directLinkFromDropboxLink(dropboxLink); var adobeDCView = new AdobeDC.View({ clientId: clientId, // This clientId can be used for any CodePen example divId: "embeddedView" }); adobeDCView.previewFile( { content: { promise: fetchPDF(urlToPDF) }, metaData: { fileName: urlToPDF.split("/").slice(-1)[0] } }, viewerOptions ); }); // Utility Functions: // Return a Promise that fetches the PDF. function fetchPDF(urlT
Hi ,I'm running a node.js server that calls Adobe API. The adobe api works in my local system fine but on server it's through error. It is only not wokring in specific one lives server. Can anyone please help me 🙂0|server | Exception encountered while executing operation { ServiceApiError: Response Parser Failure: Request aborted 0|server | at multipartResponseParser.parse (/var/catapultSrcCode/catapulthq/server/node_modules/@adobe/documentservices-pdftools-node-sdk/src/internal/api/cpf-api.js:160:19) 0|server | at IncomingForm.<anonymous> (/var/catapultSrcCode/catapulthq/server/node_modules/formidable/lib/incoming_form.js:104:9) 0|server | at emitOne (events.js:116:13) 0|server | at IncomingForm.emit (events.js:211:7) 0|server | at IncomingForm._error (/var/catapultSrcCode/catapulthq/server/node_modules/formidable/lib/incoming_form.js:298:8) 0|server | at IncomingMessage.<anonymous> (/var/catapultSrcCode/catapulthq/server/n
Is it possible to add a character limit and character count display when adding a text comment and/or when adding a comment (sticky note)?
We have a scenario where we have an adobe pdf document which is rendering successfully on UI. This document asks the user to sign digitally. After the user signs this document, it shall render successfully on UI with digital signature but this time the document fails to render on UI with CORS error though we see 'File Preview Error' on browser.We have already registered our domain with adobe with 'PDF embed API' and used the generated ClientID in our code.We see following CORS error on console: -Our code looks like as follow: -readyPromise: Promise<any> = new Promise((resolve) => { if (window.AdobeDC) { resolve(''); } else { document.addEventListener('adobe_dc_view_sdk.ready', () => { resolve(''); }); } }); previewFile(divId: string, documentUrl: string) { const config: any = { clientId: 'client_id', }; if (divId) { config.divId = divId; } this.adobeDCView = new window.AdobeDC.View(config); const
In the desktop browsers we can get the toolbar by hovering, but on the mobile browsers, its not display the bottom bar, nor indicate the arrows for the next page.How can we get the next page indication or slide arrows? to guide the users, that here are move pages to the PDF file?Screenshot: There is no indication if this document has any additional pages, or to move left or right, to see more pages of the pdf file.
Hello,I'm getting the following error when running PDF text extraction on certain PDFs: raise OperationException(message="Error response received for request", adobe.pdfservices.operation.internal.exceptions.OperationException adobe.pdfservices.operation.exception.exceptions.ServiceApiException: description =ERROR - Unable to extract content. Internal error; requestTrackingId=yQtpe6ZOBTtkGWg7b3hnHgjTqOVFuIaH; statusCode=500; errorCode=ERROR The API is working for most PDFs, but also regularly failing about 5% of the time, for various PDFs. An example of a PDF that fails to extract is here (also attached): https://openreview.net/pdf?id=xmJsuh8xlq I'm not clear what is causing the issue. Is it math symbols? Images? Tables? Something else entirely? Any light you could shed would be very helpful. Thank you!
Dear, After migrating to the new viewer.js, there is an automatically added horizontal margin (indicated in red): Is there an option to remove this? The image below is a side-to-side comparison of respectively the new and old versions. Also. I have not found a way to completely remove the rightHandPanel (cf. deprecated showLeftHandPanel).
Hi. I want to embed PDF on my website by API but got a File preview error.The demo file run well, as I added the credential of my website. The following link is my website to conduct PDF embed:https://gyulab.github.io//projects/2021/12/06/temp.htmlAnd the github link to view code:https://github.com/gyulab/gyulab.github.io/blob/master/_posts/Projects/2021-10-15-temp.md As you see, using <iframe> or <embed> shows the file, but the file with API not working. I have tried to alter the url as follows, but none of these work:1) Google Drive Preview file: https://drive.google.com/file/d/1rkZbHboUDY52Shh0kEoPs_rF7NYesnmq/preview 2) Github directory:_posts/Projects/MS482_Report_20180583_Gyujun_Jeong.pdf 3) Github direct link (raw file): ttps://github.com/gyulab/gyulab.github.io/raw/9113cbc5602d0fb3177408304d38be8e99c8c72f/_posts/Projects/MS482_Report_20180583_Gyujun_Jeong.pdf All solution would be appreciated.
I'm trying to setup the sample code provided for PDF extract API service in databricks environment ( with just one driver node setup) but i'm unable to set the credential code which requires the path to api-credential.json its not able to read the path , please find the screen shot of the issue. Please help to setup the environment Thanks in advance.
Hi Adobe, I was trying to extract PDF data using Python-Databricks, but It's not storing output.I have stored the Private key file and pdfservices-api-credentials.json file into my databricks filesystem and accessing from there. It is executed successfully but It is not saving output.I have shared some databrick output sample, please check once. Thanks,Manas
what does "unsupported" annotations mean? how to add them? I just need to highlight some text in pdf, can I do it somehow? how?
Bonjour, Lorsque j'utilise l'API PDF Embed : je visualise mon PDF et je peux le remplir puis l'enregistrer sur mon serveur. Cependant, la taille du texte dans les "input" est beaucoup trop grosse. Y-a-t-il un moyen de réduire cette taille de police afin que lorque je télécharge le PDF complété, l'affichage soit correcte. Merci d'avance
@8973619 I found your awesome codepen Adobe Embed API displaying a PDF file from Dropbox I've beed trying to do this and have been unsuccessful. I did the following: 1. Put PDF into Dropbox Directory2. Created share link in Dropbox to folder with html and .js files3. Created Credentials in Adobe API with URL dropbox.com 4. Edited your JS Example to add my credential/key from adobe api and the shared link from Dropbox5. Open link in browser to folder or html file Im sure Its something obvious but what am I doing wrong? It displays the html code in preview in the browser and not the html view.....
Hi i am tryaing to create a button how runs a js, and insertit in my pdf, there is any way to do this with Acrobat Services API ? unti now what i trie is create the button in an html and converted to pdf but the logic no working.
Links in embedded pdfs used to open an "Open Web Page" dialog box.Everything seemed to work perfectly fine over the past several months, until today when I went to click on a link, and now the dialog box no longer appears, and it seems linking is broken?(I have not changed any of the code) Now, before clicking any link, the cursor mouseover changes (as normal), but after clicking any link, the pdf is surrounded by a thin blue border, and none of the links show mouseover behaviours anymore or are clickable. If I open the pdf files in adobe, the links work perfectly. Did adobe change something about link behaviour? For example, the coloured bold names on the left column should all be links:File on WebsiteThey work in the attached pdf file, but no longer work on the site.
Hi,I am using document service APIs for converting the html to pdf as suggested in the documentation. The Dynamic html has analytics graph, and it converts as expected, but the pdf is not fully capturing the html as it loads in the browser. How to convert the html to pdf as looks in the browser. And how to capture the full content of html. Here I am sharing the screen shot of converted pdf and the html that loads on browser. Html OutputPDF Result
We want to generate some reports in PDF format. We are okay with using MS Word for creating report templates. Our report will have graphs and charts. I could not find any template tags that help draw a bar graph or a pie chart (with varying percentage values coming from the JSON data). Can someone suggest a way to draw graphs and charts in the resulting PDF using a template (MS Word or HTML/CSS) and the JSON data? I would appreciate it, if someone can let me know if this feature is not supported at this time. That will help us avoid investing time in looking for an answer. thanks!Karunakar
Hello, I noticed you can't click links, copy text or interact with the PDF anymore in in-line view on the new version of Adobe's PDF Embed API. Does anyone know if there's a way around this?
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.