Unlock the full value of DC Web with our global community.
Recently active
What is DC Services SDK? Is it an API? How to use it to make my own application? I downloaded the sample code from Get Started section. I want to use it to generate PDF from Static HTML zip. When I run the sample, it converts input files which is located in the resources folder. I changed the code of CreatePDFFromStaticHTML.java, which has a main method, to take input and packaged it. When I run it, it says no main manifest attribute available. It's been more than 5 days (continuous) and I am still stuck and frustrated. Please Help Me With This.- A Novice Enthusiastic Developer
patients is great.
Hi, I've got an error message when I put a callback with SAVE_API type. Error message:ViewSDKInterface.js:1 Uncaught TypeError: Cannot read property 'then' of undefinedat CallbackService._handleCallbackMessage (ViewSDKInterface.js:1)at ViewSDKInterface.js:1at Array.forEach (<anonymous>)at MessagingService._receiveMessageHelper (ViewSDKInterface.js:1) My code:document.addEventListener("adobe_dc_view_sdk.ready", function(){ var adobeDCView = new AdobeDC.View({clientId: "<adobe_id>", divId: "adobe-dc-view",locale: "fr-FR", });adobeDCView.previewFile({content:{location: {url: "pdf/doc1.pdf"}},metaData:{fileName: "doc1.pdf"}}, { embedMode: "FULL_WINDOW",defaultViewMode: "FIT_PAGE",showDownloadPDF: true,showPrintPDF: true,showLeftHandPanel: false,showAnnotationTools:true}); const saveOptions = {//}adobeDCView.registerCallback(AdobeDC.View.Enum.CallbackType.SAVE_API,function(metadata, content, options) {console.log(content) });}); Anybody have an idea
I have code that that needs to render PDFs to Images (PNG). We are currently using AEM SOAP calls to do this. This is the only thing we are using AEM for. Because AEM is a large product and we are not utilizing it, we thought that we could render the PDFs with API calls. This works for most of our PDFs but a few are not rendering properly. The problematic PDFs render as a single page with text that reads, “Please wait… If this message is not eventually replaced by the proper contents of the document”. My research tells me that these are probably dynamic XFA forms. Do you have an API that can flatten these files so they can be rendered properly?
I want to understand how students interact with an educational PDF that relies on internal links. I can send HTTP post requests for page changes using PAGE_VIEW. Is it possible to do something similar with internal links.I want to understand at an individual student level what their flow through the document is- how much time do they spend on each page? Do they click the links? Where do they go next?Thanks for your help.
What if I want to render with a sized container? How will I know the dimensions for user provided pdfs? I like the single page rendering of this view but I need to dynamically size it since user's upload pdf with page in both portrait and landscape orientation.
We have integrated View SDK into our application and it is working fine. I have referred the "Form Handling" section in View SDK documentation. We are planing to integrate this feature as well. I have query regarding "Forms Handling", can we implement to fill the relevant information from our system.For example, if user enters there name then can get their address from our system where both name and address are stored and display into PDF form.Please advice how we can implement this feature in your Adobe SDK?
When I emabed a PDF which contains 3D model in a web page the 3D could not be displayed as the autoplay of 3D content in PDFs is disabled by default. There is no option to enable it on web page. In SDK is there any way(an api to call) to enable the content or trust the document.
There are limitations menitoned under mobile support. Any plans to overcome those in the coming releases ?
Is there any plan to support for the scenarios like below.
Hi!, I am using the PDF viewer SDK API to load PDF files on my website and with one in particular I get this:And no load, if press 'ok' never just charge.I attach the PDF with which it happens to me to see if you can help me to know why it happens. Regards!
I would like to use View SDK to present PDFs on an educaion website and would like to hide the Adobe logo on the controls. Is there a license fee or something that allows that to be hidden?
Webflow has a standard "embedd HTML code editor". I copied the code generated when clicking "generate code" within the Adobe Document Cloud SDK and pasted it into the webflow HTML code editor but nothing is presented. It's just blank when I publish my site.
Hi, I have a problem when load a PDF with the sdk in safari navigator, in console I view this error (not supported in strict mode):Can you help me ? thx!
Hello, I am trying to open a pdf with an XFA form in it. It gives the message: Please wait... If this message is not eventually replaced by the proper contents of the document, your PDF viewer may not be able to display this type of document. You can upgrade to the latest version of Adobe Reader for Windows®, Mac, or Linux® by visiting http://www.adobe.com/go/reader_download. For more assistance with Adobe Reader visit http://www.adobe.com/go/acrreader. This document contains some fields which arae not supported in viewer. How to open the PDF with XFA forms in Viewer ? Please suggest. -thanksVishal
I am looking for a high-quality PDF text extraction service which, given a PDF, will return JSON/String with the text inside the PDF. Ideally, the result should not contain only text, but also include any images/graphs/columns/tables being detected. Google, ABBYY, and others provide similar services but I assume that in case Adobe has this functionality, it would be superior to any other competitor. If this capability is not present, are you planning to introduce it any time soon?
So I'm currently building a website that uses View SDK to preview PDFs in-line.Some of these PDFs contain sensitive information though and I've password-protected them at the file level.This works as expected. But I've noticed that if I navigate away from the file (load the "adobe-dc-view" div with another PDF) and then return to password-protected file later, I'll be prompted for the password again. Eg. I am wondering if there's a way for the Adobe View Previewer to somehow "remember" that credentials have already been provided? That way, once the user gives the password once, s/he never needs to do so again. Furthermore-- What are my options in the Adobe ecosystem if I'm interested in setting up my website so a user can login once and then view all PDFs that s/he is authorized to view? In other words-- I don't want to apply password protection at the file-level. Instead, I want to set up some sort of "sitewide, organization-authentication/
I'm running into an issue where I cannot preview a local pdf.I have tried: adobeDCView.previewFile( { content: {location: {url: "file:///C:/my/sandbox/local_file.pdf"}}, metaData: {fileName: "local_file.pdf"} }, {embedMode: "IN_LINE", showDownloadPDF: true, showPrintPDF: true}); });and adobeDCView.previewFile( { content: {location: {url: "local_file.pdf"}}, metaData: {fileName: "local_file.pdf"} }, {embedMode: "IN_LINE", showDownloadPDF: true, showPrintPDF: true}); });But I always just get a "File preview error". In the Adobe View SDK repo, I did see the "Work with Local File" example . But this is not what I'm looking for. In the example, it uses a File Uploader. For my purposes, I want to just hardcode a local file location for my PDF into my JS code (preferably relative to my index.html file). That way I can easily work on my local machine. Can you please
I'm running into an issue where I cannot preview a local pdf.I have tried: <script type="text/javascript"> document.addEventListener("adobe_dc_view_sdk.ready", function() { var adobeDCView = new AdobeDC.View({clientId: "43b7fe695ddb49899bd5d90f222f5b7c", divId: "adobe-dc-view"}); adobeDCView.previewFile( { content: {location: {url: "file:///C:/my/sandbox/local_file.pdf"}}, metaData: {fileName: "local_file.pdf"} }, {embedMode: "IN_LINE", showDownloadPDF: true, showPrintPDF: true}); }); </script> But I always just get a "File preview error": In the Adobe View SDK repo, I did see the "Work with Local File" example. But this is not what I'm looking for. In the example, it uses a File Uploader. For my purposes, I want to just hardcode a local file location for my PDF into my JS code (preferably relative to my index.html file). That way I can easily work on my local machin
I am following the quick start guide here:https://www.adobe.com/devnet-docs/dcsdk_io/viewSDK/index.html#copy-it-run-it My code looks like (exactly copy/pasted from the example, except with my clientId):<!--Get the samples from https://www.adobe.com/go/dcviewsdk_samples--> <!DOCTYPE html> <html> <head> <title>Adobe Document Cloud View SDK Sample</title> <meta charset="utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <meta id="viewport" name="viewport" content="width=device-width, initial-scale=1"/> </head> <body style="margin: 0px"> <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: "43b7fe695ddb49899bd5d90f222f5b7c", divId: "adobe-dc-view"});
Hi,I'm trying to use the Document Cloud Service SDK to create an endpoint in Node.js which converts PDFs to zip files of jpegs and return it to the caller. I built a quick implementation based on the node.js sample code: app.post('/processor', function(req, res) { // Get file from request var file = req.files[Object.keys(req.files)[0]] // Generate Temporary Name var temp_name = shortid.generate() var filename = "./uploads/"+temp_name +".pdf" var zipname = temp_name +".zip" fs.writeFile(filename, file.data, function(err) { if(err) { console.log(err) res.status(500).send(err) } // Initial setup, create credentials instance. const credentials = DCServicesSdk.Credentials .serviceAccountCredentialsBuilder() .fromFile("dc-services-sdk-credentials.json") .build(); //Create an ExecutionContext using credentials and create a new operation instance. const
I am trying to create an integration to the View SDK, but I cannot find where to specify the application domain. Also, I have an integration that was created 2-3 weeks ago, that displays the domain, but subdomains are not able to access. What am I doing wrong?
I would like to use a set of custom buttons outside the viewer to navigate through the document. The API function gotoLocation() allows me to move to the previous/next page, but I don't see any equivalent to set the zoom level or toggle full screen on and off. Is there a way to toggle full screen programmatically?
Can we change the StrokeWidth of Strikethrougt manually or with code?Calling addAnnotations with special StrokeColor works but special StrokeWidth do nothing.
It would be very helpful to have option to draw (and define colors/thickness) borders based on PDF document TrimBox as for white pages on white background right now only workaround is to draw these boxes in advance.Also option to set distance between pages in inline view is something that would be nice to have.
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.