『アドビコミュニティフォーラム』に質問/トピックを投稿する方法
Questions
新着順
Hi all,I'd like to preface this post by saying I am not a developer, just someone who likes to use tools available to make work asier. I've created multiple Power Automate flows using the Acrobat API connector, and am now getting a lot of emaile about creating new credentials with OAuth2.0 or my flows will break (albeit not until Jan 2025). I've gotten as far as creating the OAuth credential, but not sure how to complete the migration away from the old JWT. When I click on the OAuth Server-to-server credential, I see the following fields that I can then copy and paste into the Adobe PDF Services Power Automate connector: My question is this: What do I put in the Base64 encoded private key? In the JWT credentials, there was an option to generate a public/private access key, that downloaded a zip file containing the private key that I could then paste in there. I've clicked on the OAuth generate access token and entered that into the box,
Is it possible to export to PNG with specific settings like DPI and color? I need to export it in specific DPI and black and white. Similir as it can be done in Adobe Acrobat.I am trying the API to Export images but the quality of the image is not good.Thanks.
Hi everyone, I am able to convert a URL to PDF using the rest API with JWT credentials, but the same operation doesn’t succeed when switching to OAuth credentials. In the latter case, the PDF output (attached) only contains an error message followed by an error code. In both approaches, the same http request is sent. Here is the (python) code for the OAuth approach: # Load credentials PDF_SERVICES_CLIENT_ID = os.getenv('PDF_SERVICES_CLIENT_ID') PDF_SERVICES_CLIENT_SECRET = os.getenv('PDF_SERVICES_CLIENT_SECRET') # Obtain access token url_access_token = "https://ims-na1.adobelogin.com/ims/token/v3" headers = {'Content-Type': 'application/x-www-form-urlencoded'} payload = f'grant_type=client_credentials&client_id={PDF_SERVICES_CLIENT_ID}&client_secret={PDF_SERVICES_CLIENT_SECRET}&scope=AdobeID,openid,read_organizations,additional_info.projectedProductContext,additional_info.roles,adobeio_api,read_cli
I am looking for the best options for securing the pdfs online so only the API can call these files and finding a way to prevent the files from being downloaded when viewed I Have Pluging for another site Joomlatools Docman which can secure these files and embed in a pdf viewer but I would prefer to use the Adobe embed API one of their workarounds is to serve the files from Google Drive and link them to this system using the view only option I tried this directly in the API but it does not work. Any anyone have any thoughts on how best to achieve this
We use Adobe document services embedded within our application (within iframe) and are running into trouble when a user chooses to use browser auto fill data to complete fields within the pdf. The fields show populated in the browser, however when we call the save API the field's values are not included. If any of the fields are required the pdf won't save despite the user seeing values in all required fields. If all of the auto filled fields are not required the pdf saves but the values aren't included. I've found that if the user simply clicks in each field after they've been auto filled and without changing the value, then the values are captured as the user would expect. Using broswer dev tools the pdf field inputs have values, but the auto fill isn't triggering whatever event/action is necessary for Adobe document services to recognize it. I attempted to use javascript to mimic the user clicking into and out of each field, but because the pdf is within an iframe from a differ
I am extremely frustrated at this point. There must be an absolute gaping hole in the documentation and examples for this. I am using pdfservices-sdk version 3.5.1. I then followed this example from the ADOBE website. However, no matter what I do I get this error com.adobe.pdfservices.operation.exception.ServiceApiException: description ='index.html doesn't exist in archive.; requestId=341e7228-c0f5-4d5f-8fe2-bb1cd2a85587'; requestTrackingId='341e7228-c0f5-4d5f-8fe2-bb1cd2a85587'; statusCode=400; errorCode=MISSING_INDEX_HTML at com.adobe.pdfservices.operation.internal.api.PlatformApi.statusPoll(PlatformApi.java:115) at com.adobe.pdfservices.operation.pdfops.CreatePDFOperation.execute(CreatePDFOperation.java:209) The error is utter nonesense. I have created the most basic barebones example and it still tells me the file doesn't exist. It seems impossible. I mean the example I'm using its absolutely stripped down and matches to the T the requirements. I have a
I am trying to install the pdfservices-sdk, but it is breaking trying to build PyYaml.. see below Collecting PyYAML==6.0 Using cached PyYAML-6.0.tar.gz (124 kB) Installing build dependencies ... done Getting requirements to build wheel ... error error: subprocess-exited-with-error × Getting requirements to build wheel did not run successfully. │ exit code: 1 ╰─> [48 lines of output] running egg_info writing lib/PyYAML.egg-info/PKG-INFO writing dependency_links to lib/PyYAML.egg-info/dependency_links.txt writing top-level names to lib/PyYAML.egg-info/top_level.txt Traceback (most recent call last): File "/Users/xxxx/Projects/envs/adobe/lib/python3.8/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py", line 353, in <module> main() &
We just started using the inline PDF viewer and love it. Thank you for making this! 👍 However, we are encountering a problem on longer documents. The first pages appear fine. After some point, the pages are blank. For example, I have a 13 page document. I see pages 1-11, but 12 and 13 are blank. Oddly, if I hit the page down button a number of times (side note: the page up/down is glitchy), pages 12 and 13 will eventually appear. Below is a screen shot. Thank you for your help!
Hi,I have a simple docx document with just two tags {{Year}} and {{ReturnBy}}. When I pass JSON data to the DocumentMergeOperation and execute from .net SDK, getting the following exception. Adobe.PDFServicesSDK.exception.ServiceApiException: 'The input file appears to be corrupted and cannot be processed.; requestId=16db0c7b-c759-4d86-9a0a-fb93ccfeb303' I have attached the docx file for your reference. Below is the JSON data. {"Year":"2024", "ReturnBy":"January 30, 2024"} I have followed the .net SDK documentation https://developer.adobe.com/document-services/docs/overview/document-generation-api/gettingstarted/#generate-pdf-or-word-document
I cannot find ANY indication of how to insert placeholders for JSON values in the HTML code so that they populate with the JSON data when generating the PDF.There is documentation on the Adobe Website for PDF creation from JSON template data on the WORD version {{variable}} but nothing on Dynamic HTML.I am able to generate the PDF from the HTML but the JSON array I am passing does not change the text in the document. Can someone clarify the syntax/format of how to declare the JSON variables in HTML please?JSON : {"PageContent": "Test"}HTML : <!DOCTYPE html><html><body>{{PageContent}}</body></html>PDF generated attached
Is there a link to the actual "PDF Embed API" API documention?ie objects, methods and events available for programtic interaction.
I am utilizing the adobe PDF services SDK in Node.js (typescript) as follows: const credentials = PDFServicesSdk.Credentials .servicePrincipalCredentialsBuilder() .withClientId(process.env.PDF_SERVICES_CLIENT_ID) .withClientSecret(process.env.PDF_SERVICES_CLIENT_SECRET) .build(); However I keep getting the following type error even though it is working as it shouldProperty 'servicePrincipalCredentialsBuilder' does not exist on type 'typeof Credentials'.ts(2339) I did install the types for the node sdk, but that didn't help@types15111019/adobe__pdfservices-node-sdk"
Hi, PDF Embed API document, is displaying old version of the PDF in MS Edge browser. When users add annotations and save, EDGE does not refresh until "Empty Cache And Hard Refresh" is clicked in the browser. This behavior is not seen in Chrome or Firefox.Any advice would be helpful. Thanks,Kalyan
HI Team, We are using PDF Embed API/ PDF viewer service to use for Annotations on PDF. We are able to annotate and Save the document to AEM. On refresh of a PDF page on browser after sucessfull Save operation to Post data to AEM, we are still seeing older version of the comments within PDF. We are able to see latest set of comments on using Ctrl + Shift + R but not with normal refresh of a PDF Annotated page. We have also verified in AEM to see if server has latest set of comments persidted with in document and it has latest comments. I have taken into consideration qand implemented below points Remove the iframe src and refresh PDF page for every Save operation to Server to make sure iframe loaded with PDF is always a non cached version on browser and gets latest from Server.No Dispatcher cache for PDF files from Server side.Clearing localstorage of browser to make sure each refresh gets a fresh version of PDF which is stored in AEM. Can you please kindl
I created a new key but I'm getting 401 error. I'm allowing localhost but I receive:
While trying to extract data from pdf, where pdf is being served from aws S3 bucket as a stream object as follow: const storageFileName = `${dirName}/${fileName}`; const objectParams = {...}; const s3 = new S3({...}); const streamObject = await s3.getObject(objectParams).createReadStream();Later passing this streamObject to PDFServiceSdk.FileRef.createFromStream as input.const input = PDFServicesSdk.FileRef.createFromStream( streamObject, PDFServicesSdk.ExtractPDF.SupportedSourceFormat.pdf ); extractPDFOperation.setInput(input); const result = await extractPDFOperation.execute(executionContext); Resulting into:ReferenceError: location is not definedPDF Size: 100 mb.env: Node.js 18
Will Adobe PDF Services APIs be adding support for S3 dualstack URLs? https://docs.aws.amazon.com/AmazonS3/latest/userguide/dual-stack-endpoints.html
I am using PDF embed API in our IOS Cordova app, The Latest version of IOS is generating the origin "app://localhost'. I have created the PDF embed Api key from localhost but it is not working with "app://localhost"., It is working with "http://localhost".Is there any solution for this?
I am hoping to use the PDF Services API to generate PDF files from .docx template files. When I use the downloadable templates (AgreementLMTemplate.docx, AgreementLMTemplate.json) directly from the Adobe website everything runs smoothly. The API call happens and the resulting PDF is correctly filled out. The problem is if I make any edits to the template, or create a new .docx file using the Word Plug-in, I get and error with the statusCode:400 and errorCode: CORRUPT_DOCUMENT. It does not matter if I edited the downloaded template or created a template from scratch, any .docx that I hit 'Save' on within word causes the CORRUPT_DOCUMENT error to occur. Even a .docx with not tags and just a line of text or a single tag create this error. This also happens when I try to use the online tool and create the PDFs from within the Word Plug-In, so it must be something in my version of Word that is causing the error. Word is up to date running Version 2401 (Build 17231.20236 Click-To-R
Hi Everybody, I wanted to know if Adobe PDFSErvicesSDK works offline or do I require the internet for basic tasks like creating a PDF in .net. Keen to know your answers Thanks
APIを使用して視聴期間を設定することは可能ですか?APIを使用しない方法はPDFにjavascriptを設定する方法があります。これに近いことをAPIで実現したいです。
Hi, I received this error com.adobe.pdfservices.operation.exception.ServiceApiException: description ='Bad Request.'; requestTrackingId='1b87ba50-30cb-4132-8eba-984f6cec55d0'; statusCode=400; errorCode=BAD_REQUEST on one of the PDFs that I had uploaded for docx conversion. Could you please help me understand why this could have happened based on the request tracking id? The same doc when it was tried a few hours later, just worked fine, so it appears as though it was a service issue at that point in time, but why would I receive BAD REQUEST for a service issue/outage? -Jay
Hi, I have embed PDF Embed API inside a web page, but i need in some circustances to trigger the save form button from outside de PDFViewer. Is any way to do this with de SDK PDF Embed API ? Thanks in advance.
I have added my API key to the clientId: var embeddedView = new AdobeDC.View({ clientId: API_KEY, divId: divId }); When I go to index.html in a browser I get this error in a JS alert: This application domain (http://127.0.0.1:5500) is not authorized to use the provided PDF Embed API Client ID.
Adobe Document Generation API is not working in Word, we are seeing below error.
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.