Unlock the full value of DC Web with our global community.
Recently active
Hi, We use Adobe Pdf services and recently switched to the REST API version. We used Adobe Pdf Services API usage and followed 5 steps. Everything was working fine until today when we started to receive error code 401013 with the error message "OAuth token is not valid". The error message is returned when we make the call from step 1 API. Below is the code that does it - step1_headers = { 'x-api-Key': '<XXXXX>', 'Authorization': 'Bearer <XXXX>', # Already added when you pass json= but not when you pass data= # 'Content-Type': 'application/json', } step1_data = { 'mediaType': 'application/pdf', } step1_response = requests.post('https://pdf-services.adobe.io/assets', headers=step1_headers, json=step1_data)Does anyone experience this? How to resolve this?
Is there a special licensing requirement for commerical use for this API? Our company has an Enterprise account with many CC licenses. Thanks,Roland
Hello, Is the "PDF Embed API" a free API ? I can't find the correct licence metrics for opening and just view PDFs with the PDF embed api in the following page:https://developer.adobe.com/document-services/docs/overview/pdf-services-api/dcserviceslicensing/does this mean PDF embed API is for free?Thank you
We are trying to integrate the PDF Embed API into our website. We have to include the "https://documentcloud.adobe.com/view-sdk/main.js" script to render the PDF viewer. Our firm has restrictions on loading the above script because it is a third-party script. Is there any way, we can download the PDF Embed API scripts to our code repository and start consuming without making any request to https://documentcloud.adobe.com? I realize this has been asked in the past. I'm asking again in case anything has changed.
We have a urgent requirement to embed/attach a XML file to PDF via Power Automate.Does any of the Adobe data conncetor support this functionality ? Thanks in advance.
Is there any way to control print setup options from this API? We have this need to route the output of our printed pages to specific printers, based on users settings and also set the page size that should be selected. This is a actually a very common and popular scenario in many vertical industries, but somehow all PDF viewer systems(in Chrome, Edge, Firefox), have issue with. I was hoping that this API can offer something in that regard. The scenario is very simple: Different PDF files are generated on the server side, depending on the form, the proper page size and the proper printer, must be selected. Once the user clicks on the print option, the print dialog must be initialized with suggested settings. It would be great if you could bypass the print dialog, but I believe that would be a security violation from browser's point of view.
Hi to all.I have to merge a set of PDF uploaded by users on which ( unfortunately ) i have no control.Most of the times everything goes well and the result pdf is created, however sometimes the API returns this errorcom.adobe.pdfservices.operation.exception.ServiceApiException: description ='The input PDF has incorrect tag structure.; transactionId=RMDbanAHeOG8gh8DfTf9Bg43q95DGdIu'; requestTrackingId='XG4umpNiSkudFNiDkWm8DNI8DiTDLaPP'; statusCode=400; errorCode=INVALID_PDF_TAGGING Is there a way to avoid this exception or at least know which of the files that should be merged provokes it ?Thank you for your answer!
Use case:I am creating a document from form values captured via a webform which I can parse out as json and send across. I am using https://cpf-ue1.adobe.io/ops/:create Where I am struggling is to specify anything other than a local docx file. Ideally I would like to just pass across a reference url to a docx hosted on acrobat.adobe.com. At the moment I have to send the docx as well as the json data which seems inefficient. "cpf:inputs":{"documentIn":{"dc:format":"application/vnd.openxmlformats-officedocument.wordprocessingml.document","cpf:location":"InputFile0"}, thank you.
Hi, I have a HTML file along with all the required dependency in a zipped folder and on running the Adobe PDF create service i realized that the PDF generated is broken and doesn't have the html elements. I checked the sample code provided by Adobe in createPDFFromStaticHtmlInput.zip and noticed that Spectrum is being used intensively in the CSS. Will the HTML to PDF transformation only work if I follow the standards followed in Spectrum? Thanks in Advance.
Hi, Getting the 'File preview error'. Here's my code:<div id="adobe-dc-view" style="height: 360px; width: 500px;"></div> <script src="https://documentcloud.adobe.com/view-sdk/main.js"></script> <script type="text/javascript"> document.addEventListener("adobe_dc_view_sdk.ready", function(){ var adobeDCView = new AdobeDC.View({clientId: "9c33198fee83473a82173dc0b3b464b0", divId: "adobe-dc-view"}); adobeDCView.previewFile({ content:{location: {url: "https://static1.squarespace.com/static/59ca375d80bd5e1a6eaed324/t/600d8e3a8c87b41f30253201/1611501114873/UK-COVID-19.pdf"}}, metaData:{fileName: "UK-COVID-19.pdf"} }, {embedMode: "SIZED_CONTAINER"}); }); </script>The URL to the file works fine. What am I doing wrong? Thanks!
Hi, A PDJ that I had processed using Adobe PDF Services API contains a watermark that interferes with the JSON output result. I want to get rid of the watermark using the API, instead of manually using Adobe Acrobat DC. Does PDF Services API support watermark removal? Thanks
Hello. I would like to know if is it possible to use Adobe Sealing API to sign documents from the Company side without any manual approval (by Electronic Seal) and send them to another recipient for final signature. We wanna streamline the signing process for our users and give them access to some of our services right after signing. Is it means that we got a legit digitally signed document from our API?Example schema:
I'm experiencing an error when trying to use the SDK and initialise the adobe pdf viewer. The following function call:var adobeDCView = new AdobeDC.View({clientId: "MY ID"}); returns the following error:POST https://dc-api.adobe.io/system/log net::ERR_BLOCKED_BY_CLIENT executor @ dc-core.js:2 call @ dc-core.js:2 forEach.n.exports.http.<computed> @ dc-core.js:2 _logWithoutAuth @ dc-core.js:2 _logToServer @ dc-core.js:2 serverBatchHandler @ dc-core.js:2 batchHandler @ ViewSDK.js:1 flushLogs @ dc-core.js:2 (anonymous) @ dc-core.js:2 Promise.then (async) (anonymous) @ dc-core.js:2 configure @ dc-core.js:2 (anonymous) @ ViewSDK.js:1 Promise.then (async) initDCLogging @ ViewSDK.js:1 (anonymous) @ ViewSDK.js:1 Promise.then (async) _checkForCore @ ViewSDK.js:1 initialize @ ViewSDK.js:1 Wgcd._createClass._initialize @ ViewSDK.js:1 Wgcd._createClass.execute @ ViewSDK.js:1 MessageReceiver._messageReceived @ ViewSDK.js:1 _receiveMessageHelper @ ViewSDK.js:1 Am I doing something inc
Hi all! We´re trying to use picture format SVG, when automatically creating a PDF from Power Automate JSON formatted inputs. Lets say this is our publicly available SVG inside the json: { "services": "https://evergreenlogocom.blob.core.windows.net/logos/AAD.svg"} When I try in the Word-Add-In I get this error:In Power Automate this: On the documentation is says: Source: https://developer.adobe.com/document-services/docs/overview/document-generation-api/templatetags/#images What am I doing wrong?Thanks, Robert
Just a quick note that we released an update to PDF Embed today with some important bug fixes. From the release notes: New Deprecation messaging for PDF Embed API legacy viewer. Refer the migration guide. Bug fix Added fixes for PDF preview issue on latest Safari versions and full screen view in FULL_WINDOW embed mode.
I'm using the Adobe Embed PDF API to view PDFs on my site.But I'm getting the 'Uncaught (in promise) Error: getMetadata request failed' error, when running on Chrome DevTools - Simulator (iPhone only).(It was working fine in Edge DevTools - Simulator) Error console:bootstrap.js:2 Uncaught (in promise) Error: getMetadata request failed at bootstrap.js:2:959314 at bootstrap.js:2:1653712 at s (dc-mobx.js:16:23365) at Yt (dc-mobx.js:16:45501) at e.track (dc-mobx.js:16:48113) at e.onInvalidate (dc-mobx.js:16:23340) at e.runReaction (dc-mobx.js:16:47892) at pn (dc-mobx.js:16:50058) at ln (dc-mobx.js:16:49694) at dc-mobx.js:16:54954 The Adobe Demo page is getting the same error How to resolve it?
Subscription failedThe seller has not made this product available in the geo location associated with your customer account. I cannot buy subscription . please help ( My company is in Thailand)https://aws.amazon.com/marketplace/saas/ordering?productId=021316e4-6208-4578-a6a8-922b57e89fdd&offerId=4f69igxc8fcxg1qzrmq7d9el
Hi there, I find that right-hand panel will be missing after exit from fullscreen mode. Steps to reproduce the issue:1. Open the test site I made with PDF Embed API: https://share.dc1979.com/poc/2. After the pdf preview loaded, click the fullscreen button on top-right corner to enter fullscreen mode3. Press Esc to exit fullscreen mode4. The right-hand panel (containing comments panel, page thumbnails, page navigation etc.) is missing, instead there is a broken panel shows in the bottom: The preview config I used is: var viewerConfig = { embedMode: "FULL_WINDOW", defaultViewMode: "FIT_WIDTH", showDownloadPDF: false, showPrintPDF: false, showLeftHandPanel: false, showAnnotationTools: true, enableFormFilling: false, showDisabledSaveButton: false, showFullScreen: true, enableAnnotationAPIs: true, includePDFAnnotations: true, }; So is this a bug, or am I missing s
Hi all,For my Adobe PDF embed API, it doesn't show the UI to allow "Two-page View". In the demo that Adobe has, it shows it as an option (see screenshot below). Here is one of my pages that doesn't offer the option:https://bearessentialnews.com/images/images/2021WhyRecycle.htmlHas anyone else experienced this? Or have a solution? Thanks,Roland
MS word freezes after using the add-in to try a conditional content condition. I am able to add the condition tag to the highlighted content, but thereafter am unable to save the file and need to end MS word using the task manager. I've followed Microsoft's instructions on this issue e.g. disable autocorrect, etc. at: https://learn.microsoft.com/en-us/power-platform/admin/using-word-templates-dynamics-365#BKMK_Important Does anyone else have experience with this and a solution?
I see in the documentation examples with both:https://documentcloud.adobe.com/view-sdk/viewer.js & https://documentcloud.adobe.com/view-sdk/main.jsIt seems like the later documentation and examples refer to the view.js. But swapping my library from main.js to view.js doesn't work? I do have some examples running under the main.js, but I can't get others to work. I was just trying to swap the view sdk.What am I missing? Is the clientId specific to one or other?Thanks for any help
i want to remove white margins from PDF, is it avaible via Adobe PDF Embed API, or Adobe PDF Extract API which service should i use exactly ? and how ? Thanks
We are using Power Automate and Adobe Sign to sent out files to be signed. There are two signers. One is internal and the other is external. This is working well except I noticed that after the two signings have been completed the final email back to me states the info below. Is anyone able to let me know why there are three names? Thank you. Attached is the final agreement between:My company nameSigner 1 nameSigner 2 name
A few weeks ago we released new REST APIs. One of the cool features it allows is better performant "multiple" operations, so for example, OCR than optimize, or doing document generation for N rows of data. I wrote this up here: https://blog.developer.adobe.com/multiple-performant-operations-with-the-new-adobe-document-services-rest-apis-7e56bec336af
https://developer.adobe.com/document-services/docs/apis/ I have the credentials including an access token, but I don't know what to put as the "string" value for the "mediaType"in the body of the POST request. Is this where the actual PDF I want uploaded goes? If not, how do I do that? Do I need to convert the PDF into an byte array first? I'm so confused.
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.