Unlock the full value of DC Web with our global community.
Recently active
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
I have been trying to create a php function to call PDF extract API. I always got the following error:{"requestId":"IEt94LRYdvDw4Xd9rzzcTqYt4dwWa1Sc","type":"Bad Request","title":"Not a multipart request. Aborting.","status":400,"report":"{\"error_code\":\"INVALID_MULTIPART_REQUEST\"}"} My code is below:$cfile = curl_file_create($pdf_file);$ch = curl_init();curl_setopt($ch, CURLOPT_URL, "https://cpf-ue1.adobe.io/ops/:create");curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);curl_setopt($ch, CURLOPT_POSTFIELDS, array("fileInput1"=>$cfile,"contentAnalyzerRequests"=>"{ \"cpf:engine\": { \"repo:assetId\": \"urn:aaid:cpf:58af6e2c-1f0c-400d-9188-078000185695\" }, \"cpf:inputs\": { \"documentIn\": { \"cpf:location\": \"fileInput1\", \"dc:format\": \"application/pdf\" }, \"params\": { \"cpf:inline\": { \"elementsToExtract\": [ \"text\", \"tables\" ], \"renditionsToExtract\": [ \"tables\", \"figures\"] } } }, \"cpf:outputs\": { \"elementsInfo\": { \"cpf:location\": \"jsonoutput\", \"dc:fo
Hi Adobe team, Our team is using PDF service API java SDK to build an adapter to integrate Adobe Document Services with SAP Hana Cloud, the adapter is for commercial uses, and we didn't change the source code of the SDK, is our team permitted to sale our adapter? We couldn't find the license of the SDK Here is the SDK version we are using:https://mvnrepository.com/artifact/com.adobe.documentservices/pdfservices-sdk/2.2.2
Hi Team, When we open the below url its showing File preview error on iOS Device(iPhone 11 15.3.1) using PDF Embed API.URL: https://pifucsshnsslp.jnjsea.com/showdocument/6201c98dbf0c6186Kindly support us to resolve this issue.Thanks.
In Microsoft Power Automate when we are trying to create a new connection to Adobe PDF Services connector using an existing credential it is generating an error message "Test Connection failed" Details > Private Key file cannot be parsed. Any ideas?
I'm encountering a problem with the PDF embed API: sometimes it works and my pdfs are displaying and sometimes not. I've noticed that when they are not displayed, for some reasons, two files (ASansMMData.bin and ASerifMMData.bin) are not loaded through the http calls that the library does.My files are all located inside a directory on the server that hosts my domain, so there's not any CORS issue.Hope someone can help me with this problem.
Hi, I've been enjoying the PDF extract API, but I've noticed that it's charging me more units than I've been calling the API. For instance, just now I made 3 extract api calls, but it cost 7 units. Why? Also, I'm currently doing the trial version that comes with 1000 free units. I certainly don't want it charging me more than what I'm using it for when it begins to actually cost me money.... Thanks!Matt
Hello, I am attempting to retrieve a PDF file from an FTP and the read the properties of the file using "Get PDF Properties", but continue to receive an error about a "BadGateway". Is there a problem with the endpoint? I am able to use other Adobe Premium features (like OCR, split, and merge), so I believe my credentials are all properly inserted. Here's the raw output:{ "statusCode": 502, "headers": { "Transfer-Encoding": "chunked", "x-request-id": "ACQqBfcfst8nJe7ASbTcb6SY2pHiqXns", "pragma": "no-cache", "x-content-type-options": "nosniff", "strict-transport-security": "max-age=31536000; includeSubdomains", "x-robots-tag": "noindex,nofollow", "vary": "accept-encoding", "Timing-Allow-Origin": "*", "x-ms-apihub-cached-response": "true", "x-ms-apihub-obo": "true", "Cache-Control": "no-store, must-revalidate, no-cache", "Date": "Fri, 24 Jun 2022 16:57:12 GMT", "Conten
Dear Expertise/ Specialist, I have encountered the flow error with message “For application/pdf mime-type The input file appears to be corrupted and cannot be processed.” On the Flow of “Adobe Merge PDFs”. It would be great if Adobe could have a User Guide to let users know how to put the parameters correctly esp. in some scenarios such as get attachments from multiple SharePoint Items in the List/ Table.... I have 2 Tables/ Lists and the flows below:From ‘Table 1’, I use Do-Loop to extract the Attachment from multiple records I needed. After that, I use “Adobe Convert Doc to PDF” function to convert the (1) Attachment from multiple records to SAVE it ALL to a single raw record in ‘Table 2’. And the Loop function ended.Then,I get the Raw Record from ‘Table 2’Get AttachmentGet Attachment ContentBased on (3) result, I append it to the array Variable “varPDF”I called the “Adobe Merge PDFs” function and attach the “varPDF” to it for merging, then I could sa
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.