Unlock the full value of DC Web with our global community.
Recently active
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?
We have an indesign-built PDF that has a full set of hyperlinked pages to make it easier to navigate from page to page in the document. When using Acrobat Viewer, macOS Preview, or Google Chrome, the page navigation hyperlinks work perfectly. However, when rendering the PDF using the Embed API, all hyperlinks go 1 page further then they should. For exmple in the table of contents, clicking on the link to take me to page 12, I end up on page 13. If I click on the hyperlink pointing to page 27, I'm taken to page 28. All links in the document are off by one, but only when using the embed API. Please advise! Seems like a bug. I looked through the documentation and didn't see any relevant option to address the issue.
Hi team, We are trying to use the Adobe PDF services API. Is there any webhooks available in adobe for the pdf services api? We know that there is already webhooks availble for the adobe sign in api. And also the url we are requesting requires authentication. When we try to use the authentication in the url itself, we got an error like invalid url. Is there any other alternatives to use the authentication for the webhook url? Thanks, Naveen.
HiWe were using main.js but popup appears that we have upgrade to "viewer.js" after using viewer.js we was not able to hide some of the icon in embeded.we need to hide icon which are highlighted in screenshort. Please help us with this.
We have requirement to spot the color and separate color channels from pdf in CMYK colorspace followed by combining the particular color channel. For Ex. combining just the CYAN and MAGENTA separations (or any combination of colors) to make a PDF file and the output PDF from the combo is in color and not greyscale.Can we achive this by using java SDK programmatically?If we can, then please kindly let us know the way to achieve the same.
Hi, i am trying to create a pdf from an URI, for that i am using this code :uriPath= "https://22759266.hs-sites.com/DpZWzbieeWPDKLdhi" CreatePDFOperation htmlToPDFOperation = CreatePDFOperation.CreateNew(); Uri uri = new Uri(uriPath); FileRef source = FileRef.CreateFromURI(uri); htmlToPDFOperation.SetInput(source); ExecutionContext executionContext = ExecutionContext.Create(this.credentials); FileRef destination = fileRefOperation.Execute(executionContext); destination.SaveAs("C:/Users/ouput.pdf");The pdf is generated but, there are 2 buttons, that also have css that are no created, there is any configuration that i can use to see these buttons ?
Hi, Iam maintaining a connector to Adobe DocGen, Extract and PDF Services for the OutSystems Low Code Platform https://www.outsystems.com/forge/component-overview/12582/adobe-pdf-services.For now, it still uses the old way of using multipart posts. After reading now through the new REST API i noticed that there isn't an option anymore to wait for the processing result. Is this correct, or did i just miss it? Thank you,Stefan
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.