『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the full value of DC Web with our global community.
新着順
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.
Server port 2
For my web page I want to use the Adobe View SDK so the visitor can view various PDF files by clicking a button to load them. All of my files will reside in the same directory on my server, so the only part of the URL that would need to be passed in a variable is the file name, or in my sample "docName". I have created a test page that shows my desired viewer function Here I have been able to create the variable "docName" and by assigning the value in the script everything works fine, and the correct document is loaded. Currently I am making the viewer appear with a button click by using a w3.css modal element to contain the View SDK code, and the button simply changes the style of the modal from "none" to "display" Here is the code for this test: <html> <head> <script src="https://documentcloud.adobe.com/view-sdk/main.js"></script> <style> #pdfModal { margin-left: auto; margin-right: auto; padding-top: 50px; displ
I'm seeing inconsistencies when trying to implement the Inline Embed Mode on pages with a header image above them. On these pages, the embed does not seem to account for this added space and when clicking on the page navigation, it does not accuratly bring you to the next page: https://hireclix.webflow.io/news/rebooting-your-employee-referral-program-to-increase-participation However, embedding on a page without a header image, the navigation works as expected (aside from my fixed navbar): https://hireclix.webflow.io/pdf-embed-test Is this something that can be resolved?
Just signed in to Viewer SDK. Copy and paste simple code on html page. It is not visible on iOS phones. Can I do something to fix the problem. May be it explained somewhere, but I did not found it yet.Thank you very much!
I have read all of the basic instructions for the View SDK, and I am trying to set my pdf viewer to open documents with the "FIT_WIDTH" defaultViewMode. I have tried various placements for the setting, and I suspect my syntax is just not correct. Here is my code:<div id="adobe-dc-view" style="width:60%;height:600px;padding-top:50px"></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: "06179511ab964c9284f1b0887eca1b46", divId: "adobe-dc-view"}); adobeDCView.previewFile({ content:{location: {url: "https://www.shcsfarmington.org/Newsletter_050420.pdf"}}, metaData:{fileName: "Newsletter_050420.pdf"} }, {embedMode: "SIZED_CONTAINER", defaultViewMode: "FIT_WIDTH"}); }); </script>This is my best guess as to the placement and syntax, but it is not working - as y
Hi, I need to make an scheduler based app which converts all the PDF files located in a folder to EXCEL files.No merging.. Various PDF to various XL. How can I, with this callback, loop in the application and detect if there are remaining PDFs? Thanks a lotDaniel.
We can convert a PDF to a HTML using C#? The examples does not have this feautre.
In the examples, the object ExportPDFTargetFormat does not have the attribute TXT. Extracting text like itext, is it possible?
Hi, Is it possible to create empty PDF without using any conversion and include document level javascript? Regards,Vijay
Hi, I have tried the demo and read the documentation, but I couldn't find the sample code to disable copy text.Is the disable copy text feature/option is available?
Hi all, is it possible to setup a config parameter that allows us to disable the "search" functionality in the top-right custom actions div?nothing available from the documentation and CORS issues if trying to perform using jquery. Thanks
Hi everyone, I have a fillable PDF Form with custom validation scripts inside which I want to make accessible on aWebpage via the View SDK. The embedded PDF Viewer works fine but the custom validation scripts don't (Message: This Document contains fields which are not supported).My Question now is, if there is another possiblity or even another approach to get this working? Thanks in advance
Is there any file size limitation in view SDK?
Hi, I'm building a tool, that compares article numbers on two different documents and highlights the article numbers that couldn't be found in the other document. I'm creating an array of annotations in the backend, which I'm sending to adobe with the file as follows: var viewerConfig = { enableAnnotationAPIs: true, includePDFAnnotations: true, showCommentsPane: false }; document.addEventListener("adobe_dc_view_sdk.ready", function(){ var adobeDCView = new AdobeDC.View({clientId: "i put my id here", divId: "adobe-dc-view2"}); var previewFilePromise = adobeDCView.previewFile( { content: {location: {url: "{% static 'pdfs/adobe/doc2.pdf' %}"}}, metaData: {fileName: "doc2.pdf", id: "{{docId}}"}, }, viewerConfig); var annotations = '{{annotations}}'.replace(/&#x27;/g,"\""); console.log(annotations) annotations = JSON.parse(annotations) previewFilePromise.then(function (adobeViewer) {
Does Adobe provide python API's for document OCR or Text Recognition?
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
すでにアカウントをお持ちですか?ログイン
アカウントをお持ちではありませんか? アカウントを作成
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.