Unlock the full value of DC Web with our global community.
Recently active
Getting following error while trying to open a form filling PDF Error: Cannot get DCAPI metadata if DCAPI is disabled at eval (eval at getMetadata (rendition.js:2), <anonymous>:1:1) at Function.reject (<anonymous>) at RenditionAPI.getMetadata (rendition.js:2) at DocAPIInDropin.getMetaData (bootstrap.js:2) at bootstrap.js:2
kingdy168@gmail.com
Hi. I keep all annotations in my database. How can I prevent users from deleting another comments?
How set zoom 100%, when `embedMode: "FULL_WINDOW"` and `defaultViewMode: "FIT_WIDTH"`? You need to set the width of the document that has a plus scrollbar, plus margins? Or load a document, check zoom from...`await apis.getPageZoom(pageNumber)`...and calculate with the width of the container containing the document. There is a better method?
I get the following error for some (not all) pdf files:An error was encountered while processing the file. Some features might not work. I have implemented the PDF embed API to let users view and annotate eachothers PDF in my website. For the majority of the PDFs this works fine, but occasionally, there are PDFs which are not able to be rendered with the PDF Embed API. All PDF's in my system are loaded in the exact same way, so it's definetely a problem which only occurs in certain files.In my browser console the following error is shown, which might be helpful to identify the problem:Attached you can find an example of a pdf file which is not rendering.
Has anyone stored View Cloud SDK PDF annotations server side? It looks like it should be easy enough to do, but just seeing if anyone else has done it.
I am attempting to pull annotations from my server into Embed API. I have successfully saved them to the server and then pulled them back down to the client, but when adding them with .addAnnotations or .addAnnotationsInPDF, it throws a {"code":"FAIL","message":"Invalid time value"}. I have checked the schema, all is well there, and both the "created" and "modified" times look correct. Any ideas?
When i use PDF tool API to encrypt pdf file, all javaScript which embed were gone(I using a tool 3rd to embed). The javaScript when i use in tool Adobe Arcbat DC is still I don't know why ?
How disable scrollbar when `embedMode: "FULL_WINDOW"`?
How do I take a screenshot of an area in a PDF file when I have coordinates for that place?This is exactly about the screenshot of annotation.
What do `AdobeViewer.executeCommand`?And is there documentation for `AdobeViewer.executeCommand`?
How get page width and height?
I am trying to retrieve the getSelectedText() value from a PREVIEW_SELECTED_END callback to populate the prompt for a Highlight comment entry as follows... trying to set var [selectedText]var selectedText; const eventOptions = { enableFilePreviewEvents: true } adobeDCView.registerCallback( AdobeDC.View.Enum.CallbackType.EVENT_LISTENER, function(event) { console.log("Event: " + event.type); if (event.type === "PREVIEW_SELECTION_END") { previewFilePromise.then(adobeViewer => { adobeViewer.getAPIs().then(apis => { apis.getSelectedContent() .then(result => selectedText = result.data) .catch(error => console.log(error)); }); }); console.log("selectedText = " + selectedText); } }, eventOptions );...which does work, but not al
We have a requirement to fill pdf (have fillable form fileds) form fields through API. Does PDF API Tools(.net core 3.1) support to fill pdf programetically? I have gone through .net sample project but didnot find any related samples. Any help really appriciated! Thank you!
I've got the "In Line" option embedded on the page below, with "showPageControls" set to "true" but I'm not seeing the option to fullscreen the PDF. Also, is there a way to remove all controls, including the Adobe branding/pagination controls?https://www.tripspark.com/why-us<div id="adobe-dc-view" style="width: 100%;">&nbsp;</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: "5238abb0fc19469882b0c9bb3027ef9a", divId: "adobe-dc-view" }); adobeDCView.previewFile({ content: { location: { url: "https://www.tripspark.com/resource_files/Why-TripSpark-Overview.pdf" } }, metaData: { fileName: "Why TripSpark" } }, { embedMode: "IN_LINE", showDownloadPDF: false, sh
Is there a way to disable the "Edit" and "Delete" options on annotations not created by the current user? In other words, can I lock annotations made by other users on the PDF while allowing edit and delete options for my own annotations? So edit/delete allowed if the annotation's creator.name === user.Profile.name.
I've created several fillabe PDF forms that work great when I just open them with Adobe Reader on my desktop. I would like them to be available on our website but when they are opened in a web browser they are no longer fillable. They just look like regular pdf files. They also seem to operate differently across browsers. There has to be a simple way to do this. Does anyone have an example of how they've done this on another website? Here's what I'm trying to accomplish: 1.) end user clicks link to open fillable pdf on website2.) pdf is opened in another window or browser3.) end user completes pdf form an clicks submit button on form4.) PDF is attached to email message and sent to pre-determined email address Would also like to make sure this works on tablets and smart phones. Any help would be greatly appreciated.
Hello, I have a perhaps unusual use case where I'm loading a document into a page view adjacent to some of my own content that's discussing the document. Further down the page I have more discussion content about the same PDF and would like to be able to reposition that embed viewer to be closer to the later content when the user clicks a button down there.I'm able to use a plain old javascript insertBefore() to manipulate the DOM and accomplish this, but an unexpected side effect is that the browser immediately scrolls back to the top of the page when I do it. That wouldn't normally happen, so could something in the embed API's event listener be responding to the DOM being changed? If so, is there any way I could suppress that response?Thanks for any help!James
HiI was able to successfully embed the pdf using the API.However i am getting donwload failed . Try Again message, when trying to download the same pdf in mobile devices. The functionality is working fine when trying to download on desktop.
I have a page with multiple content types viz. PDF, video, images etc. I need them to flow in the page. I am using an iframe to embed the content to the page. For each component I am only setting the width (say 100% of the page width) and expect the content to auto set its height. My first challenge when using the Adobe embedAPI was because of the "requirement" that the embedded id be in the same window as when the AdobeDC component is called. I managed that by dynamically calling the adobeViewSdk inside the iframe and referencing an id that is dynamically created. And here is where I am facing challenges. I would like the PDF to auto fit inside the iframe. and setting giving access to its height (offsetHeight) so that if required dynamically I can set the height of the component container. It is something like this. <div id="pdf-container" style="width:100%"> <iframe id="embed-pdf-iframe" style="width:100%; height:100%></iframe> </div>Wh
Only FULL_WINDOW mode allows you to see the annotation.But I don't want the Comments panel to show - never. I want to display annotations but not display the Comments panel. Currently, the Comments panel is displayed each time you load a PDF file. Exist:`annotationManager.setConfig({showCommentsPanel: false})`but the Comments panel blinks and disappears.I want him not to blink, not to appear at all, not even for a moment.
Don't know if I am in the right place, It has been proven that using document cloud integration in Sharepoint to open pdfs will absolutely not work if the file/folder/link character limit is over ~248. This means ANY pdf saved beyond that character limit up to 400 will not work with the integration of document cloud and sharepoint. My organization is very excited about moving to Sharepoint due to the 400 character limit amongst other reasons. If we use Document Cloud integration we are telling them to keep from writing the extra ~150 characters sharepoint allows? I can forsee tons of calls per day to support asking why they dont have permissions (which is what the generic error is). spot this is provenm is here: https://community.adobe.com/t5/enterprise-teams/microsoft-office-365-sharepoint-error-message/td-p/11237448?page=1 and primarily here: https://community.adobe.com/t5/adobe-acrobat-online/unable-to-open-pdfs-in-sharepoint-onl
Is there a event after text selection?I want to run my own code after the user finish to select text. Is there any way to do that?
Good day, i wonder if this tool is able to hide and show layers, i have planing to embed the pdf viewer in a PWA and we work mostly with blueprints so it is kinda necessary for us to have this posibility. Regards.
Does the PDF Embed API support bookmarks? I know in the docs that the left panel displaying thumbnails can be shown (or hidden) like so:const previewConfig={ "showLeftHandPanel":true } But when set to true, will this left panel only show thumbnails of each page or does the left panel also support bookmarks if the PDF contains bookmarks?
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.