Unlock the full value of DC Web with our global community.
Recently active
Dear All, I am using Adobe SDK to develop .api. Using sample code - basicplugin project. It can be built successfully. I put .api into adobe plugins directory. Reopen Acrobat and it can show menu. But it will show “invalid plugin detected. Adobe Reader will quit". I don't know if it needs to be enable by using tools Makekeys and singpluing to enable .api. Thanks and best regards,Tony
For Administrators, is there anyway to leverage Adobe API and know how users are using Acrobat DC? Let's assume, I've about 10000 Acrobat users in my organisation and we would like to know what is the use case for Acrobat. i.e creating PDF/ Printing / Editing. Thank you.
The demo works fine. But when I try to use PDF Embed API to place my own PDF, I get a File Preview error. I see other posts on this forum with the same problem but can't find an answer. I appreciate any feedback. Thanks. <!DOCTYPE html><html><head><title>Adobe Document Services PDF Embed API Sample</title><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/><meta id="viewport" name="viewport" content="width=device-width, initial-scale=1"/></head><body style="margin: 0px"><div id="adobe-dc-view"></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: "ba22b551b7624c22b6dc4f87a7ab2701", divId: "adobe-dc-view"});adobeDCView.previewFile({content: {location: {url:"https://bearessentialnews.com/images/Stem
Hello,We are a document service company and recieve large print jobs that consist of mostly pdf's. Sometimes these documents have several page sizes in one pdf and are a mixture of black and white and color. Some clients request a quote for the job before and this can be a long time consuming process.Is there a batch function or adobe app that can analyze PDF documents for page size and give you a list of all page sizes found ? Also is there a function that can detect visible color and not coded color, as in you can scan a black and white document in color, it will still look black and white but when printed on a color printer will usecolor tonner and not black and white tonner. Thanks.
Hello, I am new to the PDF Embed API and I am not really a developer, but I am pretty good at playing around and figuring things out. I am playing with the PDF Embed API. We have long lists of downloadable pdfs for our products. I would like to have one column of pdf links on a side panel, and when one of our customers clicks on a link, have the linked to pdf open in the embedded window, which is located in the main column of the product page. So far I can have one snippet of code for one link, but I would like to have different links open up in the embedded window as a customer clicks on them. I am trying to get away from our customers opening new tabs or navigating away from our webpage as they look through our downloadables. How do I adjust the code to support this?
Hi Adobe Forum,We have a unique request, not sure if it's possible, but would appreciate some guidance if it is.1. When adding an annotation, is it possible to get the selected text from that annotation, not only the bounding boxes?2. Is it possible to programatticaly do a text search in a document?3. If yes, is it possible to limit search to the current page you are on, and not the complete document? Any help in this regard would be greatly appreciated! PS: Love what the people at Adobe are doing!!!
Hi,We are trying to integrate the PDF Embed API into our website to enhance the client experience of viewing the PDF documents. We have followed the guidelines from Adobe documentation to obtain the client ID registered to our domain.We have realized that we have to include "https://documentcloud.adobe.com/view-sdk/main.js" script to render the PDF viewer (This script internally makes multiple calls to other script files). Our firm has restrictions loading the above script and our cyber team has raised concerns over including a third party script in our website. 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. Note: We are using Adobe Experience Manager to build our website. Please let us know any alternative approach/options. Thanks in advance.
I have tried numerous versions of this code to and I'm still getting some kind of error. The latest indicates that my API credentials do not include the domain I'm using. Here's the error: This is a screen shot of the page on Adobe Console that shows the credentials along with the domain registered This is the code I'm using for the Light Box version that includes my credentials and the pdf direct link (from our domain).<!DOCTYPE html> <html> <head> <title>Adobe Document Services PDF Embed API Sample</title> <meta charset="utf-8"/> <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/> <meta id="viewport" name="viewport" content="width=device-width, initial-scale=1"/> <script type="text/javascript" src="index.js"></script> </head> <!-- Customize page layout style according to your need and PDF file for best viewing experience --> <body style="margin: 0px; background-color:
Getting the error "File preview Error" File preview not available, please reload to try again.
I have a Form PDF and a Combo Box, and I need to apply the changed value inmmediately for the Save Button to appear in the Viewer.The Save button only appears if I click elsewhere on the page, outside of the combo box.I have selected the option: "Commit selected value immediately" (CommitOnSelChange) in Combo Box Properties, but it doesn't seem to work in the Viewer.
Hi,I'm using an external analytics API on my site. For it to be able to track activity in iframes, they say I need to include the tracking code into said iframes as well. In other cases, even for iframes from other domains, this simple thing worked:<iframe src="..."> <script> //tracking code </script> </iframe> But with the PDF Embed API I'm starting with a div, in which the iframe is created dynamically. Is there any way I can get my tracking code there?I tried adding the tracking code into the iframe.innerHTML after it's created but that doesn't seem to work for the tracking...Thanks in advance!
I would like to use a set of custom buttons outside the viewer to navigate through the document, and hide the viewer's interface. The showPageControls parameter doesn't seem to do anything when embedMode is SIZED_CONTAINER. Can the page controls be hidden? There is an undocumented showTopBar parameter in the JavaScript code, but it doesn't seem to do anything, either. Can the top bar be hidden?
I need to create a PDF from HTML with only page number as footer instead of Metadata like filename.Since Customizing footers are not provided with the documentation, is there any way to add only page number to the exported file,
I am using assembly of Adobe.DocumentCloud.Services to convert report from word into PDF, Only Avenir faimly fonts not working and all other fonts working in PDF, this fonts is working in WORD doc.There is not any option to embed this fonts. Please help me how this fonts will work when i will convert into PDF from word.
<bottom> o.l.
I want to upload PDF from client PC to Adob Document Cloud without saving the PDF files in ServiceNow.But, I could ot find the API for uploading the PDF files to Adobe Document Clond.Please kindly inform me the information of the API from any web server to Adobe Document Cloud.
Hi, is there a way to convert PDF to XML using the PdfTools SDK? Thanks
I do not have AEM, but want to post notification messages to document cloud from my forms. is this possible and how is it done?
Hi, When I embed a pdf using the Adobe View sdk, Times new roman italics do not appear to display correctly in mathematical type (e.g. the x's don't look correct). Here is an example of what I mean: https://parkermaths.com/Resources/QuestionApp/Y1WK6HW.php The screenshot below shows what it should look like (this is what you get if you right click and download). Is there a workaround for this? Thanks, Andy
How to enable page-by-page mode in FULL_WINDOW layout?
The main problem is mine is that i am showing a document in my website using adobe view sdk and i did not want allow to download document by user so i disable the download button but now i find out that when i see page source code there a user can see my file link and so he can easily download the file using this link as iam using dropbox to storing file and dropbox link with adobe view sdk so is there any way i can hide or encrypt that link so user cannot able to see that link.
I'm new to PDF tools API and understaood the overall flow.. however im just wondering why the input file shall always be indext.html and we always have to set a ZIP as a source. Is there any alternative way I can direclty pass my HTML or HTML content to convert to PDF ?
I am trying to run the OCR operation in a ThreadPool. My code looks like this: ThreadPoolExecutor executor = (ThreadPoolExecutor) Executors.newFixedThreadPool(5); executor.submit(() -> { Credentials credentials = Credentials.serviceAccountCredentialsBuilder() .fromFile("/home/darvasr/dc-services-sdk-credentials.json") .build(); ExecutionContext executionContext = ExecutionContext.create(credentials); OCROperation ocrOperation = OCROperation.createNew(); But when the ExecutionContext instance gets created the run fails and exception occurs when the AuthenticatorFactory calls this: return new JwtAuthenticator((ServiceAccountCredentials) credentials); Detailed exception: What could be the problem (Same happens when I run it without the ThreadPoolExecutor) ? The OCR-ing works in a separate project.
I am trying to implemet a REST Api in Spring Boot to OCR and compress my pdf files. The OCR operation is working fine, but when I try to compress them I get the following error: java.lang.NoSuchMethodError: com.adobe.platform.operation.internal.api.CPFApi.cpfPredictApi(Lcom/adobe/platform/operation/internal/InternalExecutionContext;Lcom/adobe/platform/operation/internal/cpf/dto/request/ContentAnalyzerRequests;Ljava/util/List;Ljava/lang/Class;Ljava/lang/String;)Lcom/adobe/platform/operation/internal/http/HttpResponse; I have these two dependencies in my pom: <dependency> <groupId>com.adobe.documentcloud</groupId> <artifactId>dc-services-sdk</artifactId> <version>1.0.0</version> </dependency> <dependency> <groupId>com.adobe.documentservices</groupId> <artifactId>pdftools-sdk</artifactId>
I hope someone can help with this. (Please keep in mind that my technical knowledge is limited)I created this test page:https://www.posterpresentations.com/research/PI1065/DELETEME/basit-iqbal-php-framework.html The PDF displays properly but after you refresh the page it disapears.... I tested is in multople browsers with no luck. Here is the code I use: <div id="adobe-dc-view"></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: "c0ed52a26e894bb988b9242e11480d7c", divId: "adobe-dc-view"});adobeDCView.previewFile({content:{location: {url: "https://www.posterpresentations.com/research/PI1065/DELETEME/PHP%20framework.pdf"}},metaData:{fileName: "PHP Framework"}}, {defaultViewMode: "FIT_WIDTH", showAnnotationTools: false});});</script> Any suggestions?
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.