『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the full value of DC Web with our global community.
新着順
Demo works fine but when I enter my own client ID and pdf I get the file preview error. Recreated credientials as suggested in this thread. but didn't solve the issue. Read a bit about CORS issues but the pdf I'm using is located at my own domain so don't think that's it. Tried using different pdfs and locating them in the main directory not using subfolders and still the same preview error. Any help would be appreciated to get this sized container working. Thanks, .
I'm trying to use the STATUS_API in my application, but it simply doesn't work. Am I doing it wrong or there anything more to it?adobeDCView.registerCallback( AdobeDC.View.Enum.CallbackType.STATUS_API, function (metaData) { /* Resolve or reject response in given format */ /* Status callback success case */ return new Promise((resolve, reject) => { resolve({ code: AdobeDC.View.Enum.ApiResponseCode.SUCCESS, }); }); /* Status callback file modified case */ return new Promise((resolve, reject) => { resolve({ code: AdobeDC.View.Enum.ApiResponseCode.FILE_MODIFIED, data: { modifiedBy: { name: "iiii", mail: "mail@mail.com", } } }); }); }, { filePollFrequency: 10, keepPolling: true, } ); Even aft
Hi,In adobe node js sdk can we direclty take files through aws s3 link or https link? Thanks
Hi all, I'm struggling to find an answer/solution to this so I'm starting a new thread.Can I load a different PDF into an existing AdobeDC.View?I have a list of PDF on a site and one instance of AdobeDC.View. When the PDF link is clicked I want to open that PDF in AdobeDC.View? Is this possible? Thanks.V
Hi Every one,do you know if with api we could fill pdf and expert pdf as filiable pdf ? thanks a lot
Hello, Are there any possible reasons, why FilePreviewEvents are no longer firing?We registered the 2 callbacks below, the PDFAnalyticsEvents are firing but not the FilePreviewEvents.This is working before, but we don't what has changed. We don't get any javascript errors on the browser console. adobeDCView.registerCallback( AdobeDC.View.Enum.CallbackType.EVENT_LISTENER, function (event) { alert.log("Event: " + event.type); if (event.type === "PREVIEW_SELECTION_END") { previewFilePromise.then(adobeViewer => { adobeViewer.getAPIs().then(apis => { apis.getSelectedContent() .then(result => { selectedText = result.data; console.log("selectedText = " + selectedText); }) .catch(error => console.log(error));
An ISV wants a customer to use their application with PDF Tools API from a site which does not have direct internet access due to security reasons. However, the customer can provide a proxy server to access resources on the internet. In order to make this work, the ISV is supposed to provide domain name(s) / URL(s) to our customer's network team. Can you please advise on this matter?
I am using Embed API. I download pdf using $.ajax() and then load pdf asfunction loadPdf(pdfPath) { window.adobeDCView = new AdobeDC.View({clientId: adobeApiKeyStaging, divId: "adobe-dc-view"}); adobeDCView.previewFile({ content: { promise: Promise.resolve(stringToArrayBuffer(pdfPath)) }, metaData:{fileName: "Test1.pdf"} }, viewerConfig); }I convert string to Array Buffer and feel its not coverting correctly or Promise.resolve() require something else ?function stringToArrayBuffer2(bin) { var len = bin.length; var uInt8Array = new Uint8Array(len); for (var i = 0; i < len; i++) { uInt8Array[i] = bin.charCodeAt(i); } return uInt8Array.buffer; }If I send base64 from server then its working fine, but when I read raw pdf data then its showing blank pages. Following example is also working fine.function fetchPDF(urlToPDF) { return new Promise((resolve) => { fetch(
Redirect PDF document to Adobe Document Cloud from Sharepoint Framework Solution. Is there anyway to integrate or redirect to adobe document cloud from SPFX
/* Control the default view mode */const viewerConfig = { /* Allowed possible values are "FIT_PAGE", "FIT_WIDTH" or "" */ defaultViewMode: "",};/* Wait for Adobe Document Services PDF Embed API to be ready */document.addEventListener("adobe_dc_view_sdk.ready", function () { /* Initialize the AdobeDC View object */ var adobeDCView = new AdobeDC.View({ /* Pass your registered client id */ clientId: "<YOUR_CLIENT_ID>", /* Pass the div id in which PDF should be
Hi all, I have tried to find a solution to this - apologies if this has already been asked and answered, or whether it's a known fault (couldn't locate info on this). Essentially I have successfully embedded several PDFs onto our website using the API, opting for the 'INLINE' style. This works fine on Chrome, but on MS Edge it seems to produce some odd alignment within the iframe, doesn't extend the document height, and forces a kind of 'auto-scroll'. The document in question is embedded on the following page: https://innovatetax.com/infographic-a-guide-to-gst-in-canada/ If anyone can help me figure this out I'd be most grateful. I'd screenshot it but it's not possible as it keeps scrolling. NB. I have replicated this issue on several different machines and all have the same problem. Thanks in advance!
I am building a web app running on localhost as my development environment, but the Tools APi keeps returning "Exception encountered while executing operation Error: Invalid Credentials provided as argument." The sample code runs just fine using the exact same credentials code. This only occurs when running the Node.js Express server and attempting to access the Tools API. Any help would be most appreciated. Code is below. // Initial setup, create credentials instance. const credentials = PDFToolsSdk.Credentials .serviceAccountCredentialsBuilder() .fromFile("pdftools-api-credentials.json") .build(); &
I am getting an error when using the AdobeDC Embed API where somthimes it fails to embed the PDF and I get an console error stating "The user is not authenticated". This happens intermittently, often when I refresh the page and try comming back to the same PDF. The API key I am using does not change, so I am unsure what is causing it to fail authentication. I have checked the cookies and I am not sure if there is a correlation. Sometimes there are no cookies when I get an error, sometimes there are cookies in an "adobe.com" directory and somethimes in a "documentcloud.adobe.com" directory. I would appreciate any help.
I'm using the Full Window embed mode but in a Bootstrap column. Everything is working great except that the zoom controls don't show. If I move the target DIV outside of the Bootsrap column, the zoom controls do then show. I've tried setting heights and widths on various elements but nothing seems to trigger the appearance of the zoom controls.
Hello, Is there a way a to retreive the coordinates of the highlighted text in the viewer. We are listening to AdobeDC.View.Enum.PDFAnalyticsEvents.TEXT_COPY and we wantto get the coordinates of the copied text. The event parameter does not contain the coordinates details, is there a way like to execute a command and then get the coordinates of the highlighted text? Thanks,
Hello, Is there a way to refresh/reload the PDF Embed API Viewer rather than calling location.reload?We are rendering PDF and allow users to create annotations, If we detect changes from other users, we will then reload the pdf. Thanks,
I have an HTML file and I want to convert it to PDFand you allow to convert only ZIP files with html in it.When it will be an option to convert a single HTML file to PDF? Any assistance would be great.
Hi, I'm currently using PDF Embed API. I'd like to ask if there is a way to add annotations such as highlight, without confirming in the comment area every time, unless the user double clicks the highlighted annotation. Currently, every time user adds an annotation, the comment panel will switch on and user has to choose cancel or post. This can be quite tedious especially user need to use full screen to view the pdf, as after posting the annotation, user often has to manually close the comment panel.until next time it pops up again... Thanks.
Hello all, I am hoping to create a Power Automate flow to convert scanned PDF files into searchable PDFs. However, when creating the connector and adding Adobe as a condition, it asks for "File Content". Unfortunately there's no dynamic content available under File Content and it's a required field. Not sure how to proceed from here. Any thoughts? Thanks so much,
Hello, Is there a date estimation when will be deployed a version where we will be able to draw shapes and use stamps trough PDF Embed API?
Hi There, I've been trying to work on a solution to create an editable PDF from HTML. So the expected functionality that I would like to see is the input fields from my HTML are then editable in my PDF. I have attached the PDF that was generated to this post. The method I am using to generate is in-line with the demo where I am generating from an HTML file inside a zip file. The html code looks like so (I have left out the table as otherwise it would be too much to paste): <!DOCTYPE html> <html lang="en"><head> <meta charset="utf-8"> </head> <body> <h1>Title Demo Report</h1> <h1>Report Date 2021-01-17T13:44:15.21724+02:00</h1> <h1>IsDemo Option true</h1> <h1>Demo Inputs</h1> Checkbox <input type="checkbox" value="checkbox"> <br> Radio Buttons <input type="radio" name="radio-test" value="option-1"> Option 1 <input type="radio" name="
Hi,I am trying to create a credential for PDF Embed API.Could you please tell me the benefit of getting a separate credential for sub-domains and the reason why it is recommended to get a separate credential even tho one credential is restricted to the domain, plus any subdomains?
Not sure if service is down or we hit our quota ???Can't make any PDF actions work, but everything used to work fine. Only the Adobe PDF actions are failing in the Power Automate flow.What gives?
Hi, I'd like to ask if there is an API endpoints for setting the scroll position or page to view. I understand that there is events like PAGE_VIEW, PREVIEW_PAGE_VIEW_SCROLLED, to record the current page and scroll location. this is to implement a function to resume the last reading location after the pdf is closed. thanks.
Hi,I would like to add the read along capability within PDFs embeded on my website just like how we can highlight parts of text (word/sentence) in a reading passage that is being played in an audio file. It would be similar to the read along capability within the acrobat software, but with a custom audio file that I already have generated. Is this possible?
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.