Unlock the full value of DC Web with our global community.
Recently active
Hi. I am dynamically loading a file in the PDF Embed API. I can get the file metadata (eg the page count etc). However, I don't see any option to get the file-size. My use-case requires me to check the file-size - and only show the annotation tools for files that are smaller than 5mb.
I am currently working on a Learning Management System and I have to attach this Embed API to my application based on PHP Core, but instead of downloading the pdf I want it to be saved on my server and not on the client's computer, is there any way to do it?
We are facing the issue domain not authorised to use provided pdf embed api from past few days, Earlier it was working fine, now its throwing the error. please help us soon, facing issue in producation
HEllo, I have started to receive this error msg; ''Alert: Your operation has been throttled.'' in my power automate flows. I have been using Adobe premium connector more than 1 year. Is it because i am ussing free trial of Adobe pdf services and the trial period has expired or something else? Appreciate your help on this.
I am always seeing this error when trying to hit the document generation API-"Missing multipart field contentAnalyzerRequests" {"requestId":"Klh4nbPHhMLemhRTuBPsaeCvprx6776a","type":"Bad Request.","title":"Missing multipart field contentAnalyzerRequests","status":400,"report":"{\"error_code\":\"INVALID_REQUEST\"}"}
Can PDF be used as an input for the Document Generation API? I assumed that it could because Adobe Sign text tagging (https://helpx.adobe.com/sign/using/text-tag.html) can be used with PDF. Not much difference between {{Sig_es_:signer1:signature}} and {{first_name}}. But after re-reading the Doc Generation documentation, I'm doubting myself. Follow-up question, if that's a negative, are there any plans to add PDF. This request is from a prospect currently using PDFBox.
I downloaded Adobe Document Generation for Word and when the button is selected, the pane is blank. It churns for a few seconds and then nothing. Using Word 2019 on my desktop. Please advise what could be wrong.
I am trying to set "Fit width" and "Fit height" without using the Page Control overlay, i.e. have my own buttons and then use a API calls. I cannot see what the buttons in the panel trigger, and I cannot find anything about this in the documentation -- so I am wondering if this is possible at all. I've tried using apis.getZoomAPIs().setZoomLevel(some_calculated_zoom), but I've yet to achieve the same result as the Page Control buttons do Anyone know if there is some API call I can use, or if there is some kind of workaround?
Hi, I have a document that has master/permissions restrictions, such as not being allowed to copy or print without the password. However, the response from the services API doesn't recognize that the document is encrypted. (API response attached) Please let me know if you can think of a solution, been trying to solve this for weeks! Example encrypted document also attached (not allowed to copy & print). Password: 1234567
Does embedded Viewer can do something such "Fence view". The part that is displayed is dynamic, depending on the position of the mouse
Hello, One of our clients is using the Document Services API to convert documents into PDFs and then combine the PDFs into one. They have been experiencing issues today with the system not combining the PDFs. When I look into the issue I see that the Document Services API is returning 500 errors when it attempts to combine the PDFs. "cpf:status":{"completed":true,"type":"","title":"An Internal Server Error has occurred.; transactionId=REDACTED","status":500,"report":"{\\"error_code\\":\\"INTERNAL_SERVER_ERROR\\"}"} I cannot find a way to reach Adobe Support and this is causing my client to loose business. My client is a paid customer of Adobe (through their AWS account).
Making sure this gets the correct eyes on so apologize for it beign a dupe of:https://community.adobe.com/t5/document-services-apis-discussions/how-to-send-private-key-while-creating-credentials/m-p/11996192#M1655As the person in the post above, I too want to keep the API Cred info in AWS Secret Mgr where we pull them out into process.env variables when the pod starts. But it's not letting me pass the private.key in as a string to .withPrivateKey(). I've tried stripping whitespace, removing the BEGIN/END lines, replacing newlines with "\n" in the string, et al. I always get the following error:2022-03-20T16:45:59.663:[INFO]: All validations successfully done. Beginning Combine Operation executionError: error:0909006C:PEM routines:get_name:no start lineat Sign.sign (node:internal/crypto/sig:131:29)at Object.sign (/Users/chrisweicht/g3/adobe/node_modules/jwa/index.js:152:45)at Object.jwsSign [as sign] (/Users/chrisweicht/g3/adobe/node_modules/jws/lib/sign-stream.js:32:24
Hi. How do I add a password (customised) to a PDF doc on the fly, meaning programmatically adding the password (to an existing PDF doc that belongs to me) just before sending it to a customer? And what Adobe programmes or tools would I need to be able to do this?
Hello i know, that i can access the XMP Data from Objects. For example:xmp.getProperty(XMPConst.NS_DM, "genre")But i wonder how i can access the XMP Data from IPTC Core like "keywords".The following guess is not working for me.xmp.getProperty(XMPConst.NS_IPTCCORE, "keywords") Thanks for your help!
Hi, I'm currently using the pdf embed api to read a pdf with many pages, usually more than 200 and then adding annotations to it. If it is a pdf with a few pages and consequently few annotations, it works fine, but if has more than 50 pages for example and more than 1000 annotations, it adds some annotations, like 200 and then I get an CorruptFile error in rendition.js and a log error. It stops adding the annotations and the pages gets blank.
I have been attempting to compress PDFs using the rest api POST call - my issue is that no matter how I format the InputFile0, form-data field - the subsequent GET api call is saying that my file is corrupted however I am 100% confident that I am passing a valid PDF file - I have been attempting to compare results using postman on the same file, which works, but setting this field programmatically there is something I am missing: I have tried all the formats in the FileReader object namely: readAsBinaryString, readAsDataURL, readAsText,readAsArrayBufferNone of them resolve the error - how is anyone else programmaticaly setting InputFile0 such the the server does not complain about a corrupted file ?
In another forum post I found the the way to change the background color of the main canvas by adding "backgroundColor" to the View config: document.addEventListener("adobe_dc_view_sdk.ready", function(){ var adobeDCView = new AdobeDC.View({ clientId: "<YOUR_CLIENT_ID>", divId: "adobe-dc-view", backgroundColor: "<HASH_CODE_FOR_COLOR>" });I also want to change the color of the title bar. Is that possible?Or even better: Is there any documentation / full list of possible attributes that can be used in the View-config?
Is there some way to show spreads in PDF Embed API? I.e. I want to show page 1 as a single page, 2 and 3 as a set / book, etc Preferably, I should be able to do this based on screen space, e.g. one a phone I would show single pages and on a PC I would show spreads I've attached a small image of what I'm trying to achieve: 1 is single page view (i.e. current), 2 is how I want it to display Is this possible?
I couldn't find links to the API reference anywhere. What is the alternative for some one who doesn't want to use one of the SDKs?
All the resources (JS and CSS) loaded from adobe server. Is there anything I can download and customize based on my requirement then host in my server.
I have seen many similar posts, but even with much trouble shooting I can't seem to get the PDF embed code to work. Have created multiple API keys, but won't work. Here is the code I'm using <html><head> <title>Your title</title> <meta charset="utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <script src="http://documentcloud.adobe.com/view-sdk/main.js"></script></head><body> <div id="adobe-dc-view"></div> <script type="text/javascript"> document.addEventListener("adobe_dc_view_sdk.ready", function() { var adobeDCView = new AdobeDC.View({clientId: "99546d4b3c424396afeb3522fdd20b62", divId: "adobe-dc-view"}); adobeDCView.previewFile( { content: {location: {url: "(http://pccirls.weeb
When trying to open bigger PDF documents, over 500 pages or 8MB the viewer loads only the first 2-3 pages (if we keep refreshing randomly it displays 2-3 pages correctly) and all other pages blank. We receive the following error in the console: "Uncaught (in promise) RangeError: Maximum call stack size exceeded at C (acrobatProxy.js:1:92208)" This happens only in Google Chrome and Microsoft Edge so far. In Firefox it displays correctly the same PDF. How may we fix this? Thank you in advance.
Hi there, I have been trying to hide annotations on a PDF. After reading the documentation and reviewing the community forums, I was able to disable the annotation tools, downloading and printing. However, I thought that includePDFAnnotations: false would hide the annotations that are on the document. They however are still rendering on the document. Below is the code that I am using. My goal is to create a toggle that would allow someone to view the PDF with annotations and without. Any help would be greatly appreciated. Thanks! console.log("script running") console.log("updated 02/01/2022") document.addEventListener("adobe_dc_view_sdk.ready", function(){ var adobeDCViewer = new AdobeDC.View({clientId: "<my Key>", divId: "adobe-dc-view"}); var previewFilePromise = adobeDCViewer.previewFile({ content: {location: {url: "lakers.pdf"}}, metaData: {fileName: "lakers.pdf"} }, { enableAnnotationAPIs: false, includePDFAnnotations: false, showAnnotationTools
I'm beginning to assess the doc services api, and find that the long running (several seconds) api calls block my app. This is because they are synchronous function calls rather than being asynchronous. Do you have a solution to this? Thanks, Simon
The documentation for the DCSDK shows that you can specify a url to load a PDF, but the rendering is very slow and causes 1 layer at a time to be rendered. We are displaying watermarked documents, so we don't want to have a half second where the watermark is not visible during rendering process. Is there a way to pre-render before showing the document or potentially load from memory instead of from a url? The documentation say you can use a File blob by specifying a promise, but I see no code examples. I was hoping I could retrieve the PDF bytes from a server and then pass it to the PDF library to render and perhaps speed up the render process. let adobeDCView = new AdobeDC.View({ clientId: clientId, divId: "adobe-dc-view" }); adobeDCView.previewFile({ // content: { location: { url: "server.com/my_file.pdf" } }, // works but slow render content: { promise: promise }, // does not work when resolving this promise with a Blob of type 'application/pdf'
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.