『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Unlock the full value of DC Web with our global community.
新着順
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.
Hello, I am able to successfully convert the word doc to pdf using generation api - https://documentcloud.adobe.com/document-services/index.html#get-documentGeneration-status. I get can see the success output in the postman. --Boundary_333122_1595253404_1632276260542Content-Type: application/jsonContent-Disposition: form-data; name="contentAnalyzerResponse"{"cpf:inputs":{"documentIn":{"cpf:l********--Boundary_333122_1595253404_1632276260542Content-Type: application/octet-streamContent-Disposition: form-data; name="Agreement_Template1"%PDF-1.6 %âãÏÓ133 0 obj <</Linearize How can I extract the pdf content from it? or Save the result as pdf file?Or would you recomend using the PDF SDK for it?
I'm try to create an html file with code but I have a crazy issue, I don't find my file with url: https://documentcloud.adobe.com/filename.pdf but in document cloud (https://acrobat.adobe.com/) the pdf files in share mode generate a link like a: https://acrobat.adobe.com/link/track/?locale=it-IT&uri=eccand the code (https://documentcloud.adobe.com/view-sdk-demo/index.html#/view/FULL_WINDOW/Bodea%20Brochure.pdf) is not customizable.Where is the error?
Hello,In the embedded viewer, when copying multiple lines from a pdf it seems that the viewer ignores line breakscan be seen in the live demo, copying the 3 bullets under "10 Years" will result in 1 continous line. (Attached screenshots of what I copied + what was pasted)
Team,Can someone please confirm that we can use OAuth 2.0 for authentication Adobe PDF Services API?Or do we need to use a JWT token for authentication?Thank you.
I'm adding dozens of highlight annotations to a PDF (with a single addAnnotations() call) using the PDF Embed API and it's surprisingly slow, taking on the order of 100 ms per annotation and leaving the viewer completely unresponsive for seconds at a time while they're added. This makes the viewer barely usable for my application; it'd be great if performance and responsiveness could be improved here. Incidentally, it'd be nice to be able to customize the appearance of highlight annotations more; the text bubble symbols aren't useful for what I'm doing, and the bodyValue text doesn't appear to be displayed anywhere so I'm having to do that myself.
I have some PDFs that I would like to OCR using the API, but there's already some text layers in it. The API seems to skip the entire PDF instead of OCRing the image data.
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.