Unlock the full value of DC Web with our global community.
Recently active
we are using PDF embed API for annotation.How can i make one anotation as read only? means shouldn't allow to chnage the annotation,remove annotation.
Hi,I'm trying to embed the api into my Squarespace site. The PDF is uploaded to the Squarepace server. I've tried every other way of hosting the file, none seem to work. I've spent days trying to make this work - can anyone help? Here's the live page: https://www.self-other.org/who-cares-test I'm using the following code: <div id="adobe-dc-view" style="height: 360px; width: 500px;"></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: "cdb98ffb676e44ac880d48fed629fc00", divId: "adobe-dc-view"});adobeDCView.previewFile({content:{location: {url: "self-other.org/s/Skye_FINAL_CJ_ProofRead.pdf"}},metaData:{fileName: "Skye_FINAL_CJ_ProofRead.pdf"}}, {embedMode: "SIZED_CONTAINER"});});</script>
Hi, I'm working on a React project where I want to display a PDF preview in a component. The pdf source comes from Firebase Storage. I'm passing the url from firebase. The thing is that when I render the component, my console is showing a CORS error saying that the request was blocked by CORS policy. I have read the documentation and I know that I need to enable CORS headers on my pdf resource. I have already done that but it doesn't seem to work. This is the errorThis is my ViewSdkClient.js codeI have searched for similar posts on this community but i failed to find a solution I'm not sure if I might be missing something or if my syntax might be wrong. Could you please help me? Thanks!!
Hi, I have created a html index file and placed inside the same folder that contains the PDF file. I registered my domain as www.domain.com and both the index file and the PDF file are inside a folder in www.domain.com/folder.Once I enter the web address in my browser it displays the following message: "File preview not availableThis application domain (http://www.domain.com) is not authorized to use the provided PDF Embed API Client ID." I have replaced my real domain name here with domain.com as I am not sure if I'm allowed to post it and for privacy reasons. Following a previous question I received, here is what I found on the JavaScript Console: [Info] Successfuly preconnected to https://p.typekit.net/[Info] Successfuly preconnected to https://use.typekit.net/[Error] Failed to load resource: the server responded with a status of 404 (Not Found) (favicon.ico, line 0)[Error] Origin http://www.domain.com is not allowed by Access-Control-Allow-Origin.[Erro
Hi! I started using Adobe Embed API to view files on my system and it has been working really well. I'd like to keep the comments, annotations and notes I made on the file saved so that the next person who opens the PDF sees the previous comments. I saw that natively, the save button downloads the PDF to the user's PC. Is there any way to keep these notes synced at the server level? Thanks!
Am trying to highlight and add comments for given text in pdf, keeping this code as base https://codepen.io/practicalPDF/pen/OJMoGOY?editors=0010But in the code, it takes input quadpoints and bbox.How can i get quadpoints and bbox of a given text/sentence so as to highlight and add comment to them?code language -> javascriptHelp is needed asap.thanks in advance!!!
I reasearching Adobe functionlity to redact a PDF document programatically using AEM API (java) and there is little to no documentation on this capability. Can anyone speak on this and clarify what are adobe's out of box option with redaction? There is this reference that hints a possibility:AEM forms * Redact PDF operation (adobe.com)AEM forms * Quick Start (SOAP mode): Redacting a PDF document using the Java API (adobe.com) Thank you
Adobe PDF Embed API is a great way to showcase PDF content, but I notice Adobe itself isn't showcasing their PDF content in API. Why is Adobe not using Embed API for their PDFs on their web sites? Example: https://www.adobe.com/content/dam/dx-dc/en/pdfs/adobe-document-cloud-government-sb-ue.pdf
How can check remaining number of request or mange credential for this API?Is there any limit on number of pages per documnet/file?
Hi,When I pass the below view config in Adobe PDF Embed API:const viewerConfig = { embedMode: 'FULL_WINDOW', defaultViewMode: 'FIT_PAGE', showAnnotationTools: false, showCommentsPanel: true, }; the comment section does not show up and all the sticky notes and comment are not showing up. It seems that `showAnnotationTools` is overriding the comment visibility config!Am I doing something wrong?
I am calling pdfservices using the pdfservices-sdk-2.1.0.jar and I more often than not receive a timeout. The error received is: com.adobe.pdfservices.operation.exception.ServiceApiException: description ='Operation timed out; transactionId=kfvgjemcquOgWIkQZSVgjcjHkyTAg8yL'; requestTrackingId='WDwted6OPYfluBO3fDBwFbhlfNKS4eLY'; statusCode=500; errorCode=REQUEST_TIMEOUTat com.adobe.pdfservices.operation.pdfops.DocumentMergeOperation.execute(DocumentMergeOperation.java:145) ~[pdfservices-sdk-2.1.0.jar:?]The error occurs in the CPFApi class, method cpfStatusApi. Sometimes the .docx to .pdf conversion works fine, but more frequently it will hit the timeout problem. On initial system start-up, it will frequently convert one document, then if I run the identical job again it will run into the timeout problem. The method that it's in when the timeout occurs is (in the CPFApi class): public static <T> HttpResponse<T> cpfStatusApi(InternalExecut
HelloI use the "Convert image to PDF" action in power automate to automatically process receipts from our employees.Employees take a picture from the receipt with their smartphone and upload it in a microsoft form, together with some data (name, etc.)The problem is that pictures from a smartphone almost never have a good format, they are too big.It would be great if pictures-size could be reduced to max A4 format (8,3 x 11,7 inches, 21 x 29,7 cm) so that it is max 1 A4 page in the converted pdf.See the attacment : the size is 48 x 64 inches, where it should have a max size of A4 (8,3 x 11,7 inches)Is there a way to resize the picture during the "Convert image to PDF" action with a parameter "max size"?Sincerely
Hello world! I have a PDF with hight 576 px. Also i have a bounds of some aria that I am highlighting with this bounds. The bounds from adobe api. To highlight i am using annotationManager.AddAnnotationsToPDF and it highlighted well. the bounds is float numbers. But when I tryed to use the same bundes to pass to apis.gotoLocation (like apis.gotoLocation(11, 0, parseInt(bondles[1])) where bondles[1] is y1 as float => it "jump" to random plase. If I doesn't do this the editor automaticly "jump" to page where I add highlited comment but not to the specific aria by y-coordinate. As got here (https://community.adobe.com/t5/document-services-apis-discussions/adobe-pdf-embed-gotolocation-timing-problem/m-p/12391079) may be I need to do the similar calculation for the y coordinate value (to use screen.height and PPI) but what must be the units of x and y coordinate and how exactly to calculate tham? Or, otherwise why it does not focus on the add comment(highlight)?
Hello all, This is my first time posting to this forum and using Adobe PDF Embed API so please forgive me if my questions seems basic.Following instructions I found online mostly at Adobe's own website I created a html index file and placed inside the same folder that contains my PDF file. I registered my domain as www.domain.com and both the index file and the PDF are insider a folder in www.domain.com/folder.I first tried my API key but then read the instructions again and replaced it by my Client ID, which is what I believe I am required to enter as part of the code in my html page.Either way didn't seem to work. Once I navigate to the page it displays a gray background with a white rectanble in the center with the following message:"File preview not availableThis application domain (http://www.domain.com) is not authorized to use the provided PDF Embed API Client ID."I have replaced my real domain with domain.com as I am not sure if I'm allowed to post the real domain here and
Hello, We are having problems with periodic times of slow service. Since these are not individual outliers, but all conversion requests suddenly taking minutes, we don't think it is due to the documents been converted at the time. Especially since earlier this morning, we see that a conversion might take more than 5 min in average (we see ranges of 3 min up to 17 min). As we are currently increasing the traffic we send to using the pdf conversion, we would like to ensure these wait times can be reduced. Could you help us understand what might be the reason for this?Thank you for your support.
At the moment it support three annotation tools namely, 'Note', 'Highlight' and 'Free Hand Drawing'. when can we except the release date, that contains drawing tools like square , circle in Adobe DC View SDK
I installed Adobe Document Cloud to my local pc for SharePoint. I can open documents in Adobe via the browser now. However, I cannot search for comments within those Adobe documents. Is it possible to search for comments within pdf files stored within SharePoint?
Having reviewed the docs briefly, is there a way to change the result package? Working on an MVP using AWS Lambda and Step Functions, at this juncture, I only need the json file for text-only extraction. It would be useful to get direct access to that file vs. having to add unzipping and extraction on my end. Appreciate any trailheads/tips I have missed or if a toggle couple be added.
Hi All! I wanted to share that Adobe PDF Tools now has a new very powerful API: Document Generation API. I write about it in detail here but I wanted to give you a few highlights: Create your templates in Word You can easily create your templates in Microsoft Word. The new Adobe Document Generation Tagger allows you to take your data sources and easily tag documents that you use with the API. Data is in JSON format If you are already have an app and your data in JSON, then it is really easy to integrate the data. Just pass the data into the API along with your Word template. What's more, you can also use complex data sets which include arrays, objects, as well as images! Conditional sections You can configure conditional sections to allow you have only sections be visible if the data has a certain value. For example, if the state=Washington, then add the Washington State paragraphs to the output. You can generate both PDF and DOCX documents That'
Hi, We are using Adobe PDF Embed API, amazing free library! We have one problem.We are showing all the pdf in read only mode without annotation panel. We need to put a button beside the document name when the library finishes loading the file. We have the our div, but it can not be added to the UI using the `insertAdjacentElement` method! we are getting the span element which contains `document name` and we are trying to add our div beside it! It fails because the content which was loaded by the adobe library made browser to not insert the content in the DOM and that is why we receive null! If we open the developer console and inspect the content that adobe inserted for the pdf viewer then it will not be null. I suspect that it is because of the `role=presentation` of the content, but how we can get the pdf embed library to load the content into the dom so we will have access in Angular to add our div?
We have successfully set up a reverse proxy on our server to the main.js file. (to get around security blocking sofware) We can now pull in the Adobe PDF embed API js file in the following url: https://dr-www.mfs.com/view-sdk/main.jsHowever the PDF component starts to appear on the page but fails to complete rendering. After reviewing the developer console, it appears that there’s a JSON web token that fails to load? Is this connected to passing the client API key back to Adobe? Is there a workaround for this issue?
Is there a way to change the default link behavior when embedding a PDF? We have a webpage with an embedded PDF that contains links to different pages on our website. When you click a link, a white box appears confirming you want to Open Web Page. After clicking the Open Link button, Microsoft Edge shows the Pop-up blocked message. That's it. Sure I can personally click to allow the popup, but that is not ideal for most of our users.
I had written about Liquid Mode for Adobe API in September and would like to know if Adobe has plans to bring the liquid mode to Adobe Embedded API as the current embedded API is not responsive for other devices. Also, would it be possible to let me know if Adobe Embedded API have an impact on SEO?
I'm trying to extract data from a PDF using Extract PDF API. I got authorisation, submission and polling working fine. However, polling returns a broken file with a JSON in the midst of it. I'm not sure how to get rid of the broken parts and just return a JSON with the text from the PDF. Has anyone faced an issue like that?Unfortunately, I can't attach the real file because the forum won't let me.
Hi all, I'm hoping someone can help me here. I'm trying to automate a process that involves taking the output from an Illustrator script and using it fill a word template using Document Cloud. Does anyone have experience making a call to the Document Cloud API from an Illustrator script (I am currently scripting using Javascript)? What am I trying to do: Step 1 – Use an Illustrator script to output artboards as jpegsStep 2 - Insert those jpegs into a Word templateStep 3 - Output filled template as PDF to same location as jpegs so it can be zipped with the Illustrator file Any suggestions/pointers are hugely aprreciated.
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.