Unlock the full value of DC Web with our global community.
Recently active
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'
I am using nodejs sdk to convert a pdf to pptx. Conversion is being successful, but if i open the PPTX in Powerpoint I see that images are broken. Upon research I observed that images are converted to text, is there anyway i can stop this happening or any other solution will be helpful. I have attached the original and converted screenshots.
Hi there,I am hoping someone has the answer for this.My flow stopped working about 2 weeks ago. After troubleshooting in anyway I can think of, I still can't get my form to pdf. My flow is as follows:The error message after 8 tries is this: I'm sure that I've just missed something, but I can't for the life of me figure out what I've done wrong. I have other flows that are pdfing well with the same credentials.
Hi I'm currently using the PDF Embed API and I'm adding a hundred of shape annotations to a PDF (with a single addAnnotationsInPDF() call) and it adds all the annotations visually, then adds one annotation at a time very slowly, that I can see following the triggered events and during this action it locks the application screen and take several minutes to complete. This makes the viewer barely usable for my application... A JSON example of an annotation that is added:{ "@context": [ "https://www.w3.org/ns/anno.jsonld", "https://comments.acrobat.com/ns/anno.jsonld" ], "id": "a3e2414b-1cef-4c4b-8447-1d143b42a79a", "type": "Annotation", "motivation": "commenting", "bodyValue": "-", "target": { "source": "17", &
So, when my user tries to click the "Get Credentials" button at https://developer.adobe.com/document-services/apis/pdf-embed/we get the error (You don't have access to PDF Embed API (attached image Error Message.jpg). Cannot figure out why. I have no problem with the Get Credentials button. Obviously I could do it and pass the information to my user but that is a bit cumbersome as a working model. I tried contacting Adobe Support but they were singularly unhelpful, pushing me to "get on the forums". So, here I am. I'm hoping someone can explain this to me. Thanks!
Hi, I am only a few hours into this, but I am attempting to use the lightbox embed. I have used the github sample code to get started -- it seems to trigger the API correctly in that the spinning loader appears, but nothing after that... it just disappears. Here is my code <script src="https://documentcloud.adobe.com/view-sdk/main.js"></script> <script type="text/javascript"> const viewerConfig = { embedMode: "LIGHT_BOX", showPageControls: false, showDownloadPDF: false, showPrintPDF: false }; document.addEventListener("adobe_dc_view_sdk.ready", function () { document.getElementById("readbook").disabled = false; }); function previewFile() { var adobeDCView = new AdobeDC.View({ clientId: "<put my ID>" }); adobeDCView.previewFile({ content: { location: { url: "https://mihikashilpi.com/wp-content/uploads/2021/06/A-Pixelated-Plumber-Book.pdf", }, },
The apple pencil works great with the adobe embed for alot of functions.Unfortunately the bottom bar buttons do not seem to work with the Apple Pencil.the click is registered because the styling changes on the buttons, but they do not function.The same buttons function as intended on the iPad when using finger touches.
Hi, I have a document generation issue. I'm using MS Word and the document generation add-on to build / test document automation. I'm seeing a use-case that is not working for me. It is best outlined w/ this json:{ "records": [ { "bullet": "a record containing the names..." }, { "bullet": "a record containing the particulars...", "subbullets": [ { "subbullet": "the names of the persons who performed them" }, { "subbullet": "the dates they were undertaken" }, { "subbullet": "in the case of modification" }, { "subbullet": "if applicable" } ] }, { "bullet": "the company of a remotely..." } ] } The Word Document has this text / markupThes
To whomever sees this Hi! First time messaging here, and looking forward to chatting with everyone! That said, I'm integrating the Document Services API such that PDF submissions I receive are rendered into their components (images and text) for further processing. However, while I've gotten that to work, my program requires the images and text pulled from a PDF to be 100% consistent in the *long-term*, such that a PDF submitted now, and anytime in the future, will produce the same images and text when extracted. So my question is basically, will I extract the exact same data despite the changes that might happen to the API in the future? (which is expected) My follow-up question would then be, if the format of that data received *does/would* change in the future, would a PDF conversion to JPG/PNG (excluding the metadata) be 100% consistent between now and anytime in the future? (Such that the two image files would hold the *exact* same bits) Thanks so much for the help
Hi I am unanle to run python code in pycharm for pdf extractor api i am getting this errorshashidhar@MacBook-Air PDFServicesSDK-Python % python adobe-dc-pdf-services-sdk-extract-python-samples/src/extractpdf/extract_txt_from_pdf.pyFile "adobe-dc-pdf-services-sdk-extract-python-samples/src/extractpdf/extract_txt_from_pdf.py", line 25extract_pdf_options: ExtractPDFOptions = ExtractPDFOptions.builder() \^SyntaxError: invalid syntax(base) shashidhar@MacBook-Air PDFServicesSDK-Python % python adobe-dc-pdf-services-sdk-extract-python-samples/src/extractpdf/extract_txt_from_pdf_with_in_memory_auth_credentials.pyFile "adobe-dc-pdf-services-sdk-extract-python-samples/src/extractpdf/extract_txt_from_pdf_with_in_memory_auth_credentials.py", line 47extract_pdf_options: ExtractPDFOptions = ExtractPDFOptions.builder() \^SyntaxError: invalid syntax(base) shashidhar@MacBook-Air PDFServicesSDK-Python % python /adobe-dc-pdf-services-sdk-extract-python-samples/src/extractpdf/extract_txt_from_pdf.py/Syste
Hello everybody,I'm having trouble using adobe PDF Embed API on mobile devices. If I set defaultViewMode:SINGLE_PAGE , the rendering performance of the page is very slow, each page remains white for many seconds, all often followed by visual glitches, such as the page going all black for a few seconds. The problem does not occur if I use another type of view such as SINGLE_PAGE and therefore never on the desktop that is not supporting the SINGLE_PAGE mode. The pdf is max compressed and max optimized for the mobile version. Here you can find an example link https://anekitalia.com/catalogo-soggiorni but this happens with all my pdfs even the small ones(2-3MB). Any way to fix this? I think that is somehow related to the touch EventListener.
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.