Unlock the full value of DC Web with our global community.
Recently active
Hi there,I'm trying to use 'Adobe View' to embed a PDF on a webpage. I've followed the process detailed on this page, which leads me to the 'Document Cloud View SDK Demo' page, then I can copy the code generated. After pasting this into my webpage and previewing it, I can see the Adobe hosted PDF fine, however when I replace the URL under content option with the URL to my own PDF, then reload my web page, I recieve the following error message... "File preview error. File preview not available, please reload to try again" I've tried adding other PDF's hosted in other locations but to no avail. Does anyone know how I use my own PDF? I've attached some screen shots of the code working, albeit with the Adobe Preview PDF, and another when it fails after I try to use my own hosted PDF.
Console is getting a lot of errors, I think it is slowing down the viewer. console shows errors while the PDF is loading. DevTools failed to load source map: Could not load content for https://documentcloud.adobe.com/dcpreviewdropin/2.14.0_1.838.0/private/printHelper_main.6882a4f5.js.map: HTTP error: status code 403, net::ERR_HTTP_RESPONSE_CODE_FAILURE Access DeniedYou don't have permission to access "http://documentcloud.adobe.com/dcpreviewdropin/2.14.0_1.838.0/private/printHelper_main.6882a4f5.js.map" on this server.
Today, I deployed my app from localhost to my production site (with different domain name of course). Later, I discovered that every credential for PDF Embed API can only support one single domain; therefore, I tried to create another project with a new credential for my production site. But when I tested it on my localhost with the same API key that I used for localhost again, no error was logged on the browser console except a blank HTML container (with the expected height and width though).Later I thought it could be due to CORS issue (although less likely, because the PDF URL is hosted my own website with CORS header allowed all (*)), so I tried with the PDF URL given by the demo: https://documentcloud.adobe.com/view-sdk-demo/PDFs/Bodea%20Brochure.pdf Still no luck. Below is my code just in case you need to make sure I did it right: document.addEventListener("adobe_dc_view_sdk.ready", function () { let adobeDCView = new AdobeDC.View({ clientId: "4d80b79560164302a9aff
The text Find object locations is at 181px from left in the PDF, however, the JSON output from the PDF Extract API returns this: { "Bounds": [ 108.02000427246094, 692.2299957275391, 246.02609252929688, 708.1900024414062 ], "ClipBounds": [ 108.02000427246094, 692.2299957275391, 246.02609252929688, 708.1900024414062 ] }From what I understand, 108 is bottom left location of text.However, as per the PDF it is 180px.Can you help understand the relation here? Note: Input PDF has been attached. Thanks!
We know that the embedded PDF itself has the download button, but for better user experience, we want to create a larger download button that allows our users to easily notice it and download the PDF file. Unfortunately, as we all know, the HTML5's download attribute is for the same-origin only. Therefore, we wonder if Adobe PDF Embed API could expose a download method from their AdobeDC.View object that will work exactly the same as the download button in the embedded toolbar. Any chance to have that feature or it's already available but I could have missed something?Thank you.
Hi, I've tested PDF Extract both in .Net and in Python on this simple form (attached). It always fails on FileRef result = extractPdfOperation.Execute(executionContext); or in Py result: FileRef = extract_pdf_operation.execute(execution_context)The Api works fine on documents without form fields, but when those are present, it fails. Here's the error message as shown from a Python script: INFO:adobe.pdfservices.operation.pdfops.extract_pdf_operation:All validations successfully done. Beginning ExtractPDF operation execution ERROR:root:Exception encountered while executing operation Traceback (most recent call last): File "C:\Users\Tomek\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\adobe\pdfservices\operation\pdfops\extract_pdf_operation.py", line 134, in execute ExtractPDFAPI.download_and_save(location=location, context=execution_context, file_location=file_location) File "C:\Users\Tomek
Where would I find pdfservices-api-credentials.json or an example of it? It's not in the config.zip downloaded during the Get Started Workflow. The only files contained in the zip are the private key and public cert.
Newbie to the embed API here - trying to create a credential to test the embed PDF API, but I'm getting an internal server error - try again no matter what I try. (The domain is a valid one - I tried google.com and others without success as well.) Is it something I'm doing wrong or is there something else going on?
Hello everyone, I'm trying to make a docx template where for some paragraphs one or another word would appear in the paragraph. This is how I'm trying to achieve it: ...voornoemde {% conditional-section expr(hasCollectiveAgreement = true) %}cao{% end-section %}{% conditional-section expr(hasCollectiveAgreement = false) %}Policy Eindejaarspremie{% end-section %}.Document merging works fine if I use only one conditional-section within a paragraph, but whenever there are two side by side like shown above, the merging process doesn't pick the conditionals and leaves the text with as is. I tried putting some text netween the two conditional-sections but it didn't work.How can I solve this ?
Hi, I'm writing a react app where users may add annotations to a pdf which is being hosted in Dropbox. My problem is when there are multiple users accessing the file only one user can save the annotations and the annotations from other users are being ignored. Any ideas? Also, is it possible to show annotations from other users in real time?
Hi,I have a case in which i have to select an annotation whithin APP_RENDERING_DONE event. The annotation is being selected but when I'm trying to call the goToLocation function within annotation selected event, nothing happens. In debug mode, everything works fine.please advise...
How to extract pdf to Json from adobe server file.Is there any other method like createFromLocalFile to read pdf from adobe server and convert in JSON using Nodejs.
Hey all! I'm working to integrate analytics tracking for PDFs for one of my clients, and am having some difficulties with the Adobe Analytics integration that's part of the view-sdk module. First issue: I often see multiple calls getting sent for the same thing (e.g. "viewed page 1 of the doc") even when I haven't scrolled or moved my position in the doc at all.Second (and much bigger) issue: The ViewSDKInterface.js code (where the Analytics integration actually lives) is hardcoded to use s.t(), which is an Analytics-specific call to send data and mark it as a page view. This is problematic, because these are non-page-view events, and so using a page view call to track them (especially with the API being as verbose as it is with its tracking) will cause some pretty bad inflation of page view metrics in Adobe Analytics. There needs to, at the very least, be an option to use an s.tl() call instead (and this should probably be the default). I would be happy to submit a pull
Hey Adobe Members!!I m using your Adobe pdf service SDK for python,In which I m converting my pdf to text by using the "extract_txt_from_pdf.py" program which is in pdf service SDK. But actually, problem is that I have multiple pdf' which are in the same format but some of them is converting to pdf text and some are not all pdf content same format I didn't know why it is an actual happening
Hello, I am new to PDF APIs, I am trying to use the PDF Generation API for the first time. When I use the PDF Generation API, my request does gets submitted; status: 202. When I use the status API to see the result I do see the suceess and status: 200. My question is how to convert/see the actual resultant pdf? I see below. Apologies, this might be naive but I am new to this. Content-Type: application/octet-streamContent-Disposition: form-data; name="Agreement_Template1"%PDF-1.6%����133 0 obj
Hi,I'm new to the Document Services API and am trying to work out if the following is possible. I would like to be able to access the comments/annotations of a PDF file via an API. The following documentation is for the REST query that should extract the contents of the file, but I'm unclear whether this will include annotations or not. From the reading I've done, it looks like the annotations/comments are not available.https://documentcloud.adobe.com/document-services/index.html#post-extractPDF Can anyone kindly advise if I'm looking in the right area, or how else I can do this using REST API? I'm unable to install any Python/Java etc, which is often the solution I've seen when googling. Thank you in advance. Regards, David.
I tried converting EXCEL to PDF using Adobe PDF Service SDK. Got a pdf genrated but it is distorted... Need to fit all columns for Excel in the PDF...is there an option for this?? also how to convert just a single worksheet in excel in PDF.. Please help
We are observing a peculiar problem with Adobe PDF Extract API When submitting API request (POST) via postman to https://cpf-ue1.adobe.io/ops/:create we get full response, which contains 4 files (csv, png, x json files), see response_postman attached. Jsonoutput in this case contains elements array with extracted dataWhen exactly the same request is submitted using VBA (using xmlhttprequest) with the same request parameters and headers, we get a response with Status 200, but only 2 JSON files (PNG and CSV are missing) see the second file. Furthermore, the elements array is blank.Both requests were sent 1 minute apartpostman - 20/09/2021 11:04xmlhttprequest - 20/09/2021 11:05.
Just a quick note that in the past few days we released a new update to our APIs. These new features include: .NET SDK support for PDF Extract API A whole new feature, PDF Properties API Improved support for generating images from PDFs Improved HTML to PDF support (including the ability to generate a PDF from a URL) I wrote about these changes and more on our developer blog here: https://medium.com/adobetech/unpacking-the-september-2021-release-adobe-document-services-79d487be2e4
This is just an FYI, but hopefully you've bookmarked the Adobe Tech Blog (https://medium.com/adobetech) on Medium. If you haven't, definitely check it out. If you want to focus on Document Services content, you can find those posts here: https://medium.com/adobetech/tagged/adobe-document-cloud And, if you use an RSS reader, you can find that here: https://medium.com/feed/adobetech/tagged/adobe-document-cloud
I'm hosting a website that allows users to use the embed pdf api to open a local interactive pdf from and edit it. However, in order to save user's progress to local disk, the user has to manually download the pdf since the save functionality in the embed api only saves user's progress in the memory. Is there a way to automatically synchronize user's progress to local disk without having to manually download it? (It's kind of like when you use Word to edit documents, you can directly save it to the same file on local disk.)
Hello, I am using the adobe PDF service connector from Power Automate to convert an HTML file to PDF.It works great, but I don't know how to customize the header and footer. Anyone have a solution?Thank you.
I am currently trying out the Document Generator service as part of a POC for a current project and ran into what I believe is a bug. The conditional-section syntax is not being parsed if it is part of a Word header section. If I place it in the body of the document it works, but if I move it up into the header it just outputs the syntax rather than evaluating it. Other tags are evaluated, just not the conditional-section tag.
I'm working with Retool, attempting to automate a PDF generation workflow for my internal team. This is not a traditional javascript application with HTML. I need to 1.) use the Retool utility for downloading the file and 2.) persist the data to a DB (likely a Blob field type). I have downloaded the Postman collection and environment and modified it to work with my account successfully. I can also successfully call the Document Generation POST endpoint (/ops/:create), get the location ID, and finally call the Poll Status GET endpoint (/ops/id/R1UeCerQ14fM1CMsagyOaMlSFXZ8thxi) to get the final multipart/mixed response. It looks like this: --Boundary_380665_2133110495_1627937751536 Content-Type: application/json Content-Disposition: form-data; name="contentAnalyzerResponse" {"cpf:inputs":{"documentIn":{"dc:format":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","cpf:location":"InputFile0"},"params":{"cpf:inline":{"outputFormat"
Iinstalled it twice still get this error message. Last time I uninstalled it and installed it again. Still getting this error message.
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.