Unlock the full value of DC Web with our global community.
Recently active
Just a quick tip. Our docs explain how to use a custom timeout w/ the SDKs when calling services: https://developer.adobe.com/document-services/docs/overview/pdf-services-api/howtos/#custom-timeout-configuration. What we don't show is how to *use* that clientConfig object. It's really simple though - you pass it to your ExecutionContext creation call. Here's an example in Node, and it should be similar in your SDK of choice. const credentials = PDFServicesSdk.Credentials .serviceAccountCredentialsBuilder() .fromFile('pdftools-api-credentials.json') .build(); // set time outs to 2 minutes const clientConfig = PDFServicesSdk.ClientConfig .clientConfigBuilder() .withConnectTimeout(1200000) .withReadTimeout(1200000) .build(); // Create an ExecutionContext using credentials const executionContext = PDFServicesSdk.ExecutionContext.create(credentials, clientConfig); As an FYI, I've filed an issue internally to update our docs to mention this.
Hi folks, I'm trying something slightly advanced with the Document Generation API JSONata syntax by trying to inject an object's index into the object itself. I've reviewed the JSONata processing model and understand that it's possible to get an object's position in the array using the `#$var` syntax as described here: https://docs.jsonata.org/processing. The JSONata documentation also shows an example of this syntax here: https://docs.jsonata.org/path-operators#-positional-variable-binding Given the following JSON:{ "winners": [ { "firstName": "Bob", "lastName": "Ross" }, { "firstName": "John", "lastName": "Doe" } ] }I would like to use a Document Generation tag like the following:{% repeating-section winners#$i.{'firstName': firstName, 'lastName': lastName, 'position': $i} %} • Race participant {{firstName}} {{lastName}} completed the race in position: {{p
We have been recently trying to achieve creating an OCR enabled document from a pdf file and with the help of Adobe’s PDF services connectors we were able to do it up to certain extent however we faced the real challenge when the file were as huge as about 350-400 pages. Adobe’s OCR action has a limitation of 50 pages at a time. Luckily, we found a solution to this and thought of splitting the file and then merging it so get the expected outcome and we figured out a way also to do that but we are still seeing some problems while merging the file. The approach:Using the split pdf action to split file into 49 pages each -> using OCR action to file instance (apply to each) -> creating and storing the files in a temp folder after OCRed -> getting the temp files’ content and appending them to a temp array variableThe problem:We realized that there are size limitation to array variable in power automate. Are there any ideeas / solution on how to merge multiple files
I successfully integrated on one site I manage for work with no issues, however on the other site I manage in a volunteer role I'm seeing the issue that the "File Preview is Not Available. This application domain (http://phadp.org) is not authorized to use the provided View SDK Client ID." I've double checked the key and the domain I used when registering, but I cannot figure out why I continue to get this message. http://phadp.org/?q=node/832 Any help would be appreciated.
Is it possible to add a watermark on .pdf documents displayed with adobe pdf embed api? I am trying to do that with annotations, but it seems that in_line view and annotations are incompatible.
How do I cut & paste text from a .pdf to a WORD document?
Can someone confirm my observations about using PDF Extract on forms? This is based on my experimentation and reviewing other posts:The extended metadata has two boolean flags for forms: "has_acroform" and "is_XFA"PDF Extract does process Acroforms and populates the "has_acroform" flagIf there is data in the Acroform that data becomes an element in the resulting JSON. For example if the firstname field has "John" in it and the last name field has "Doe" in it, two elements will be created with the text values of John and DoeThere is nothing in the JSON to indicate the presence of a form field or to indicate that text was form data. In other words no way to know there was a form field called firstname containing John. John could have come from the pdf content.Static XFA forms can not be processed at all and result in an error. DISQUALIFIED - File not suitable for content extraction: File contains XFA form(s). Not supported for content e
I began using pdf extract and embed apis yesterday. Where can I get the sample code that Joel is using in this demo https://www.youtube.com/watch?v=z9aWoJnhHFc ? The application I want to make is very similar. I'm stuck on adding the boolean search feature.... Thanks!
Today we released a new tool to help you use the Adobe PDF Extract API: https://documentcloud.adobe.com/dc-visualizer-app/index.html This online demo will show you a source PDF and a nicely rendered version of the JSON. You can click on an element in the left hand side to see the code version of the output. You can click on the code on the right to see the associated visual element in the PDF. You can also download the PDF + extract data to look at it youself. Check it out and let us know what you think!
Hello ! I would like to use Pdf embed Api on a local host website, but I can't add the api on my project without url extension like ".com". Is it possible to fix it ? Best
I recieve an "Uncaught RangeError: Invalid time value at Date.toISOString (<anonymous>) at createAnnotationObject in AdobeDCViewApp.js", when trying to read existing annotaions from a document like this: adobeViewer.getAnnotationManager().then(annotationManager => { annotationManager.setConfig(customConfigFlags); const filter = { pageRange: { startPage: _startPage, endPage: _endPage } } const list_of_annotations = annotationManager.getAnnotations(filter) .then (result => { console.log(result); }) .catch(error => { console.log(error); });}); Any suggestions as to what I am doing wrong?
I'm getting Status: 200 ok response in ThunderClient/Postman. But I'm getting the following CORS errors on Axios in my localhost: 3000.
In Document Generation post requests, 1) Exchange JWT - Status: 200 OK2) Submit - Status:202 Accepted3) Poll - Status: 200 OKBut why I'm getting output as ext Corrupted file rather than a pdf file ??
When I using the Power Automate > Convert Document to PDF Action( Input File = HTML File ), it will always create PDF File in "Landscape" Mode,How can I create PDF Document in A4 Portrait Modus ?
<bottom> ال
Can I add DOCUMENT SERVICES API in our website where Documents can create and download in our website itself ?? Like this demo = > https://documentcloud.adobe.com/dc-docgen-playground/index.html#/
Hi, I am using the Adobe power automate action "Convert PDF to Image ( jpg )",which creates a ZIP File with JPG included. How can I create the JPG image directly without packing into a ZIP File?
We have a web page that allows users to edit/fill a PDF form using the PDF Embed API. It works great for the most part, but we have noticed some issues when a user edits/fills a PDF. When a user enters data in a field in the PDF, and then uses their mouse to scroll to another field, the data entered in the first field are lost. Conversely, if the user enters data in a field and then uses the tab key to move to another field, everything works fine. It looks like there is some sort of an ‘OnChange’ event that is not triggered when using the mouse to scroll from one field to another. Needless to say, this is a showstopper for us because we can’t afford to lose user entered data. Please help. To embed the pdf we are using the tag <div id="dwc-draft-view"></div> Here is the code snippet that embeds the PDF. &nb
I'm having issues where watermarking is interfering with extracting tables from some documents. I made an example document that fails to detect the existance of a table (see attached). I have other documents that I'm trying to extract data from that where the watermark is interfering with the extract API. Unfortunetly, I can't share those documents. Hopefully the example document is illustrative enough. The logging I get is as follows:INFO:adobe.pdfservices.operation.pdfops.extract_pdf_operation:All validations successfully done. Beginning ExtractPDF operation executionINFO:adobe.pdfservices.operation.pdfops.extract_pdf_operation:Extract Operation Successful - Transaction ID: 3I6Y4FDws6sqf1xhkgvtFStaOQeVolt6INFO:adobe.pdfservices.operation.internal.io.file_ref_impl:Moving file at /tmp/extractSdkResult/42afb4a4b44911ec952900155d058d1f.zip to target /home/lei/output/example.zipI attached the pdf and the service output.
Hi All, Simple question I hope, I have istalled Doc Gen and added my Json put some tags in the document then go to generate the docuemt and am asked to sign in when I get the below. What do I need to do to fix it please, as I assume if I can then the Doc Gen should work correctly. I assume I use my trial account when this is resolved.
Hey Adobe Community, I ran the Extract PDF API on the attached tax return. While it is producing some information in a JSON format (# pages, block element recognition), it's not picking up the actual data within the tax return (Name, Address, Income). Is there something else I can try? I am a newer developer (approx. 1 year) so please don't underestimate my ability to miss the obvious (ha). Any help would be greatly appreciated.I ran the following on the tax return:extract-text-info-from-pdf.jsextract-text-table-info-from-pdf.js
Can we convert our own templates or we can only use samples that are available in resources folder ?? https://github.com/adobe/pdfservices-node-sdk-samples
I want to upload pdf to cloudinary and then link it with adobe pdf embed viewer as I don't have any website.So please tell me about how can I link my cloudinary with adobe.
Hi there,We're a financial services business and spend our working days populating PDF forms, sending them for signing, and then submitting them to third party companies to make things happen for our clients.We use Power Automate to fill the third party PDF templates with data from our various systems.We currently use Plumsail Documents to populate PDF templates with JSON data in Power Automate. We're aware that Encodian has a similar Power Automate action that we could use.However, we already have an Enterprise account with Adobe and would prefer to use an Adobe Power Automate action instead of a third party one. (Security, single invoice, support across the whole solution, etc, etc.)Despite many attempts to find this functionality from Adobe, I just can't see an Adobe way in Power Automate to take a PDF fillable form and then populate it with JSON data.Can you please provide some guidance, or at least a reason why this seemingly obvious functionality isn't available from Adobe?Thanks
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.