Unlock the full value of DC Web with our global community.
Recently active
Is it possible to make a templated PDF file and then send it to an API, either the document generation api or another Adobe api and have the templated PDF filled in with the data?
We're using the Embed API to display PDFs. The files are hosted on Dropbox and displayed on a Squarespace website. Things worked great until recently when randomly the files will stay at "Loading 0%". I'm not sure what to do since the developer who set up the code is no longer available. I have a test link you can try and also the code we use. Keep in mind that sometimes the files open just fine, but other times they stay at 0%. Does anyone know what we can do to fix the issue?Test link: https://www.fortebarprep.com/test-blogClick on any of the titles in the blog to go to an embed page. Here is the code. The only difference on each page is the dropbox file link. <style type="text/css" media="print"> body { visibility: hidden; display: none; } </style> <div id="embeddedView" style="width: 100%;"></div> <script src="https://documentcloud.adobe.com/view-sdk/main.js"></script> <script type="text/javascript"> const dropbox
I have a single page form that converts to PDF, And displays the single page as two separate half pages in acrobat. I have poured over the HTML code and CSS, and there are no page breaks anywhere. The single page form should be displayed with 8.5 x 11 inch sizing. It's being displayed as 2 pages sized 8.5 x 7 inches on each page.
I had try registerCallback , but it only can catch event after open link:adobeDCView.registerCallback(/* Type of call back */AdobeDC.View.Enum.CallbackType.EVENT_LISTENER,/* call back function */function(event) {switch(event.type) {case "HYPERLINK_OPEN":console.log("Clicked on hyperlink "+event.data.fileName);console.log(event);break;}},{enablePDFAnalytics: true,});}); How can to catch event before open link?
Hello, I am integrating the PDF Embed API into our project. What I am seeing is that after I load the viewer, I can see the PDF fine, but every sibling html element after the container is getting stripped out. For example, say I have this:<div class="some-content"> <div id="my-embed-id" class="adobe-dc-view"> </div> <p>Some content here</p> <p>More content here</p> </div> Once I render a AdobeDC.View and pass the in the id "my-embed-id", the pdf shows but the 2 paragraphs after the embed div get removed from the DOM. Any suggestions? Thank you!
I am using the PDF embed api to embed a number of PDF files using the inline embed mode While it generally works very well, if the pdf I am embedding is very tall, it no longer expands to fit the width of the page (it will expand only to a particular size, after which it just remains centered). for an example, see:https://tcm.school/herbs/resolve_exterior_herbs_testing.html there are 4 pdfs embedded. If the window is small enough, they all fit the width of the screen, but if the window size is increased, they end up all different sizes. Is there a way to force them to all expand to the width of the container they are in?
Hello. I just wanted to share a fun little web app I made with the adobe pdf API. It's a sheet music repertoire that loads new pdf files with the click of a new song. It was a bit of a struggle to figure out the code, so I hope it might help someone else! Here's the site: https://www.clairmusic.com/apolloBellow is the code! <!--Adobe PDF reader --><script src="https://documentcloud.adobe.com/view-sdk/viewer.js"></script><script type="text/javascript">function renderPdf(fileName, url) {console.log(fileName, url);var adobeDCView = new AdobeDC.View({ clientId: "<ID>", divId: "adobe-dc-view" });adobeDCView.previewFile({content: { location: { url }},metaData: { fileName }}, {embedMode:"FULL_WINDOW",focusOnRendering: false,defaultViewMode: "FIT_WIDTH",enableSearchAPIs: false,showZoomControl: false,});}$('.piecenamecontainer').on('click', function () {renderPdf($(this).find('.piecename').text(), $(this).find('.pdf').text()) });doc
Hi All, I have a strange error, almost all PDF files open succesfully using the embed PDF API. However, some files throw an error (the An Error encoutered popup) Downloading (right-click) the file in the window works, so the viewer receives the PDF file. If I inspect the console errors, there is one error: [Error] Unhandled Promise Rejection: Error: getMetadata request failedpromiseEmptyOnRejected (bootstrap.js:2:775697)promiseReactionJob The PDF opens just fine on my mac, PC or phone. The only difference seems to be the file generating the error has no author info in the metadata. Could this be a bug in the API?
Hi How to Include Image while downloading as pdf using Adobe PDF Services API.I'm using .NET SDK.Can someone help me to overcome this ? I'm getting image as empty eventhough its present in the repective folder.
I am already a user of Adobe Acrobat Standard 2020, please usgget me how to get credential to use in power automate.
Hi, Adobe Document Services API for converting PDF files to Microsoft Word is really great. The only problem with the document conversion is that the document Heading levels (Heading 1, Heading 2, Heading 3, Heading 4, Heading 5, Heading 6) are skipped. Deriving HTML from PDF – PDF Association can somthing of this sort be implemented when converting from PDF to Microsoft Word or HTML.
I am trying to get a PDF extracted with PDF Extract API .. but it gives this error: adobe.pdfservices.operation.exception.exceptions.ServiceApiException: description =BAD_PDF - Unable to extract content. File is corrupted, malformed or an empty PDF; Even though I am able to open the pdf, not sure what is going wrong.
Hello,Our organization is intersted in the Adobe PDF Services API in PowerAutomate that allows to use a .docx word tempalte and JSON data passed in Power Automate to create and save a PDF document, in a SharePoint document library for example.We have 2 questions: Where is the data stored for the Adobe PDF Services API? I have contacted Chat support and tried to find this information. Our org has sensitive data that would need to be passed through your API and we need to know EXACTLY how and where you store data.We would like to add a Digital Signature block in the PDF that is generated. We can add in a word template a Sign Field, but that get's ignored by the API when the PDF document is created and saved. Is there a way to automatically add the digital signature field that needs to be completed in the document at our desired location?Please let me know.Ben
Hi, I'm trying to convert a local HTML file to a PDF using the htmlToPDF API. I'm able to hit the API successfully using a CURL, but I'm running into a weird error when sending my request using the python.requests library:{"cpf:status":{"completed":true,"type":"Invalid papi Engine","title":"Invalid engines input for papi request ","status":400,"report":"{\"error_code\":\"INVALID_REQUEST\"}"}}Is there a successful POST implementation with a file I can mimic to help diagnose the issue? Here's my full code: import requests import json BEARER="Bearer {{Token}}" API_KEY = "{{client_secret}}" requestUri = 'https://cpf-ue1.adobe.io/ops/:create?respondWith%3D%7B%22reltype%22%3A%20%22http%3A%2F%2Fns.adobe.com%2Frel%2Fprimary%22%7D' headers = { 'Authorization': BEARER, 'x-api-key' : API_KEY, 'Accept': "application/json, text/plain, */*", 'Prefer': "respond-async,wait=0" } def makeRequest(inputHtmlFilePath, outputPdfFilePath): contentAnalyzerRequests =
Hello everyone! I'm trying to REMOVE focus from my pdf viewer on render. I thought it would be a simple line of code "focusOnRendering: false"... but that has not seemed to work. The code below re-renders the pdf when an object that contains a pdf <name> and <URL> is clicked. I would appreciate the help! 🙏 <script src="https://documentcloud.adobe.com/view-sdk/viewer.js"></script><script type="text/javascript">function renderPdf(fileName, url) {var adobeDCView = new AdobeDC.View({ clientId: "<id>", divId: "adobe-dc-view" });adobeDCView.previewFile({ content: { location: { url }}, metaData: { fileName }}, {embedMode: "FULL_WINDOW",defaultViewMode: "FIT_WIDTH",focusOnRendering: false,enableSearchAPIs: false,showZoomControl: false,enableLinearization: true,enableSearchAPIs: false,showBookmarks: false,});}$('.piecenamecontainer').on('click', function () {renderPdf($(this).find('.piecename').text(), $(this).find('.p
I'm posting a valid PDF to ops/:create endpoint of the Document Services API. I receive to following 500 response for 1 particular document (please review the attachment for the response).The x-request-id header contained the following value: x2uOh1LJhC7aB3lpEnkv1HeuuAnNwIMS Could you let me know what I'm doing wrong?
Hi, I have a python script I'm using to generate PDFs. I'd like to make certain aspects of the generated PDFs. Is there an API available for the fillable forms feature I could leverage to do this? Thanks!
Hi. I have been integrating the PDF Embed API on our website for manipulating note annotations, we support moving, adding, deleting and renaming them and listening for their respective events. The described functions work fine with no issues but an user tried to move a marker in a pdf from one corner to another and zoom in to put it in the correct spot this caused an error on the API that said corrupt file and all event listeners stopped working and the process failed, checking this issue on other pdf's and its not showing sometimes it only happens on some PDFs. To note this happens more on pdf that already have Markers and we override them with other in our database.
Hello, We are posting a valid PDF to https://cpf-ue1.adobe.io/ops/:create to the Document Services API. We receive to following 500 response for 1 particular document (please review the attachment).The x-request-id header contained the following value: x2uOh1LJhC7aB3lpEnkv1HeuuAnNwIMS Could let us know what is going wrong here?Thanks in advance. Best regards,Marco
How can i saved any cropped image in our local folder using js in adobe illustrator?
Overall I want to allow a user to input custom text and signatures into a file and generate a documet that can be signed on the web. My plan to do this is to use the Adobe Document Generation API with Template Tags (https://developer.adobe.com/document-services/docs/overview/document-generation-api/templatetags/) But my quesion is for the Adobe Sign specific tags here (https://helpx.adobe.com/in/sign/using/text-tag.html) ... after I input those tags into the word document ... do I send Word document to the Adobe Document Generation API and then take the returned PDF file and send that to the Adobe Sign API? Or is there a better way to do this?
As we gone through the new updates of adobe embed api, we couldn't find any information of drawing tools,we had requirement of using drawing tool rectangle in our application, please Can anyone suggest us how to use it or any supporting libraries will allow drawing over adobe.
Goal I have a Word template that I'm populating dynamically with the document merge API. The goal will be to show images in a table column only if the correspondent element in the array (in the JSON) has the image property. The table is generated programmatically. What I triedI've tried adding a condition in the column cell, but it is rendered as plain text. For my understanding, conditions, in dynamically generated tables are not supported 😤As a workaround, when the element has no image, I link it to a 1px transparent png to prevent the placeholder from showing up. This does the trick. The problem is that the placeholder's size is retained; hence the row doesn't shrink. Is there a way to resize the image programmatically? I'm probably missing something. It seems absurd there's no solution for this. Can anyone help? Thanks
Hi, i am observing intermittent error when trying to authenticate before using Document Services APIs. Error we are getting is: "HTTP POST on resource 'https://ims-na1.adobelogin.com:443/ims/exchange/jwt' failed: bad request (400)." payload sent looks similar to: ------=_Part_352_233760641.1662146129018Content-Type: text/plainContent-Disposition: form-data; name="client_id"xxxxxxxxxxxxxxx------=_Part_352_233760641.1662146129018Content-Type: text/plainContent-Disposition: form-data; name="client_secret"xxxxxxxxxxxxxxx------=_Part_352_233760641.1662146129018Content-Type: text/plainContent-Disposition: form-data; name="jwt_token"xxxxxxxxxxxxxxxxxxxxxxxxx------=_Part_352_233760641.1662146129018-- JWT token is generated using Java class: package io.adobe.solutions;import static java.lang.Boolean.TRUE;import java.io.IOException;import java.nio.file.Files;import java.nio.file.Paths;import java.security.KeyFactory;import java.security.NoSuchAlgorithmException
We are using the PDF Viewer SDK in our own web app and came across a tricky problem: It happens that sometimes input of a user in PDF fields are missing. For instance: When a user klicks a ckeck-Box, scrolls upward or downward (on a tablet by tab&drag) and then klicks a button to store the document, the value of the check-box shows "not checked" while the check-box itself in the form appears as "checked". We figured out that this problem only appears on tablets (iPads or Androids, different browsers), when the user scrolls (tab&drag) right after an input in a field. It does NOT happen, when the user tabs anywhere in the form before scrolling and signing. Has anyone an idea how to fix this problem?
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.