Unlock the full value of DC Web with our global community.
Recently active
Every month, the Adobe Document Services team will be hosting an online stream called Paper Clips. We've run this for the last several months now and you can watch previous episodes here: https://www.youtube.com/playlist?list=PLcVEYUqU7VRe4sT-Bf8flvRz1XXUyGmtF Every month we'll cover a new topic, have special guests, and do our best to answer any questions you may have. We'll post announcements for upcoming sessions in the forums.
Hi.Please tell me about the security of CompressAPI in PDF Services API.After compressing a PDF on the API server, will the file remain on the API server?
Power Automate connection to Adobe Document Services API. I generate key pair, input the private key along with other credentials and get this error:"Test connection failed. Details: Private key file could not be parsed."
Hello,I am using the virtually standard code below to create a PDF from Url. It is working perfectly when the targetUrl is my app in production (https://ffpro.ca/index) but failing at FileRef.CreateFromURI with an ServiceApiException when the targetUrl is my localhost (https://localhost:xxxxx/index )Am I missing something? My Service Account credentials are clearly ok for production. I suspect that Adobe does not have access to my localhost but I don't know what to do to make this work in my development environment. I tried to disable Norton 360 or safe browser protection without success. Any suggestion?Thanks in advanceJean-Philippe ConfigureLogging();try{// Initial setup, create credentials instance.Credentials credentials = Credentials.ServiceAccountCredentialsBuilder().FromFile(Directory.GetCurrentDirectory() + "/pdfservices-api-credentials.json").Build(); //Create an ExecutionContext using credentials and create a ne
I am currently evaluating the compression REST apis. I am getting results via the GET request where the compressed file is returned however I am getting errors stating the returned file is invalid, I am correctly extracting the returned file from the returned string and converting it to Uint8Array or even Arraybuffer but neither yields a valid file and I am extracting just from the %PDF string in the returned data and I have tried compressing different files - all yield same results
Hi,I have created a Logic App in Azure that collects PDFs in a array and will use "Merge PDFs"-action:Below is some of the input that is sent to the "Merge PDFs"-action:"body": { "files": [ { "$content": "JVBERi0xLjYNJeLjz9MNCjMxMyAwIG9iag08PC9MaW5lYXJpemVkIDEvTCAxNzQwMzMvTyAzMTUvRSAxNTk1MDMvTiAyL1QgMTczNjY3L0ggWyA1MjMgMjM5XT4+DWVuZG9iag0gICAgICAgICAgICA..", "$content-type": "application/pdf" }, { "$content-type": "application/pdf", "$content": "JVBERi0xLjcNCiW1tbW1DQoxIDAgb2JqDQo8PC9UeXBlL0NhdGFsb2cvUGFnZXMgMiAwIFIvTGFuZyhlbi1VUykgL1N0cnVjdFRyZWVSb290IDIzIDAgUi9NYXJrSW5mbzw8L01hcmtlZCB0cnVlPj4.." } ], "outputFileName": "Dummy.pdf" }I have also tried to create another logic app that retrieves PDF-content from to SharePoint-files, append them to an array and then run "Merge PDFs". Same error here:The "Generate document from Word template" and "Convert Word to PDF" works fine:
I have a current approval Power Automate Flow that works like a champ. It is used to route invoices for approval and creates an Approval Summary page using fields in a document library. The process goes as follows: a new invoice is loaded into the document library and certain fields are completed. The invoice is selected and we manually trigger the Invoice Approval flow. It is a fairly complicated flow and involves many steps and actions. The end result is the (hopefully) fully approved invoice with the flow ending with the creation of the Approval Summary page and an email informing that said summary page is ready for merging. Then someone has to go to the document library and manually merge the Approval Summary page and the originally loaded invoice so that there is 1 file with the summary page as page 1 and the invoice that was routed as the reminder of the file. The original invoice could be multiple pages but we've never seen an invoice be
Hi, I'm having difficult to hide the annotation tools, below is my code But this is what I see [Moderator removed the images as per request] Any idea why it's not working? thx
I am trying to set the zoom level of my PDFS the same such that they share the same margin.The docs specify: This API accepts a float value as input and sets the zoom level of the PDF to that value. The input must lie between the minimum and maximum allowed zoom levels of the PDF. What is the default range of this float value when no min/max is set? How do i get the equivilent of 80% zoom (where 100% is fit to width)?
I have created a zip file by installing library in a folder bu using commandPip install pdfservices-sdk -t . And it was successful and i added a layer in aws lambda and tried running code but i think library is working with code. Can anybody has solution to this?
I'm using the C# Adobe.PdfServicesSDK Nuget package to extract Json contents out of some PDF files. However the PDF files are over 200 pages long hence. Due to the limitation on the size file for exraction, I'm splitting the files into 20 pages files and then extracting the Json contents out of thos split files. So the process is simply: 1. split each file. 2. extract Json out of each split file 3. split the next big file and so on ... It works perfectly on the first big file. I can split and then extract. However, when I move onto the next big file it fails when trying to split. So the exact same code, that split the first file now throws an exception when trying to run the split operation on the next file. It throws a ServiceApiException with the message: "Error response received for the request: The given key was not present in the dictionary". See attached screenshot for stack trace. I have tried creating a new Execution context with each call to to the API and I've
When I use text comment in Thai and move the box. Texts will be blur like it's not render after I move the box. But if I resize the box after I move it. That text will be normal again. I try to move English, Japanese, Chinese and Thai but another language except Thai has no problem. I tried many language. Only Thai will blur. But after I resize the box it will get back. How can I move the box and text will not blur? Thank you in advance!
In the desktop Acrobat DC, the Export to Word function can create both Retain Flowing Text (RFT)and Retain Page Layout (RPL) formatted Word.docx files. The Github .Net example, ExportPDFToDocx, exports PDF to Word. https://github.com/adobe/PDFServices.NET.SDK.Samples What is the parameter for RFT or RPL output format? // Set operation input from a local PDF fileFileRef sourceFileRef = FileRef.CreateFromLocalFile(@"exportPdfInput.pdf");exportPdfOperation.SetInput(sourceFileRef); // Execute the operation.FileRef result = exportPdfOperation.Execute(executionContext); Thanks for the help.
Hi there,I'm new to this API, so this is most certainly a beginners question.I want to use the API for a very simple application: Embed a PDF on my website and allow any user to annotate the file and also to see all existing annotations. While embedding the file works just fine, I can't figure out how to store and retrieve user annotations. I understand that user annotations are to be written to JSON-files but how do I create them in a user session? I went through the examples on GitHub (https://github.com/adobe/pdf-embed-api-samples/tree/master/More%20Samples/PDF%20Annotations%20APIs) but wasn't able find a solution for my problem.A link to a tutorial or some code example would be very helpful!Thanks!
i am reading a pdf file which have more than 2000 page, I am using splitoperation to spilt the pages and doing the ocr but it cannot split it to more than 20 pages
Currently multiple drawings cannot be added using iPad. This can be reproduced using the Adobe Embed API demo. To reproduce, on an iPad (or iPad emulation using browser dev tools), use the drawing tool to make a drawing. Wait 3+ seconds so the save button appears. Add another drawing. The previous drawing will dissapear. Only one drawing will ever show at once using this method.
Are we able to create fillable PDF forms using the Adobe connector in power automate? I have word documents and have tried adding legacy form fields and content controls but none of the fields come across as editable in the PDF using the Word to PDF action.
[0] [nodemon] starting `node server index.js` [0] No logging configuration. Using default config [0] Server started on port 5000 [0] 2021-10-14T10:38:10.175:[INFO]: All validations successfully done. Beginning Compress PDF operation execution [0] Exception encountered while executing operation ServiceApiError: request timed out, 6000 seconds expired [0] at ClientRequest.<anonymous> (C:\Users\thoma\WebstormProjects\pdf_react\node_modules\@adobe\pdfservices-node-sdk\src\internal\http\http-client.js:276:13) [0] at ClientRequest.emit (events.js:400:28) [0] at TLSSocket.emitRequestTimeout (_http_client.js:790:9) [0] at Object.onceWrapper (events.js:519:28) [0] at TLSSocket.emit (events.js:412:35) [0] at TLSSocket.Socket._onTimeout (net.js:484:8) [0] at listOnTimeout (internal/timers.js:557:17) [0] at processTimers (internal/timers.js:500:7) { [0] requestTrackingId: undefined, [0] statusCode: 0, [0] errorCode: 'UNKNOWN' [0] } [0] 2021-10-14T10:38:2
Hello to everyone!I faced to the problem with the node sdk. @adobe/pdfservices-node-sdk All versions have the dependency to log4js librarty, which has vulnerabilty.(Yoo can see full infi here: https://github.com/advisories/GHSA-82v2-mx6x-wq7q) This issue was fixed in version 6.4.0.But the @adobe/pdfservices-node-sdk latest version has dependency:"log4js": "4.5.1",So, any ideas how to fix it?How to contact with team, which develop this library? Thanks in advance!
I unsuccessfully tried to embed two different PDF files on the same page, using for both the files I used the Adobe API and particularly the code below (consider the same code with two different file names and paths on the same page):<center> <div id="adobe-dc-view" style="height: 360px; width: 500px;"></div> <script src="https://documentcloud.adobe.com/view-sdk/main.js"></script> <script type="text/javascript"> document.addEventListener("adobe_dc_view_sdk.ready", function(){ var adobeDCView = new AdobeDC.View({clientId: "<code>", divId: "adobe-dc-view"}); adobeDCView.previewFile({ content:{location: {url: "https://www.domain.com/filename.pdf"}}, metaData:{fileName: "filename.pdf"} }, {embedMode: "SIZED_CONTAINER", showDownloadPDF: false, showPrintPDF: false, showFullScreen: false}); }); </script> </center>PDF files are not visible and I see an error message.I have to remove one of the two codes, and in that case, only one PD
Hi - I'm running a node.js server that calls Adobe API. The adobe api works sometimes but sometimes it doesn't and I cannot figure it out why. I was hoping someone could read the below error response and give me some possible causes for this. I have done nothing on the server and the adobe api works and doesn't work then works again. The server runs on aws instance. ======= 2021-04-16 16:01:44.048 "{"level":"info","message":"Exception encountered while executing operation 1: errorName = ServiceApiError, errorMessage = Response Parser Failure: Request aborted, errorStack = \"description = Response Parser Failure: Request aborted; requestTrackingId = undefined; statusCode = 0; errorCode = UNKNOWN\at multipartResponseParser.parse (/node_modules/@adobe/documentservices-pdftools-node-sdk/src/internal/api/cpf-api.js:160:19)\at IncomingForm.<anonymous> (/node_modules/formidable/lib/incoming_form.js:104:9)\at emitOne (events.js:116:13)\at Incom
Hello, We're receiving error ServiceApiExcepption after getting bytes[] from converting html to pdf. Sometimes it works without throwing any error but somtimes when converting a lot of data it thrown error. Is there any limits or quota in converting even if we have a licensed. Please see the image below for error: Also there are instances when converting become slow in this part and error thrown after: Thank you!
Hi. I want to compress a PDF by C# on a server.Please tell me two questions. 1. Adobe PDF Services API can run on a server about the license?* Because Acrobat SDK can not run on a server.2. What is the communication method(cryptosystem) of the API? Thank you.
Facing an issue related to docuemtn genration size. When I try adding too many images or images that are too large to the word template, the API fails, but if I scale back the number of images or crop some of the larger photos down, it will successfully generate the document.Is the adobe API failing? surely it needs to handle bigger docuements. Is there a tech support line?ServiceApiError: There was an error processing your request. at handleErrorResponse (C:\Users\kbiriukov\Aqueous_project\document-generation\AVA_DocGen\adobe-dc-pdf-services-sdk\node_modules\@adobe\documentservices-pdftools-node-sdk\src\internal\http\http-client.js:137:3) at onEnd (C:\Users\kbiriukov\Aqueous_project\document-generation\AVA_DocGen\adobe-dc-pdf-services-sdk\node_modules\@adobe\documentservices-pdftools-node-sdk\src\internal\http\http-client.js:176:3) at IncomingMessage.<anonymous> (C:\Users\kbiriukov\Aqueous_project\document-generation\AVA_DocGen\adobe-dc-pdf-services-sdk\n
Hey guys,I used the free trial with the document services but hitting the quota limits now. I signed up to the service through AWS, but when I use the credentials created through AWS I get an error stating:ServiceApiError: Not authorized to call this engineIs there any support for the paid services, do they even work through AWS?Many thanks, J
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.