Unlock the full value of DC Web with our global community.
Recently active
Latest versions of Microsoft Edge has a tracking prevention system edge://settings/privacy In this tracking prevention system, using Balanced and Strict options will make the browser blocks PDF Embed API resources, and it means that users can not see PDF previews. How should we handle it?It could be great if this API stops using iframes to preview PDF files.
See the below exception details:Exception Details: Adobe.PDFServicesSDK.exception.ServiceApiException: The provided token is malformed or otherwise invalid. I've double-checked and the credentials are correct based on what was provided. What am I missing? Code:Credentials credentials = Credentials.ServicePrincipalCredentialsBuilder().WithClientId("*********************************").WithClientSecret("******************************").Build(); ServicePointManager.ServerCertificateValidationCallback = ((sender, certificate, chain, sslPolicyErrors) => true);ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12; //Create an ExecutionContext using credentials and create a new operation instance.ExecutionContext executionContext = ExecutionContext.Create(credentials);CreatePDFOperation createPdfOperation = CreatePDFOperation.CreateNew();// Set operation input from a source file.FileRef source = FileRef.CreateFromLocalFile(file);createPdfOperation.SetInp
Hey, I'm receiving duplicate data in my database. The ID is the primary key, and the AdobeId is the id of the created annotation. How is it that I am getting duplicate Adobe Ids for annotations created seconds apart? Can I rely on this value as the primary key? My code is fairly simple: var jsonParsed = eventData.ToString(); var annotationUpdate = JsonConvert.DeserializeObject<RootAnnotation>(jsonParsed); annotationUpdate.data.AdobeId = annotationUpdate.data.AdobeId; public class RootAnnotation { public string type { get; set; } public RootAnnotationData data { get; set; } } Root AnnotationData has property AdobeId which serializes from id Property [JsonProperty("id")] [JsonPropertyName("id")] public string AdobeId { get; set; }
Hi has anyone noticed the the PDF Embed API is not working on chrome. I'm on Chrome version Version 118.0.5993.70 (Official Build) (arm64) and the page loads to 100% then is just blank white, with no error message. Is any one else having this problem. The viewer still works in a web browser in Firefox and Safari? Thank you in adavance
Hi, I am using Microsoft Power Automate to create a cloud flow which converts Excel documents to PDF, see screen shot. The process works however the dates which were in dd/mm/yy/in Excel are being converted to mm/dd/yy format. The source files reside in sharepoint and I have set the regional setting correctly for the sharepoint site. Anyone have any ideas why this is happening? Apparrently you can change the region when using an SDK but I only have the Power Automate PDF object and there are are no settings in the Adobe connector... Thanks in advance
I need a solution to convert word (doc and docx) files into its corresponding PDF format. Application is built on (frontend - react and backend - .Net6). I used "Adobe.PDFServicesSDK" pakage and used "create PDF from Microsoft Office Docs (Doc and Docx ...)".I have created necessary items like CLIENT ID/ORGANIZATION ID/CLIENT SECRET and the authentication is working fine. I could sucessfully convert some owrd files to PDF. But when I tried to convert some Word files (docx) with large number of pages (300 pages), I am getting a timeout exception message from the application.Please help me to find out the issue.
Hi,I've used pdf-embed-api for the purpose of viewing pdf documents on a web based application.I would like to know if it is limited to a certain number of pages as it is having difficulties for documents with more than 400 pages(15mb).Thanks to provide accurate limitations of the api for viewing purposes. Snippet: adobeDCView.previewFile({ content:{location: {url: '${pdfUrl}'}}, metaData: { fileName: "${filename}" } }, { embedMode: "IN_LINE", showDownloadPDF: false, showPrintPDF: false }); });
HI,Has anyone come across an issue where they cannot locate the Base64 Encoded Private Key?i can gather all the other information but cannot locate this key to make the connection.
Does Html to Pdf support converting html form inputs into Fillable form inputs?If so, how can I do that?
Hello, all I wanted to do was to Open a PDF, change its text contents, and save as a new PDF ?As far as I can tell after hours of tests, this fairly obvious use case is not actually supported even by paid Adobe APIs ? (Without possibly: (1) exporting to Word, (2) modifying in Word using the MS API, and (3) generating an entirely new PDF from the Word Document -> which will always have problems...) Please Help,Cameron
I'll just start this off by saying that I'm trying to accomplish this through Zoho CRM using their scripting language Deluge and the Rest API commands. We are just getting started using the PDF Services API, walking through the authentication process, and uploading the asset. We're able to get our access token, then the uploadUri and assetID, but when we go to upload a file to the uploadUri we get a response code 400..- InvalidToken- The provided token is malformed or otherwise invalid We did figure out that once we get the initial response with the uploadUri and assetId, we have to decode the url before trying our POST of the file. If we don't decode the url, the error is "SignatureDoesNotMatch", if we do decode it, "InvalidToken". I've posted the code below if that helps, but again it's in Zoho Deluge. Any help is appreciated! adobeTokenUrl = "https://pdf-services.adobe.io/token"; adobeHeader = Map(); adobeHeader.put("C
I have a requirement to convert pdf to a searchable pdf, where a pdf page contains both text and images with text. therefore i want to extract text from images and add an overlay over the image to maintain the searchability of text and the images. I'm using .net framework and tried using OCRSupportedType.SEARCHABLE_IMAGE_EXACT but it doesn't extract the text of the image. How to overcome this issue?
We have a paid PDF Service API license subscribed via AWS Marketplace and been using Node SDK and JWT credentials to make API calls. This is the original code before migration:const credentials = PDFServicesSdk.Credentials.serviceAccountCredentialsBuilder() .withClientId(JWT_CLIENT_ID) .withClientSecret(JWT_CLIENT_SECRET) .withOrganizationId(ORG ID) .withAccountId(ACCOUNT_ID) .withPrivateKey(PRIVATE_KEY) .build();Using the servicePrincipalCredentialsBuilder() is the "new" way based from the sample code provided so we used this together with the OAuth Server-to-Server credentials and our code now looks like this:// NEW_CLIENT_ID and NEW_CLIENT_SECRET came from the new OAuth Server-to-Server Credentials const credentials = PDFServicesSdk.Credentials.servicePrincipalCredentialsBuilder() .withClientId(NEW_CLIENT_ID) .withClientSecret(NEW_CLIENT_SECRET)However, after a few days we started to receive this error "Either quota for this operation
Hello Team, I have an angular web application and I have requirement like create new PDF and add fillable input like input, checkbox, radio etc.... aftet that save pdf and preview same PDF with programatically fill the fillable input value. So is there any api service which provide all tool in web application same like Adobe Acrobat windows ?
Getting below excpetion when trying to convert docx to pdf java.lang.ClassNotFoundException: javax.validation.Validationat java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641) ~[na:na]at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188) ~[na:na]at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ~[na:na]at com.adobe.pdfservices.operation.auth.Credentials.validate(Credentials.java:52) ~[pdfservices-sdk-3.4.0.jar:3.4.0]at com.adobe.pdfservices.operation.auth.ServicePrincipalCredentials.<init>(ServicePrincipalCredentials.java:31) ~[pdfservices-sdk-3.4.0.jar:3.4.0]at com.adobe.pdfservices.operation.auth.ServicePrincipalCredentials$Builder.build(ServicePrincipalCredentials.java:90) ~[pdfservices-sdk-3.4.0.jar:3.4.0] ----------------------------------------------------------------------------------------- Below is the maven dependency added - <!-- adobe pd
LIVE PAGE: http://kbshawauthor.com/Domino101.htmlALLOWED DOMAIN: localhost. I've also used kbshawauthr.com.ERRORS:[Error] Origin http://kbshawauthor.com is not allowed by Access-Control-Allow-Origin. Status code: 403[Error] Fetch API cannot load https://viewlicense.adobe.io/viewsdklicense/jwt due to access control checks.[Error] Failed to load resource: Origin http://kbshawauthor.com is not allowed by Access-Control-Allow-Origin. Status code: 403 (jwt, line 0)SCRIPT:<script type="text/javascript">document.addEventListener("adobe_dc_view_sdk.ready", function(){ var adobeDCView = new AdobeDC.View({clientId: "<ce243576f91c413e9ce001673ef2b515>", divId: "adobe-dc-view"});adobeDCView.previewFile({content:{location: {url: "Domino101.pdf"}},metaData:{fileName: "Domino Lady Episode 101"}}, {showAnnotationTools: false, showDownloadPDF: false, showPrintPDF: false});});</script>
We are using Node SDK to call CombinePDF but we are getting the below error during the merge process:Exception encountered while executing operation Rie: Source PDF is certified and cannot be processed. at processTicksAndRejections (node:internal/process/task_queues:96:5) { requestTrackingId: 'bc530dd6-ff29-4f01-b284-6ec74e39751c', statusCode: 400, errorCode: 'PDF_CERTIFIED' }const fileRefFromStream1 = PDFServicesSdk.FileRef.createFromStream(s3Stream1, 'application/pdf'); const fileRefFromStream2 = PDFServicesSdk.FileRef.createFromStream(s3Stream2, 'application/pdf'); combineFilesOperation.addInput(fileRefFromStream1); combineFilesOperation.addInput(fileRefFromStream2); await combineFilesOperation .execute(executionContext) .then(async (fileRef) => { // do some processing but not getting called because of the exception }) .catch((err) => { if ( err instanceof PDFServicesSdk.Error.ServiceApiError || err instanceof PDFS
I have an angular web application, and I am using the Embed PDF API to display a dynamically generated report on a specific page, which works. The report is generated, and it is displayed on the page fine. The issue is in the Chrome developer console it displays the following CSP error.Refused to apply inline style because it violates the following Content Security Policy directive: "style-src 'self'". Either the 'unsafe-inline' keyword, a hash ('sha256-pkLRtl3yCZkYCclFQUf2VrpHEpfMiMUVZIROBKwOG9M='), or a nonce ('nonce-...') is required to enable inline execution.It's coming from a printHelper.html, which is something that I have no access/control over. And, according to the sources tab in the developer console, is coming from acrobatservices.adobe.com. So, I'm not sure how to fix that.If anyone has any ideas, I would greatly appreciate it.
Whenever, I try to open up a pdf in icognito mode, I get a blank viewer with the errors described above in the browser console. Can you help as this is a critical bug my customers are facing ? I'm using Adobe Embed API for React. Thanks.
Is there a way using the Acrobat Services API to insert a background to a PDF, such as an image or more preferably a PDF. In Acrobat you can load a PDF and then in Tools you can Insert a Background, so just wondering if I could automate this at all? Thanks in advance. Colin.
we success to subscribe on aws and adobe , after creatint our credential but the key inside the config.zip file is not correct , we meet this on Power automat connexions : Please how to get a correct Base64 Encoded Private Key ? Kind Regards
I just discovered that if I enter the URL to a page that includes the PDF Embed API without including "www" in the page URL, the PDF does not load. The page is blank. But if I add "www" in the address bar for that same page, then the PDF loads like normal. Does anyone know why this occurs and if there is some way to make the PDF load if a user leaves out the "www"?Thank you!
I was wondering if the scripts required for Document Services API are available for download since the network is blocking Adobe Documents Cloud as part of corporate policy. I want to save the scripts locally and link without calling them from https://documentcloud.adobe.com/view-sdk/main.js.
When i post my json data to the document creation API, i keep getting the "input file appears to be corrupted and cannot be processed". I have tried using the MS Word ad in to create a new document and try the api, but i receive "it seems there was an error on the server, Please try again". What could be the issue ?
Is signature_details a real propery that this endpoint returns about a PDF? In the docs here: https://developer.adobe.com/document-services/docs/apis/#tag/PDF-Properties/operation/pdfoperations.pdfproperties.jobstatus ...the response sample clearly shows this property, as an array of objects, representing digital signatures and their respective certificates.But it's missing from the schema itself, and indeed it's not returned when I use this endpoint to examine a signed PDF. It's also not returned when using the Get PDF Properties action in Power Automate. Is this a deprecated property that just hasn't been removed from the sample? Is there any way to retrieve the signature data from a PDF using the API?
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.