Unlock the full value of DC Web with our global community.
Recently active
Been using the pdf extract & pdf document creation for about a year (node.js). The AWS docs are a hodge podge of advice. At the moment, I have set up the license for sharing in the AWS license manager and trying to connect my dev and prod accounts with AWS organizations which is having some difficulty finding each other. Prior to this attempt at connection, for the prod account, I set up a new API and set of credentials under my Adobe account in the Adobe console but when I try to run a pdf extract script, I immediately get the warning "quota exceeded". Thanks in advance.
Just a quick tip. I'm pretty experienced with Node, but only slowly getting into ESM/import style syntax. As more and more NPM packages start requiring it, I'm finding myself using it more and more as - well, I'm forced to. So as just a general FYI, our Node SDK can be imported just fine: import PDFServicesSdk from '@adobe/pdfservices-node-sdk'; No big deal and this is expected, but as it worried me a bit until I saw it worked, I wanted to share with the rest of yall.
Here is the code. I have tried several other PDF urls and none work except for the sample Adobe ones. I am 100% sure I am overthinking and there is a very basic step which I am missing, but can't figure it out. <div id="adobe-dc-view"></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: "<YOUR_CLIENT_ID>", divId: "adobe-dc-view"}); adobeDCView.previewFile({ content:{location: {url: "https://www.nature.com/articles/s41586-021-04116-8.pdf"}}, metaData:{fileName: "s41586-021-04116-8.pdf"} }, {}); }); </script>I have seen different posts similar to this, but none of the answers were clear/helpful in my case.
I copied some script and added my client ID, PDF file location, and name. It almost works but gets an error message that says "File Preview Error" - I found some people with the same issue and tried their fix which was to remove https, or remove https://drlesleyphillips.com. ( also noticed they didnt have <> around their client ID so I tried removing that. None of these solutions worked. I believe there is something wrong with the code but I just do not know what it is? <div id="adobe-dc-view"></div><script src="https://documentservices.adobe.com/view-sdk/viewer.js"></script><script type="text/javascript">document.addEventListener("adobe_dc_view_sdk.ready", function(){var adobeDCView = new AdobeDC.View({clientId: "<e3826d972d5e48c6a8b1d598039f1cda>", divId: "adobe-dc-view"});adobeDCView.previewFile({content: {location: {url: "https://drlesleyphillips.com/wp-content/uploads/Dr-Lesleys-Chakras-and-Intuition-Map.pdf"}},metaDa
Hi there, I'm trying to dynamically insert images into a document in a repeating section. For some reason this isn't working for me at all and I was hoping I could get some help. I've tried using the image urls as well as base 64 encoding. My document has the following: {% repeating-section backup[number > 0] %} {{name}}{% end-section %} With the alt text of the image:{"location-path": "path","image-props": {"alt-text": "Backup Load"}} And the json is as follows:{ "paymentType": "cash", "client": { "name": "Jade", "address": "Placeholder Address" }, "recommendation": { "label": "7.1 kWp Solar Panels + 7kWh Storage", "outputkWhYearOne": "56,739", "priceInclVATR": "250,000", "firstYearSavings": "20,123" }, "backup":[ {"name":"Electric Fence"
Hello, I'm looking for a way to expand the bookmark pane in the Embed API by default. Currently users must click the bookmarks icon from the left hand panel in order to see the bookmark list. -> I'm using the Full Window embed mode. I have specified 'showLeftHandPanel: true', but this only displays the bookmarks icon. I did not see any configuration in the documentation or demos to enable this functionality.
Can our company can use this API for Proof Of Concept? What precautions do we need to take care when we are doing Proof Of Concept, so it will not break license terms?
While running extract API for the following PDF I get BAD_PDF error.The PDF is correctly viewed on differen PDF viewers without any error.Pdf file:https://www.tuigroup.com/damfiles/default/tuigroup-15/en/investors/6_Reports-and-presentations/Reports/2021/TUI_GB21_EN_Annual-Report-_211207.pdf-60f85cc5cd787142dfaa5d6e26c35799.pdf Full traceback:2022-10-03 14:20:26,509 INFO extract_pdf_operation:129.execute - All validations successfully done. Beginning ExtractPDF operation execution Traceback (most recent call last): File "/home/user/.pyenv/versions/cai-backend/lib/python3.10/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 "/home/user/.pyenv/versions/cai-backend/lib/python3.10/site-packages/adobe/pdfservices/operation/internal/service/extract_pdf_api.py", line 48, in download_and_save response = CPFApi.cpf_status
Hi everyone, I have an error where "Document annotations" are sometimes not loading when using:annotationManager.addAnnotations(annotations);In the console I can see an error Annotation Selector is not valid for given{id} Any suggestions would be very much appreciated.
Hello,I'm currently implementing the Embed API. Everything is working as expected but after the pdf is opened, the annotation toolbar disappears. During the loading proccess of the viewer you can see the toolbar, but after the document is opened it fully disappers.Nonetheless some annotation tools appear on right click or text selection, the toolbar on the left hand side is just gone. showAnnotationTools is set to true and the view is embedded in FULL_WINDOW mode, so it should be there normally. I would be very thankful for any suggestions.
We noticed that the enbeded api pdf no longer works on ipad (15.7 iOS) with Safari.We downloaded Chrome on that same tablet and it works fine.Tested with iPhone and Safari, Android phones and tablet and PC no issues found. We get the spinning weel for a few seconds and then the "File preview error" message. Any idear :-)? Regards,
hi, any trying to use this to achive a list of suggestions to appear in a table { "flaggedTokens": [ { "offset": 0, "type": "UnknownToken", "token": "Hollo", "suggestions": [ { "textly": "Hello" }, { "textly": "Hollow" } ] }, { "offset": 7, "type": "UnknownToken", "token": "wrld", "suggestions": [ { "textly": "world" } ] } ] }I have tried many options and currently table in my Word Document looks like this: but Im not getting the desired results.Customer wants a list of many Suggestions per line in table. And was hoping to use a list as they are numbered items. I have it working when 1 long field with all the Suggestionseg. 1) do this 2) do that 3) do those but these shouldnt each be on a separate line eg.1) do this2) do that3) do those any help would be greatly appreciated as spent few days on this now 😞
HTML to PDF conversion creates 2 pages from single page and displays in landscape format;top half of PDF and lower half of PDF. (2 PDF pages)Acrobat displys 2 seperate pages. I need PDF conversion to show single page PDF for single page and 2, 3, 4 page PDF's accordingly. I tried changing the settings in Acrobat: noI tried adjusting the page size settings in HTMLtoPDFconvert SDK: no Compression, Merge, and Combine will all uses extra tokens. There must be a better way.
HiI am new to azure logic app and was trying the Adobe PDF connector. I am trying to use the "Generate From Word Document" Action but I am not sure what do you need to pass in the Template File Content. Can we pass Bytes Array? Cannot find what you need to set here?Thanks for your helpYann
I am trying to use Adobe PDF Services API (U.S.) and able to find API end point and API key. Please let me know how can i get both of them? Thank you
This week we released a new set of REST APIs, as well as updates to our SDKs to make use of these new endpoints. These endpoints are significantly simpler than before and should be much easier for developers to pick up. For details, you can check our docs here: https://developer.adobe.com/document-services/docs/apis/ As well as the blog post released here: https://blog.developer.adobe.com/announcing-the-new-adobe-document-services-rest-apis-8d85951176cf Let me know if you've got any questions. In the blog post, I link to some sample code that folks are welcome to take, adapt, and make use of.
Hi All, I wanted to share some of my learnings about using Adobe Document Generation API, which is a great way to dynamically generate PDFs and Word documents using API. This was originally posted on Adobe Tech Blog. Tip #1: Make sure your images are encoded correctly in your JSON data You can pass images into your template from inside your JSON data by converting your image data into Base64. When you do include your image as Base64, it is also helpful to include your mime-type like below. While technically you can pass the Base64 without the MIME type, this does help ensure that you don’t run into any errors while processing. If you are writing your code in NodeJS, here is some sample code on how to encode your image file as Base64 in your JSON data: Tip #2: Image file types that are supported When merging images into your document, you can use the following image formats: image/png image/jpeg image/gif image/tiff Tip #3: Tag your documents using Adobe Docume
From the Document Services FAQ"Currently, we do not support use of Document Cloud Services SDK to collect, process, or store sensitive personal data such as protected health information under HIPAA, children’s personal information under COPPA, and other similar information as described in our General Terms (https://www.adobe.com/legal/terms/enterprise-licensing/overview.html) and and Developer Terms of Use (https://wwwimages2.adobe.com/content/dam/cc/en/legal/servicetou/Adobe-Developer-Additional-Terms_en-US_20210125.pdf). However, support for sensitive personal data is coming soon." (my emphasis) My question is how soon (if there is a timeline for the release of this feature)? And if there isn't a deadline, can someone from the product ownership/dev team give an idea of how deep this is in the product backlog?
I fund the same code that fetches properties and writes them to a json file. Very helpful. But am confused as to how to do the reverse to write custom properties to a pdf file. Is there any sample code using Document Services APIs to write custom properties? Thanks!
Hello everyone, I have been using extract api for over a year now, but since past few days I am seeing changes in detection part (illogical) that I have never observed before, For example, there can be paragraph or heading directly under the list tree instead of being under a list item, i.e//Document/L[4]/LI/Lbl//Document/L[4]/LI/LBody//Document/L[4]/P//Document/L[4]/LI[2]/Lbl//Document/L[4]/LI[2]/LBody Not only here, but also in Table of content items in analogous manner.There has been no update in recent changelogs regarding any changes, can someone please point out any information regarding this!My application runs on heuristics which expects list item in a list not directly P or H, so its crucial for me to understand these changes both from logical standpoint and new work need to be put or not
i want to extract PDF files content without margins..here is example Content is only half of Pdf page, i want only the content ..With Adobe İllustrator i can easily extract whole content . Step 1: Open Pdf file with Adobe illustrator , right click on content and select extract to outside and and here is the result ..i get only the content i want.. Are there any avaible api for this process ? if so how can i do it ? Thanks
Hi, I'm getting this error Not authorized to call this enginewhen using the REST API to try to do a document generation. I have setup JWT -> access token authorization which is being used with this request. The JWT is being signed using a key generated through the Adobe Developer Console. What could cause this error? Thanks
Hello!I'm currently using the resulting JSON file generated by the PDF Extract API to make an HTML file using a script. But I would like to know if it's possible to use this API to make the conversion more directly.Thank you for the help! 🙂
I want to know if "Adobe Acrobat Export PDF" module works with the SDK, i want to bought this just to convert PDF to excel files. Thanks.
I have an excel file when I export this from Excel to a PDF format. The file is 45KB in size. The originating xlsx file is 13KB in size. When I try and export the PDF file using the PDF Services API, I get a response stream back that is only 8KB in size and excel refuses to open it, as it says it is corrupted. Do you have any example code of how this should work? I am using C# with the response.GetResponseStream with a FileStream (in a using block) destination using CopyTo. It is shown in the attached file. I am sending all the items that are requested, what seems to be wrong is either what I am being sent or the way I am processing the stream. There are lots of examples of capturing a stream but none of them seem to result in a valid xlsx file. Your help would be appreciated.regardsGeoff Hirst
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.