Unlock the full value of DC Web with our global community.
Recently active
Hi, I'm Using Adobe PDFServicesSDK to export PDF from HTML. I'm able to Save the file in the desired location which is perfect as expected . But I'm not able to download the File due to only limited properties result.SaveAs option available.Could some one help me to download while button click?.https://github.com/adobe/PDFServices.NET.SDK.Samples
Just a quick note to announce we released a new version of the PDF Embed API today. You can find details on the changes here: https://developer.adobe.com/document-services/docs/overview/pdf-embed-api/modernviewer/ You can also see the new viewer in use on the online demo: https://documentcloud.adobe.com/view-sdk-demo/index.html#/view/FULL_WINDOW/Bodea%20Brochure.pdf Note that your existing code will NOT change and will use the "legacy" viewer until you update you code to point to the new library.
I our application we regularly process 500+, and 1000+ legal documents. We might split them, but we would lose context the API uses to build up document structure, for part detection, headings, paragraph parts, etc.
Hello, Just wondering if anyone is having issues with the document service api for embedding PDFs at the moment?We are getting this console error on our webapp at the time. Regards, Javed
Hi,I've been trying to use Adobe PDF Services API to transform a .docx to .pdf. I used the exemple Postman colection following the given steps (https://documentcloud.adobe.com/document-services/index.html?_gl=1*1ckwf6v*_gcl_aw*R0NMLjE2NTQ3ODE0MDEuQ2p3S0NBand0SWFWQmhCa0Vpd0FzcjctYzhVbUdFY05UcjJ0NmFjenZNNXRpQzVuOHFvRHRROENuOE1BenlHNUJTLV9yYm5zSWJySmdob0NMeWtRQXZEX0J3RQ..#how-to-get-started-) and it seems to work fine. The problem is that I can't manage to get the pdf from the response. It seems to have a PDF in octet-stream, but no matter how I try to save it, I don't get a PDF.For exemple, if I try to save all the response body and change the file name to .pdf, it opens a PDF with the right number of pages, but completly empty. That happens even if I keep only the part between %PDF-1.7 and %%EOF in the file. The response I get from the GET request has the following structure in the body: --Boundary_96548_2076176993_1654878435333Content-Type: application/jso
Hi, I'm storing my private key in my Azure function configuration and when I run my application from the remote Azure server I get "Could not read RSA private key." This error does not occur when I run my application locally (I'm storing the RSA key in my local.settings.json file). Why can I read the RSA key locally, but not remotely? Thanks.
We are sending a request to generate a agreement, but it is not ready synchronously (i.e when we get the response) so we have to keep polling every second until it is ready. We give it 5 tries (5 seconds) and then abort. I see that we have some cases (not many) daily where this happens. When it does customer is unable to sign the document. if you can indicate a maximum "time-to-ready" (TTR?)
I want to use the Annotation feature in Embed API - but I don't want to rely on its "Save" button. Is there a way to trigger "Save" programmatically? I tried the enableFocusPolling. Even with enableFocusPolling=true, it takes aroud 2 seconds after the annotation before SAVE_API is triggered. This means that our fake-Save button does not have the latest copy of the PDF file. Is there a way to trigger SAVE programmatically?Is there a way to programmatically check if any changes are unsaved? I have created this CodePen to illustrate this point: https://codepen.io/vmit/pen/JjMraxgIf you annotate something and click "Save PDF File" immediately, you don't get the latest changes. Likes
The requirement is to display a password-protected PDF in the browser but to pass the User password programmatically. I am using the MERN stack and used ADOBE API Tool to create and protect PDF. I want to know can I display this PDF within a webpage (using iframe or any other solution) without the user needing to input the password manually. The moto here is to - while displaying in the browser, the user should not be prompted to key in the password and hence the password should be supplied by the application, However, if the user downloads the PDF and then tries to open it, he should be prompted to enter the password.
I am using the pdf extraction function provided here on my own PDF files: https://developer.adobe.com/document-services/docs/overview/pdf-extract-api/howtos/extract-api/ Whenever I try and extract tables, the program throws this error:INFO:adobe.pdfservices.operation.pdfops.extract_pdf_operation:All validations successfully done. Beginning ExtractPDF operation execution ERROR:adobe.pdfservices.operation.internal.api.cpf_api:Failed in parsing Extract Result Traceback (most recent call last): File "C:\Users\camer\anaconda3\lib\site-packages\adobe\pdfservices\operation\internal\service\extract_pdf_api.py", line 52, in download_and_save extract_data_parser.parse() File "C:\Users\camer\anaconda3\lib\site-packages\adobe\pdfservices\operation\internal\service\extract_data_parser.py", line 180, in parse self.ed_zipper.add_rendition_data(rendition_output) File "C:\Users\camer\anaconda3\lib\site-packages\adobe\pdfservices\operation\internal\service\extract_data_zipper.py"
Hello I trying to display the document on my web app and on the desktop its fine apart from that the viewer is not scrolling up or down, only from side to side it's not very intuitive. But the main issue is that when Im using my phone and enter fullscreen mode it makes the viewer in landscape mode. Is there anything i can do to make mobile viewer full screen portrait mode?
Hi,We are using using Adobe.PDFServiceSDK(2.2.1), through fiddler you have seen its background processing in which it connects with WebSocket on port 443. we just want to make sure that it doesn't post any client's document's data on its server. these are our client's privacy concerns.Thanks
I am using the react repo on Github. I noticed that the annotation unique IDs do not stay same when the PDF is loaded/reloaded. Could you please advise if somehow these IDs could be made the same across different loads?
I am a developer and have a client who wants to automate password protected PDF creation. I already have the PDFs being generated automatically through our Google environment, but want to find out what's involved with password protecting them through the API.I see I can get developer credentials, but once it's delivered, how do I set it up so that the person using the tool (my client) will be passing along their credentials.I also see dev credentials expire after 1 year. Is the same true of user credentials? If so, I'd need to inform my client about renewing them. Can someone direct me to an article or briefly answer here? Thank you, Steve
After the newly generated PDF is created from my DOCX template and JSON data, the file will throw and error if trying to open in Chrome that says: "Error. Failed to load PDF document." as well as "Adobe Acrobat Reader could not open 'test.pdf' because it is either not a supported file type or because the file has been damaged (for example, it was sent as an email attachment and wasn't correctly decoded)." if trying to open in Adobe Reader. However, when opening in Safari or the native Mac Preview app, the file will open. We are using the Document Generation API (https://documentcloud.adobe.com/document-services/index.html#post-documentGeneration) to pass the template file and JSON data. I have tried using our own DOCX file as well as the template DOCX that is given on the Playgound site. They generate with 201 status code.Please help!
Hello, To create `ExecutionContext`, we need to pass the credentials. While creating credentials, I need to read all the values from AWS secrets and paramstore. Now I am confused how I have to read the and pass the private.key value and pass it while creating credentials. Because when I tried keeping the private ley value in secrets and read it, its not able to parse it. And we are not allowed to store the private.key file in our code base as per the security reason. Can you please help me understand how you guys will read and send the value for this private.key ? Credentials adobeClientCredentials = Credentials.serviceAccountCredentialsBuilder() .withClientId(adobeClientId) .withClientSecret(adobeClientSecret) .withPrivateKey(adobePrivateKeyfileContents) .withOrganizationId(adobeOrgId) .withAccountId(adobeAccountId) .build();I am having issue creating Credentials due to that. Need help
Hello,We are having problems with periodic times of slow service. Since these are not individual outliers, but all conversion requests are taking minutes, we don't think it is due to the documents been converted at the time.We see that conversion might take like 20 sec to 35 sec on average (we see ranges of 1 min up to 3 mins if we use more conversions inside an API). As we are currently increasing the traffic we send to using the PDF conversion, we would like to ensure these wait times can be reduced by 2-5 secs. We are using DocumentMergeOperation and CombineFilesOperation in the same API as per our requirement.Could you help us understand what might be the reason for this?Thank you.
Is there an explanation as to 'why' the embedded api is not allowed to edit a 'protected' document?These forms of documents can have the ability to be editted using a normal Acrobat session, and it seems to be very strange that we are unable to edit a protected document within the API viewer. Filling in a field seems like a rather strange thing to lock out. Is there an enhamcement request in place to request this feature? RegardsDC
I am fetching the PDF file from an API end point which is bringing the file to the client side and its working perfectly. Now I want to display a custom error whenever the operation has failed just like how It can be done using JQuery like the example code below: success: function () { //Do something }, error: function () { //Do something } The code for getting the document from the API end point is like below;/* Invoke the file preview API on Adobe DC View object */ adobeDCView.previewFile({ /* Pass information on how to access the file */ content: { /* Location of file where it is hosted */ location: { url: "https://localhost:44382/api/Document/PDF/12", headers: [ { key: "Authorization", value: "Bearer kasbdskajdbdsjdnnjsmdanksd", } ], type: "GET", }, /* Pass meta data of file */ metaData: { /* file name */ fileName: "@viewDocument.DocumentTitle" } }, { defaultViewMode: "FIT_WIDTH", showAnnotationTools: true, showLeftHandPanel: false, showDownloadPDF: false, showPrintPD
Document Generation API is not processing {% %} tags. And it leaves those tags in the output PDF (i.e. it considers them part of the document). Yet the samples ran OK.
Hello PDF Embed API File preview work for a day and dince that I've got File preview not available, please reload to try again.The page is https://luvilor.fr/catalogue-en-ligne.htmlThe code is<script src="https://documentcloud.adobe.com/view-sdk/main.js"></script> <script type="text/javascript"> /* Copyright 2019 Adobe All Rights Reserved. NOTICE: Adobe permits you to use, modify, and distribute this file in accordance with the terms of the Adobe license agreement accompanying it. If you have received this file from a source other than Adobe, then your use, modification, or distribution of it requires the prior written permission of Adobe. */ /* Pass the embed mode option here */ var viewerConfig = { showAnnotationTools: false, enableFormFilling: true, showLeftHandPanel: true, showDownloadPDF: false, showPrintPDF: false, showPageControls: true, dockPageControls: true, defaultViewMode: "FIT_PAGE", /* A
What a massive disappointment! I've been developing my own software to use the PDF Services API for two months now. Just before going live, my 1000 quota runs out. I get an Email that sends me over to Amazon AWS, to buy new units. I don't even use AWS. After the most laborious registration process ever, I get told I can't buy any new units as my Geo Location (Switzerland) is not recognised in Amazon AWS!! Customer Care is not answering my emails, the Abode Chat Bot took one hour to connect with somebody who thought my Cloud Drive was full! What the hell is going on? How can expect to charge us $0.05 for such a miserable customer service and I can't even finish developing my app.
I've been using the extract api locally (really enjoying it) but now I'm read to publish to the server. How should I go about storing the "pdfservices-api-credentials.json" and "private.key" files securely? My first thought was keyvault, but I don't see any options for storing json or .key file types... Has anyone done this? Thank you!
So the cost $.05/request and there is no support? How does that work?
I am trying to send data from Django and then calling the function of extracting pdf contents it runs successfully and gives me the transaction id but the file of zip is not getting saved in the location I provided in save_as() while saving the result but when I run the same code locally and not using Django then it stores the zip in /tmp folder of my Linux system
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.