Unlock the power of Acrobat SDK through our community.
Recently active
Hello everyone,I hope someone can help me here. I have Adobe SDK PDF View embedded on my web application to view and mark up PDF files.Everything was working fine until yesterday. Today, when anyone tries to open PDF files that are saved on the web server, they can't view the PDF file. The console log in the browser is showing the following error message. Uncaught TypeError: Cannot redefine property: safeSessionStorageat Object.defineProperty (<anonymous>)at initializeStorage (StorageHelper.js:45:10)at +a/+ (Providers.ts:146:1)at __webpack_require__ (bootstrap:19:32)at Object.haRa (index.ts:30:1)at __webpack_require__ (bootstrap:19:32)at Object.EbfC (AdobeDCViewBase.js:13:15)at __webpack_require__ (bootstrap:19:32)at ViewSDKInterface.js:2:1108812at ViewSDKInterface.js:2:1189185 Please help. Thank you in advance.
in my adobe acrobat plugin, i am using the AvIconCreateFromPDf to load the icons as pdf files. now i want to load the icons as images like png or jpeg. is there a alternative to AvIconCreateFromPDf that would work for images. Apparently there is a method called AvIconCreateFromFile. I am not sure is this is a valid method that sdk provides.it is not working for me.
I am using Acrobat c++ sdk to develop my plugin. I need to create a ToolTip for an annotation. What I found is , Probably tooltip is not present as of now for an annotation. Although for ToolButton it is present.To Implement , I ceated another annotation just beside my actual annotation and populated my data in that.Binded two functions : MouseEnter and MouseExit to create and destroy the newly tool tip created annotation.What I am trying is to run a thread, detach it, and in that thread , delele the annotation after two seconds. void RemoveToolTipAnnot(PDAnnot annot) { AVDoc doc = AVAppGetActiveDoc(); // My program crashes here stating cannot access this . PDDoc pdDoc = AVDocGetPDDoc(doc); int pages = PDDocGetNumPages(pdDoc); bool found = false; for (int i = 0; i < pages; i++) { PDPage page = PDDocAcquirePage(pdDoc, i); .......... .......... and this is main calling fn. pdPageDel = AVPageViewGetPage(pageView); ASFixedRect r
方法が不明のためお教えいただきたいです。注釈オブジェクトがandoリストに登録されない方法と、andoリストのコンテンツの削除方法を教えてほしいです。
Hello, I have downloaded the 2023 version of the SDK from here:https://developer.adobe.com/console/1915499/servicesandapis I would like to develope a PlugIn for Mac and Windows. From the SDK it is not clear which version of the compilers to use, xcode and VS. Another consideration is, can you create a FAT PlugIn for Macintosh, runs on Intel and M processors? Thank you for your help. P.
I’m trying to create a plugin in Adobe. I’ve written the code in Visual Studio, and it compiles without any errors. I copied the DLL file to the plugins folder and renamed the DLL to an API. I also closed Adobe and reopened it with administrator rights, but I still can’t see my plugin in Adobe. When I go to Help → Generate System Report, I can see my plugin listed there, but it’s not visible within Adobe itself. Please let me know when you’re available so we can connect and take a look together.
I am trying to use the following link to generate credentials so that I can use the PDF services API:https://acrobatservices.adobe.com/dc-integration-creation-app-cdn/main.html?api=pdf-services-apiEven after refreshing the page, I am continuing to see a "An unexpected error has occurred" message which I have provided a screenshot of below. Are there any server outages happening right now within Adobe Acrobat Services?
I am experimenting with the PDF Services API but get stuck on 'Creating a Job'.Basically, I am following this Getting StartedAll (seems) to go well until I have to create the job.What I've done so far:1. Get access token```curl --location 'https://pdf-services.adobe.io/token' \--header 'Content-Type: application/x-www-form-urlencoded' \--data-urlencode 'client_id={{Super Secret Client ID}}' \--data-urlencode 'client_secret={{Even More Secret Client Secret}}'```Since I get a valid response with a dictionary, I get it's ok```{"access_token":"hash1234accesshash", "token_type":"bearer","expires_in":86399}```2. Get the pre-signed upload uri```curl --location --request POST 'https://pdf-services.adobe.io/assets' \--header 'X-API-Key: {{Placeholder for client_id}}' \--header 'Authorization: Bearer {{Placeholder for token}}' \--header 'Content-Type: application/json' \--data-raw '{"mediaType": "application/pdf"}'```And now I get an upload URI```curl --location -g --request PUT '<insert uplo
Hello, I'm a developer for a life insurance company. We use Aspose PDF for .net to programmatically fill fields on a pdf with rates for our annuity products (link to Aspose here - https://products.aspose.com/pdf/net/). This allows us to fill rate sheets and client rate fliers with the most up to date rates when users access these pdfs. Here is an example of our of our dynamically filled rate sheets:https://mybusiness.massmutualascend.com/home/dynamic-rates-pages/american-landmark-3-client-rate-flier However, if users have the Adobe Acrobat chrome extension installed (https://chromewebstore.google.com/detail/adobe-acrobat-pdf-edit-co/efaidnbmnnnibpcajpcglclefindmkaj), intermittently the form will load without the fields filled and still editable. Expected behavior would be the fields have been filled with rates and then "flattened" which makes the fields no longer editable, and instead places the content directly on the pdf. This issue does not occur when the chrome exten
I have vb.net code that was adding a Text Box to my Adobe forms. It worked prior to the new version of adobe. I was using the following code:Public Sub addAnnotation(commentText As String, PageNum As String, rect() As Object, editable As Boolean)Dim annot As ObjectDim props As Objectannot = jso.addAnnot()props = annot.getPropsprops.type = "FreeText"props.page = PageNumprops.contents = commentTextprops.strokeColor = jso.Color.blackprops.Rect = rectprops.name = commentTextprops.readonly = editableannot.setProps(props)End Sub After going to the newer version (I cannot go back to the older version of Adobe due to company policy) it does nothing when I run this. I made a small change and have it assign the type of FreeText first which then gives me a rectangle on the Form, but the text doesn't display in it. Public Sub addAnnotation(commentText As String, PageNum As String, rect() As Object, editable As Boolean)Dim annot As ObjectDim props As Objectannot = jso.ad
I am working on plugin development using Adobe Acrobat SDK (C++) . if (bind(serverSocket, (struct sockaddr*)&serverAddr, sizeof(serverAddr)) == SOCKET_ERROR) { return false; } // Get the assigned port int addrLen = sizeof(serverAddr); if (getsockname(serverSocket, (struct sockaddr*)&serverAddr, &addrLen) == SOCKET_ERROR) { return false; } DWORD assignedPort = ntohs(serverAddr.sin_port); std::string po = "Assigned Port: " + std::to_string(assignedPort); // Update the redirectURI with the assigned port config.redirectURI = "http://localhost:" + std::to_string(assignedPort); return true;and then when I try to connect,I get Unable to establish SSL connection when my Protected mode is enabled and Run in app container is checked. If I uncheck Run In app container it works perfectly fine. I have made sure that all registries and folders which are required are whitelisted.NOTE: This happens only on Virtual Dest
I am working on a plugin which runs on Adobe Acrobat.1. I need to copy a custom annotation ( Has image ) and should be able to paste in any page or any other opened pdf document page. If I do ctrl +c and ctrl +v nothing happens. Checked the flags too it returns 4 which states "PrintAnnot" so the annot is not locked. Not sure if any thing more needs to be added in that annot. Because PDAnnotCanCopy returns false. As of now, Manually creating the annotation by copying its appearance and rectangle. I have my code ready but how can I catch (Control + c and Control + v) events?Code: AVAppRegisterForPageViewKeyDown(MyKeyDownHandler,NULL); .... .... ASBool TTCPlugIn::MyKeyDownHandler(AVPageView pageView, AVKeyCode key, AVFlagBits16 modifiers, void* data) { if ((modifiers & AV_CONTROL) && ((key == 'C')||(key=='c')) ) { // Handle Ctrl+C AVAlertNote("Ctrl+C was pressed!"); return true; // Event handled } return false; } This code works fine if I pr
Is there a way to add table summaries to a PDF programmatically? I have thousands of tables that need them and adding them manually one at a time is not feasible.
Hello. I am experiencing apparently "random" crashes in a program, where the crash dump logs (analyed with WindDbg) indicate an memory access violation occuring in AcroPDF.dll. The last four function calls in the call stack are always identical: WARNING: Stack unwind information not available. Following frames may be wrong.0019ec4c 760cd2d3 003604ec 0000001a 00000014 AcroPDF+0x11c900019ec4c 760ad30a 66211c90 003604ec 0000001a user32!_InternalCallWinProc+0x2b0019ed34 760acf30 66211c90 00000000 0000001a user32!UserCallWinProcCheckWow+0x30a0019ed94 760b9f1a 01798190 00000000 0000001a user32!DispatchClientMessage+0xf0 Exception code is: c0000005 (Access violation) Typical values for ExceptionAddress and Failure Bucket are:Exception address: 66211c90 (AcroPDF+0x00011c90)Failure bucket: BAD_INSTRUCTION_PTR_c0000005_AcroPDF.dll!Unloaded What can I do to find the c
Hi,About half an hour ago, while calling the Adobe PDF Services API, I started receiving the following error during the HTML-to-PDF conversion process: 2025-04-30T08:41:44.357Z ERROR [...] Failure response code 400 encountered from backend com.adobe.pdfservices.operation.exception.ServiceApiException: description='Invalid job id present in path param'; requestTrackingId='38647953-a2ca-48a2-8e46-8d306dd55c05'; statusCode=400; errorCode=INVALID_JOB_ID The logs indicate that the asset upload and job submission completed successfully, but the error occurs when retrieving the job result.Could you please confirm if there are any known issues on the server side or changes in the API that might explain this?Thanks in advance
Hi everyone,I’m encountering a crash in Acrobat Pro DC (64-bit, version 25.1.20474.0) after closing the application when my custom plugin is loaded. The crash appears only after Acrobat exits, and I suspect it's related to improper plugin cleanup or delayed UI callbacks.Crash Details (Event Viewer):Faulting application name: Acrobat.exeFaulting module name: ntdll.dllException code: 0xc0000409 (Stack buffer overrun)Fault offset: 0x00000000000a5db0Faulting process id: 0x593CFaulting module path: C:\WINDOWS\SYSTEM32\ntdll.dllApplication path: C:\Program Files\Adobe\Acrobat DC\Acrobat\Acrobat.exe Setup:Plugin tech: C++, Acrobat SDK, wxWidgets for UI (wxDialog, wxMessageBox, etc.)Event handling: Using BEGIN_EVENT_TABLE and EVT_BUTTON macrosPlugin registration: Done via PISetupSDK, and unloading via PIUnloadSDKDebug tools used: Application Verifier, Event ViewerObservations:Crash happens only on Acrobat exit, not during active plugin usageApplication Verifier flags show “Invalid call gu
I have been tasked with converting the rendering of an output pdf document from the default (color) to instead generate pdfs in Black & White / Greyscale. We are seeing a couple issues on our end with some of the Adobe code when using the implementation in an OSGI AEM Forms context on version 6.5.18 and wanted to reach out to the community to see if anyone had been able to get either of these methods functioning to generate black and white output. //initial document creation existing code example// (templateDocument is an xdp, inXml is an xml used to fill in the template)PDFOutputOptions pdfOutputOptions = new PDFOutputOptions();pdfOutputOptions.setAcrobatVersion(AcrobatVersion.Acrobat_10);final Document doc = outputService.generatePDFOutput(templateDocument, inXml, pdfOutputOptions);File outputPdfTemp = new File("C:\\output\\output-pdf-temp.pdf");doc.copyToFile(outputPdfTemp);Document outputPdfTempDoc = new Document(Files.newInputStream(outputPdfTemp.toPath()));//try convert
Hi there,Please can someone help me.I have a method of reading doc info using this from the API reference... for (var i in this.info) console.println(i + ": "+ this.info[i]); What I'd like to do is find out if a pdf is tagged or not however, as yet I've not found the correct property.I can see 'Tagged PDF:' under Document Property, is this property available in JS ?Thanks in advance.
We will change Acrobat Pro 2020 to Acrobat Pro latest version.To use the latest version, the user to whom the license is assigned must log in and be authenticated.However, when users use Acrobat API need not log in and be authenticated.We are using Acrobat API to get transparent text, optimize files, and merge multiple files.We got all 2,3,4 pattern. we does not try 1 pattern.1. User is not authenticated, API not available.2. User is not authenticated, API available.3. User is authenticated, API not available.4. User is authenticated, API available.Why does this phenomenon occur?Please let us know what are the authentication conditions for using the API?
Since this week clients are reporting a problem opening a PDF file located on a OneDrive or SharePoint locationExample command-line Open action: "C:\Program Files\Adobe\Acrobat DC\Acrobat\Acrobat.exe" "https://tenantname.sharepoint.com/sites/475013/42232313100/Documents/0001%20Document%205%20%5BV0.11%5D%20vs%200001%20Document%205%20%5BV0.12%5D_ocr.pdf" See attached picture for how it used to work. Now we get an MSAL token error. “Sorry, but we’re having trouble signing you in.AADSTS50000: There was an error issuing a token or an issue with our sign-in service.”
Hello, I'm trying to send some information related to a pdf to an external API using a POST request, but I'm getting an error "A network connection could not be created". I can run the post request from Postman without any issues. Can you please let me know what I'm doing wrong? Thanks Code: function test(){try { var doc = this; if (!doc) {throw new Error('No active document found.'); } var docName = doc.documentFileName; app.beginPriv(); const tempFilePath = "/c/temp/tempDocument.pdf";doc.saveAs(tempFilePath);var docContent = util.readFileIntoStream(tempFilePath); app.endPriv(); if (!docContent) {throw new Error('Failed to retrieve document content as a stream.'); } var base64Stream = util.stringFromStream(docContent
Hi community, I'm trying to convert a PDF to PDF/A format using the PDFServicesSDK in C#, is there a way to do it? Thanks!
Hi, I have requirement to render PDF from XDP files. We are using for service API (com.adobe.fd.forms.api.FormsService) for redering the PDF. For securing the rendered PDF, I am using docAssurance service (com.adobe.fd.docassurance.client.api.DocAssuranceService). I am able to configure some of the secutiry settings by using Password Security. I need help to understand how to enable "Content copying for accessibility" but disabling "Content copying".I am using com.adobe.fd.encryption.client.PasswordEncryptionPermission for configuring the security. PasswordEncryptionPermission (AEM Forms API) (adobe.com) Please let me know how to enable content copying for accessibility programmatically using form Service ? Regards,Smrithi
Hey Hivemind. Working with Windows 11 Powershell. When I scan oversized files (9x12 or 11x17) and need to get them to 8.5 x 11 - i have to manually open them all, print to PDF, select shrink oversized pages, etc. Very time consuming.I'd like to set up a PowerShell script to read all the .pdf files in a folder and process them all.Normally with products, you have to load a module/library. I was looking to use AcrobatDC.AcrobatDCCom.App. (looks like that should have been used for older versions, not CC.But it's erroring.Any thoughts on how to do this?Follow up: When I do save the PDF, the print is very gray compared to the original black/white that was scanned. I don't recall this being an issue before.
public void CopyToClipboard() { try { Size s = tape.GetPrintSize(0); if ((s.Width > 0) && (s.Height > 0)) { const int margin = 20; s.Width += margin + margin; s.Height += margin + margin; Bitmap bmp = new Bitmap(s.Width, s.Height); Graphics gcs = Graphics.FromImage(bmp); gcs.FillRectangle(Brushes.White, 0, 0, s.Width, s.Height); gcs.DrawRectangle(Pens.Black, 0, 0, s.Width - 1, s.Height - 1); tape.Print(gcs, new Point(margin, margin), 0); Clipboard.SetDataObject(bmp); } } catch (Exception) { DisplayError("Error saving image to clipboard"); } } Issue while i am trying to copy a bmp object to clipboard from a windows form ,my code works perfectly fine in non-protected mode ,but fails in protected mode.
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.