Unlock the full value of DC Web with our global community.
Recently active
The following code works in a controller when I run it locally in a blazor server application.Once I deploy the controller to a server that either uses anonymous or windows authentication an exception is thrown.here is the code:var pdfDocument = Directory.GetCurrentDirectory() + @"\WorkingDocuments\test.pdf";Credentials credentials = Credentials.ServicePrincipalCredentialsBuilder().WithClientId("XXXXXXXXXXXXXXXX").WithClientSecret("XXXXXXXXXXXXXXXX").Build(); Adobe.PDFServicesSDK.ExecutionContext executionContext = Adobe.PDFServicesSDK.ExecutionContext.Create(credentials);ExportPDFOperation pdfOperation = ExportPDFOperation.CreateNew(ExportPDFTargetFormat.DOCX);FileRef sourceFileRef = FileRef.CreateFromLocalFile(pdfDocument);pdfOperation.SetInput(sourceFileRef);FileRef result = pdfOperation.Execute(executionContext);The exception is as follows:System.Exception: System.FormatException: Index (zero based) must be greater than or equal to zero and less than the size of the argument l
After roughly 20 hours of testing and refactoring I think I have proven that Word To Pdf does not work with Blazor. I am running .net 7 Blazor server.I had not tried the Word To Pdf function, but for months I have had the Excel To Pdf conversion running in a production environment with no issues.Now I need to convert Word documents and it fails.This call:FileRef result = createPdfOperation.Execute(exc);goes out to lunch and never returns.Things I have tried:1. UnitTested : success2. Create a bare blazor server app and run this call : fails3. Create a separate dll to run this call (from the bare test app): fails4. Execute on new thread: fails5. Both Static and not Static class calls fail6. Stream or reading from file makes no difference
raise ValueError(name + " must not be blank")ValueError: private_key must not be blank
Is there a way we can save the data model in Adobe Document Generation Tagger
As an FYI, Adobe will be on holiday shutdown starting tomorrow and ending January 2nd. Obviously we've got folks working over that time, but support here (well support from me I guess) will be absent during that period. Have a happy holiday.
I would like to test api sdk (Java) and test it with some data which is impossible to sanitize and these files are classified as internal. So I need to know how you handle the data in your end. Do the files get deleted after the conversion or stored on your servers? Can you refer me to your terms of agreement for this please. Thanks
I am trying to install adobe pdf services sdk in python. I am getting following error. Traceback (most recent call last):File "extract_txt_from_pdf.py", line 35, in <module>from adobe.pdfservices.operation.auth.credentials import CredentialsModuleNotFoundError: No module named 'adobe'
I have thousands of files I need to OCR. I was able to create files less than 100MB and less that 100 pages.I have tested 2 files. One is 14 MB and 5 pages and works fine. One is 83 MB and 38 pages and failes. Both files were generated using the same scanner with the same settings. 2022-01-20T10:47:44.627:[INFO]: All validations successfully done. Beginning OCR operation executionException encountered while executing operation ServiceApiError: An Internal Server Error has occurred.; transactionId=vrL8tVFbahkIQJ4kMR4bRRfNd9BmUxeSat node_modules\@adobe\pdfservices-node-sdk\src\internal\api\cpf-api.js:195:20at IncomingForm.<anonymous> (node_modules\formidable\lib\incoming_form.js:107:9)at IncomingForm.emit (events.js:400:28)at IncomingForm._maybeEnd (node_modules\formidable\lib\incoming_form.js:557:8)at JSONParser.parser.onEnd (node_modules\formidable\lib\incoming_form.js:532:10)at JSONParser.end (node_modules\formidable\lib\json_parser.js:29:8)at IncomingMessage.<anonymous&
Expected BehaviourCreating pdf from jpeg and png is successful and hence it should be successful for tif as well.Actual BehaviourIts failing with error "The input file appears to be corrupted and cannot be processed"Reproduce Scenario (including but not limited to)const executionContext = PDFServicesSdk.ExecutionContext.create(credentials), CreatePDF = PDFServicesSdk.CreatePDF, createPdfOperation = CreatePDF.Operation.createNew(), // Set operation input from a source file. input = PDFServicesSdk.FileRef.createFromLocalFile("C:\\Users\\harsh\\Downloads\\adobe\\adobe-dc-pdf-services-sdk-node\\resources\\AUA Form-03272018-21902-1.tif", CreatePDF.SupportedSourceFormat.tif); createPdfOperation.setInput(input); Steps to ReproduceAs abovePlatform and VersionWindows. node.jsSample Code that illustrates the problemMentioned aboveLogs taken while reproducing problemnode .\create-pdf-from-docx.jsDebugger attached.No logging configuration. Using default config2023-12-14T17:02:25.014:[INFO
When I open the PDF using the API, I get the following error:Error: t5::corrupt_data, at wasm_acrobat_we.wasm at wasm_acrobat_we.wasm at wasm_acrobat_we.wasm at wasm_acrobat_we.wasm at wasm_acrobat_we.wasm at wasm_acrobat_we.wasm at wasm_acrobat_we.wasm at wasm_acrobat_we.wasm at wasm_acrobat_we.wasm at wasm_acrobat_we.wasm at wasm_acrobat_we.wasm at Module._eventHandler (wasm_acrobat_we.js:1:80074) at ccall (wasm_acrobat_we.js:1:76877) at wasm_acrobat_we.js:1:77182 at we (acrobatProxy_we.js:2:82766) at Pe (acrobatProxy_we.js:2:86581) at De (acrobatProxy_we.js:2:89349) at Ce (acrobatProxy_we.js:2:89033) at acrobatProxy_we.js:2:89311
We as a company are trying to get an enterprise license but no one is responding for more than a week now. I really don't get it. Can someone get in contact with me. We need access ASAP.
As per checking measuring Tool not available in PDF Embed API, Is there any way to use measuring tool in PDF Embed API
Hello,I'm developing an app with node.js and PDF Services SDK.The app converts a docx file to a PDF file using PDF Services SDK.When creating the PDF file, I need to set the "Navigation tab" property to the "Bookmarks Panel and Page" from the "Initial view" options. But, I couldn't find any API related to it in the help page:https://opensource.adobe.com/PDFServices.NET.SDK.Samples/apidocs/latest/api/Adobe.PDFServicesSDK.options.createpdf.word.CreatePDFFromWordOptions.Builder.html If PDF Services dosen't support the feature, I'd like to know if Adobe will support it later. Any guidance would be great, thanks!
Adobe states:PDF Embed API also supports pinch zoom gesture and users can zoom-in to magnify the PDF content for better reading experience. This functionality is supported with all embed modes. However it doesn't work in in-line embed mode on mobile browser.Any advice? Thanks,Richard
Hello, Adobe Community,I'm experiencing an issue when trying to perform a file upload to Adobe's service using Amazon S3. I'm receiving a "403 Access Denied: No AWSAccessKey was presented" error. I have checked to ensure all the authentication parameters are correctly included in the request. However, the error persists, suggesting that an AWS access key is missing or there is an issue with the request's signature.I would greatly appreciate any guidance or support to resolve this issue.Thank you!
Hi, when I use the Node SDK to convert PDF to DOCX it applies OCR on the document, is there any way to disable OCR, or to specify the language in the conversion?
Hi, I am using Adobe Pdf services free trial in my Power Automate. The flow is supposed to convert a html file of 7MB size to pdf, but it is stuck at the conversion step, which has been running for 4 minutes. Is the 7MB html file suppose to take this much time for conversion?
I noticed last spring that there was a new option in Preferences to use "cloud-based autotagging for accessibility." https://helpx.adobe.com/ca/acrobat/using/cloud-auto-tagging-accessibility-pdfs.html Is this the same feature as the Adobe Sensie AI AutoTag described here, or are they different? https://news.adobe.com/news/news-details/2023/Media-Alert-Adobe-Scales-PDF-Accessibility-With-Adobe-Sensei-AI/default.aspx Thanks Karin
Hi, I want to display a pdf using the WebRemoteControl of Reaper. Inside Reaper I have to start the webserver, than I can access the site via 192.168.x.y:8080When put the adobe api into the html file, I can select a pdf file and it loads, but after one second the whole reader dissapears.When I open the html file directly (open via the browsers open-dialog, not ip+port), it works fine.This happen with different browsers (Firefox, Edge, Chrome) on Windows 10, 64 bit Can anyone help me how to get this fixed?Is it a problem of the Reaper-WebRC, or of adobe api Below you find a minimal example of the used html-code. Thanks a lot for any help <!doctype html> <html> <head> <script src="main.js"></script> <script src="index.js"></script> <script type="text/javascript"> function wwr_onreply(results) { var ar = results.split("\n"); for (var i=0; i < ar.length ; i++) { var tok = ar[i].split("\t");
Attempting to select a simple piece of text, throws hundreds of javascript exceptions in the browser and does not enable the toolbar even upon waiting for it. Uncaught TypeError: Cannot read properties of undefined (reading 'deviceLeft')at CommentsOverlay.onSelectionEnd (CommentsOverlay.jsx:420:37)at SignalDispatcher.js:25:9at Array.forEach (<anonymous>)at SignalDispatcher.trigger (SignalDispatcher.js:24:17)at endSelection (selectionHandler.js:143:3)at TextManager.selectionHandler (selectionHandler.js:63:14)at TextManager._onSelectionEnd (TextManager.js:606:10)at TextManager.endSelection (TextManager.js:622:12)at TextManager.handleMouseUp (TextManager.js:640:10)at PageContentHandler.invokeTextManagerMethod (index.js:100:47) See attached video
hello i am Using Extract API to analyze my PDF Files. I have a Question About this APIs are using OCR to Extract PDF Text?? Because in my workflow it's really important about Acuraacy But i already Checked in Demo. Some PDF Couldn't recognize Text . it goes like this Text:"□H�Q!i " So if this APIs are using OCR i have to find another way to extract PDF Text.
No matter what the annotation manager settings are, if the PDF is protected (comments and annotations disabled), the annotation manager settings are not respected. It will show the comments panel and toolbar even though the pdf is protected. This is because the exception is thrown before the annotationManager setConfig call, and there is really nothing i can do about it.
Hello, We have implemented the PDF embed API into our site for users to view PDF documents which are stored in AWS S3. But we have a few files which generate the error: An error was encountered while processing the file. Some feature might not work. I have checked the pdf files in question, but they appear to be fine. I can also open them in Acrobat reader and other pdf readers. I have uploaded one of the files into the demo website and it also shows this error. Is there anything that can be done to show these pdf files correctly in the viewer? Unfortunately, I cannot share the files publicly, as the PDF documents in question contain confidential information. If I edit the PDF to mask the confidential information, the edited file is shown correctly... sooThanks!
When I copy the selected text, the spaces between the words are discarded and all the letters are joined together,like this: Therecentemergenceofnoveldata-independentacquisition techniques(DIA),suchasSWATH,11MSe,12pSMART,13and WiSIM,13presentsachallengetoinvestigatorstryingtodesign optimalacquisitionstrategiesandprocessingalgorithms
When using AddAnnotations API, the Undo icon appears.. but I'm loading annotations in from my servers database... https://community.adobe.com/t5/acrobat-services-api-discussions/comments-and-markup-annotations-undo-redo-gui-changes-and-names/m-p/13576455 2. Undo/RedoWhen I save the comments my server and reload them on a different computer, the "undo/redo" buttons appear immediately, and I can undo all the previous comments added from other users. Is there any way of blocking this? Why are you able to undo annotations that werent inserted from the user? The undo button appearing is incredibly confusing for users who never added any annotations. What is there for them to undo?? Why is there two methods for AddAnnotations and AddAnnotationsInPdf also?
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.