Unlock the full value of DC Web with our global community.
Recently active
Hi, I'm attempting to generate highlight annotations with the annotations api, but I'm getting this error: code: "INVALID_ANNOTATION"message: "Invalid value of Annotations [\"Annotation id 3 is not having valid index. \",\"Annotation id 4 is not having valid index. \"] How do I generate a valid identifier for an annotation? Thank you!
Hallo liebes Froum.Gibt es Erfahrungswerte bezüglich Performance bei der PDF Embed API ob ich eine URL angebe oder mit File Promises arbeite ? adobeDCView.previewFile({ content: {promise: filePromise}, metaData: { fileName: pdfFile.name }});oder adobeDCView.previewFile( { content: { location: { url: "https://documentcloud.adobe.com/view-sdk-demo/PDFs/Boea Brochure.pdf" } }, metaData: { fileName: "Bodea Brochure.pdf" } }); } Vielen Dank für eine Info.Gruß
Is there a way to listen for a load complete on the embed api? How do I do this?
I have some predefined annotations that I'm drawing on the PDF using the addAnnotationsInPDF function.Users are not allowed to make their own annotations. Now I want to build a feature to get feedback on annotations drawn. I'm using Adobe embed API and showing PDF in Sized Container mode.Please help me with what thing I can use to get this feedback.
I want to access/get the annotations upon the save button click. As from the code in adobe pdf embed api sample here on github, I am able to access/ console.log() the annotations on document load but in case a user adds more annotations to the loaded document and clicks the save button, I need to access those annotations and save it somewhere in external json or database. Here is my react code useEffect(() => { const viewSDKClient = new ViewSDKClient(); viewSDKClient.ready().then(() => { /* Invoke file preview */ /* By default the embed mode will be Full Window */ const previewFilePromise = viewSDKClient.previewFile("pdf-div", { enableAnnotationAPIs: true, includePDFAnnotations: true }, fileUrl); previewFilePromise .then((adobeViewer) => { adobeViewer.getAnnotationManager() .then(annotationManager => { annotationManager.getAnnotations() .then(result => { console.log("GET all annotations", r
Hello all! I've constructed a Flow that takes fields from a form in PowerApps including a signature and places them within a HTML Template with inline CSS. The flow then creates a folder on sharepoint, uses the HTML to generate an index.html file within that folder and convert the folder to a ZIP file as requisite for Adobe to convert the HTML to a PDF but I keep getting a 502 BadGateway error. I have tried:Copying and pasting the action from a PowerAutomate TemplateRecreating the flow from scratchRe-authenticating with Adobe ServicesRunning the content with both the application/x-zip-compressed and application/zip MIME typesEmbedding the signature as bas64 and saving the image to sharepoint so that it goes into the generated ZIP file.Running the HTML file with no dynamic contentSaving the generated HTML and images, Zipping it manually, putting that file onto Sharepoint and running it manually with no dynamic content at all going into the Adobe connector. Still the same
I'm stuck in a situation i want to prevent user from copying text. Can i prevent user from right click and copy text using ctrl + c. I know there must be a solutoin to that but i didn;t find anything yet. i was using this : document.addEventListener('keyup', event => console.log(event.code == "c"));document.addEventListener('contextmenu', event => event.preventDefault());but it didn't work as i guess pdf is rendered inside the iframe .
Hi, there! Our team got some error by using Adobe PDF API: "ExceptionMessage":"Error response received for the request: The Gateway servers are up, but the request couldn't be serviced due to some failure within our stack. Try again later.Is there server problem on Adobe side? If so, how long we have to wait? If there could be any other sort of problems, let us know plsthanks
I have a senario where if a user has a membership then only he can see all the page of pdf otherwise he can only view first 3 pages of pdf. is there any way to render only limited no. of pages to the user using adobe embed api.
Greetings! When you first signed up to get credentials for PDF Services, or Embed, etc, you had the opportunity to sign up for email communications. We realize a lot of people disable that and wanted to share that we have a new form up that lets you specifically subscribe to our developer newsletter: https://www.adobe.com/subscription/document-services-developer-newsletter.html This is an *awesome* way to keep up to date with what we're doing, in terms of new articles, presentations, APIs and so forth.
i want to save the page user last visited so he could resume it from the same page when he came again, for that i want to call a function on every change of page. i there any api for that
Is There any way to disable text copy in adobe view sdk, I have a website in which i provide university study materail to students but the problem is coming that many other website copy the content of my uploaded notes and upload on there website so is there any way by which i can disable copying text option so my notes content remain safe. please tell if there is a way.
Hi, I am in the middle of creating a flow to convert static HTML to PDF. I have a flow that currently gets data from powerapps and puts it into a table, it then creates the .html file in sharepoint, then i want to convert this to PDF. The issue im having is with the .zip aspect of this conversion. Creating the HTML file is fine, then how do i do the zip archive of this created file to then convert to PDF? Any help would be greatly appreciated, ive added attachments of how my flow currently looks. Thank you, Devin
I have a single-page PDF file with a page size of 11 x 17. It was created from a JPEG image with a resolution of 7649 x 4950 pixels (450 dpi). I configured Acrobat Pro to use maximum image quality when creating the PDF and it produced a 37 MB file. When I view the PDF zoomed in using Acrobat Pro, I judge the image to be the same resolution as the JPEG and even if I were wrong about that, the quality of the PDF image exceeds my requirement. However when I open this PDF in the embedded viewer, the maximum zoom is 4.16 and when fully zoomed in the image is only 5092 x 3310 and readability is impaired. I queried the image size using the Firefox debugger and the API's scrolling events report the same canvas size. When I create a PDF from a smaller 8.5 x 11 image at the same 450 dpi resolution, the width of the canvas is only slightly reduced, 94%, versus the 66% reduced width of the 11 x 17. Is there an upper limit for
안녕하세요! Adobe Acrojbat의 한글 OCR기능이 좋다는 이야길 듣고 문의 드립니다. 1. API를 사용하려면 어떤 방식으로 사용가능할까요?ex) 라이센스를 구매하여 파이썬에서 코드로 이용이 가능할까요?2. 초당 몇프레임 정도가 나오고, 기준이 되는 이미지의 해상도를 알수 있을까요?3. 연간이나 월 금액이 14.99달러라는 글을 보았습니다. 한국에서도 이 기준이 맞을까요? 연간 구매하여 더 저렴하게 이용이 가능할까요? 회신 기다리겠습니다! 감사합니다.
We had requirement of saving the annotated pdf to server instead of saving to local machine, currently using Angular framework. Is there any Api for saving the pdf to server, if any please let us know.
After copying the code from Postman I can sucessfully gertate (in PHP using cURL) my tokens. I the POLL the returend link in javascript and sucessfully gernerate a respone. Here is part of the Polling code I use in javescript to save the response. var xhr = new XMLHttpRequest(); xhr.open("GET", '<URL FROM HEADER>', true); xhr.responseType = "blob"; xhr.setRequestHeader('Authorization', accTok); xhr.setRequestHeader('x-api-key', '<KEY>'); xhr.onload = function(event) { if(this.status == 200) { // Create a new Blob object using the response data of the onload object var blob = new Blob([this.response], {type: 'application/octetstream'}); //Create a link element, hide it, direct it towards the blob, and then 'click' it programatically let a = document.createElement("a"); a.style = "display: none"; document.body.appendChild(a); //Create a DOMString representing the blob and point the link element towards it
Seems like this may be the next step. I'd love to see it soon!
Hi,We are getting the below console errors while using the PDF Embed API in IE11 and Firefox,IE11 - Unhandled promise rejection ReferenceError: 'TextDecoder' is undefined Firefox - Content Security Policy: The page’s settings blocked the loading of a resource at inline (“script-src”).These errors can be seen on adobe's demo page too- https://documentcloud.adobe.com/view-sdk-demo/index.html#/view/FULL_WINDOW/Bodea%20Brochure.pdf Please suggest if there is a fix for this.Thanks in advance!
Hi all, we have a cloud based NodeJS application and we are ingesting insurance schedules (policies) and getting the plain text out using PDFJS and then using Natural Language Understanding to perform entity extraction (named entity recogition) etc. Is there an Adobe or other cloud or on prem solution that could extract the plain text from a PDF but keep its structure somewhat exactly the way the Adobe Acrobat Pro DC allows for when you do File -> Save As -> Plain Text that we could leverage as the current solution we are using loses all structure and we just get long lines / blob of text. If we could mantain the structure somewhat we believe it will provide additional "metadata" to the natural language understanding...at least that is what we are hoping for. I have attached an example image to explain... Thank youAlessandro
I am using the PDF Embed API to add a PDF viewer to my popup dialog box.For some reason, the pageControl doesn't scroll the page when I click up/down button. So, I tried hiding the pageControl using the following configuration, but it doesn't seem to work const viewerConfig = { showPageControls: false, embedMode: "IN_LINE" }; below is my code snippetvar mainScript = document.createElement("script"); mainScript.setAttribute('src', 'https://documentcloud.adobe.com/view-sdk/main.js' ); var pdfviewerScript = document.createElement("script"); pdfviewerScript.setAttribute('src','pdfviewer.js'); dialog.content.appendChild(mainScript); dialog.content.appendChild(pdfviewerScript); dialog.show(); pdfviewer.js(function (document, $){ const viewerConfig = { showPageControls: false, embedMode: "IN_LINE" }; document.addEventListener("adobe_dc_view_sdk.ready", function() { var filePath = document.getElementById("pdf-timeline-s
Hi there, I have the following event options configured for my listener:const eventOptions = { enableFilePreviewEvents: true, enableAnnotationEvents: true, listenOn: [ AdobeDC.View.Enum.FilePreviewEvents.PREVIEW_SELECTION_END, AdobeDC.View.Enum.AnnotationEvents.ANNOTATION_ADDED ] }My issue is that whenever I add the PREVIEW_SELECTION_END to the list of events, the small pop-up annotation tools bar next to my cursor no longer shows up, and when I click the highlight button on the annotations tools bar at the top of the page, it doesn't highlight the selected text. For context, what I am trying to do is to capture the selected text, and then do something with that captured text if the user highlights it immediately after. As far as I can tell, the only way to get the value of the selected text is using the PREVIEW_SELECTION_END event. When I remove PREVIEW_SELECTION_END from my eventOptions, annotations work as expected, but I can't seem t
We've been exploring the creation of PDF files from Excel files using the Adobe PDF Services API. Obviously converting from XLS->PDF can be tricky in terms of the printable area, orientation, etc. We managed to get the basics working, but in one example we have, the Excel file is converted to a PDF but the last column is split to a second page. I can't find much info on it in terms of any options that might be available when calling the API. I've looked through the SDK JavaDocs and the "Create PDF" HowTo page. For example, I can see that for HTML->PDF you can use PageLayout and SetPageSize, but I don't see this available for XLS->PDF. Any suggestions? Are there options that can be applied or are we out of luck here?
Hi there,we want to use the Adobe Document Genaration API to cerate MS-Word-files. Unfortunately the listing for international subscriptions is currently limited to certain countries only, and our country (Switzerland) is not included in this list (https://developer.adobe.com/document-services/docs/overview/pdf-services-api/awsmarketplace/). We tried to contact sales with the standard-form, but didn't get any answer. Does anyone know what to do in such a case? Are the services limited to the countries listed or just the subscription / billing adress? Best regards and thanks for any inputs!Patrick
Hi Team,I'm trying to use the Adobe PDF Services API to convert pdf to word using the Export end point.On calling the poll method I'm getting the below response.{ "cpf:inputs": { "params": { "cpf:inline": { "targetFormat": "docx" } }, "documentIn": { "cpf:location": "InputFile", "dc:format": "application/pdf" } }, "cpf:engine":
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.