Unlock the power of Acrobat SDK through our community.
Nyligen aktiv
I have a pdf form with some labels and texts on it. I have a javascript which shows/hides some fields when a checkbox is clicked. When some fieds are hidden, they create some blank space in the form. How can I collapse the section /move rest of the fields up to get rid of thiose extra spaces? They should ceate those spaces again when the hidden fields show up.Can some body help? I have using adobe acrobate reader 2017 on a windows 8 system.
I can't for the life of me figure out how to get my custom icon on the addToolButton function. This is running from the following folder:C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\JavascriptsI am running Acrobat Pro DC. I can get the button to work if I don't have anything about a custom icon in the code. Everything functions fine. But with the code I have below the button doesn't show up and I get an error message:TypeError: this.getIcon is not a function3:Folder-Level:App:calloutSchem.jsAny help would be greatly appreciated!this.getIcon("myIcon", "\\\\arwdfsp.com\\shares\\schematic_tools\\Resources\\Icons\\Leaf-icon.jpg", 0);var oIcon = util.iconStreamFromIcon(this.getIcon("myIcon"));app.addToolButton({ cName: "NEW SCRIPT", // A name for your button oIcon: oIcon, cExec: "addCalloutLinks();", //Function to Call cLabel: "Callouts - Schem", //The Text
We are in the process of getting an SDK to allow us to create a custom application to read PDF files. We need test files that use different features within the PDF structure so we can verify that the product successfully renders the PDF file.The Adobe PDF Library SDK is one of the options we will be evaluating. There is another SDK at Adobe that requires a copy of Adobe Reader, but that is not suitable for our use.We had purchased an SDK, but it turns out it doesn't handle transparencies well. We want sample PDF files so that our next purchase can be verified to work.
I am looking to create a form data exchange to create a new PDF with the imported data, add pages from a PDF repository. I can build the PDF and prepare it for distribution but the data exchange with SOAP is a whole new world. I had used ADBC within our network and it worked great. I am working with our programmer who has already set up the WSDL. I am just looiking for a solid example of how to connect, request, receive and populate PDF. I believe a web page that managed the front end would work as well - Get the data and open and work with an existing PDF form. I have downloaded the Acrobat SDK but I haven't found a SOAP exchange sample in the mix.
I need help to create a code, I try to create a code for "Find and Replace All word in a PDF file". is it possible? and can you give me an example of the code?
Hi All,We are using iManage Filesite 9.0 client as a document management system which uses an API "IManAcrobatReader10.api" to display Save to Worksite option under the File menu. I need to access this using the Action "Execute the Menu item" but I only Save As option in there is which is local save to disk. I need to somehow call this API probably using a java script. I am not familiar doing that. Could someone provide probably an example of code. I will appreciate the help!
Hello,My Action wizard keeps the last PDF processed open and that causes problem for me... I wonder if there is any way to close the last PDF item or may be exit the Adobe Acrobat Pro...?Regards,Jeff P.
Hello Team,This is with regards to an issue in Adobe Reader.We are using a custom SAP application, where user is having an option to generate the HTML page in pdf form and print the same (Once the pdf form is generated).The issue is when users try to generate the pdf from the HTML page , the pdf form is getting generated but the fields are not getting displayed, but when we double click on the pdf content then data is displaying.
So I spent hours making a complex fillable PDF form for a company, I understand how the email and download buttons work. I have done hours of research to try and get this working, using both the installed send mail function and making my own Javascript send mail button. What is happening is these buttons are not even clickable in browser, when I try to send via reader i get an error that says "we couldn't attach your file". The only button that works is the Print button. I am unable to get this to work in my Chrome browser which is what I need. Is there any way to get send email and download/save button to work on browsers? It seems pointless to have these buttons if you cant even use them. Any help is greatly appreciated!
Is there a Javascript function that will write the date printed date/time stamp into a PDF document when it is printed?Thanks,
Hi guys,Thanks for any help, I'm AWFUL with javascript and i've been scratching my head on this. I'm trying to figure out the right script for making text box tiers essentially. "Text1" is the lowest tier, and the last wanted option."Text2" is the preferred information. I want to make it so that "Text3" shows "Text2", but if it's not available, "Text1" fills it in.I've minimal to no javascript experience, so help with this is greatly appreciated!! I understand how to implement it for the most part under "Actions".Thank you!!!
We have been auto populating dates on pdfs for a little over a year. In the last week these dates have stopped populating todays date, now they just populate Oct 25, 2017.Here is the calculation we were using. this.addScript("init", "this.getField(\"general_document_date_today\").value = new Date();");We need help asap. Thanks
This is a followup to Calculating Age from DOB field in Acrobat but I'm opening a new question because every time I respond to an existing question in various techs support forums I get slammed. If opening a new question is the wrong thing to to here, I apologize.Using Acrobat X, I am trying to use this code in a field named Age to calculate age from a field named DOB (I'm sorry but I don't see an editing button to format it as code):event.value = "";var dobValue = this.getField("DOB").value;if (dobValue!="") {var dob = util.scand("dd/mm/yyyy", dobValue);var today = new Date();// compute age in millisecondsvar age = today.getTime() - dob.getTime();// convert age to years ( millsec in sec * sec in min * min in hrs * hrs in day * days in year)// truncate to whole years and adjust for binary floating point errorevent.value = Math.floor( age / (1000 * 60 * 60 * 24 * 365.2425) - 0.005);}The debugger throws the following errors. How can I fix these?dob is null11:AcroForm:Age:CalculateT
I have created a anonymous trusted function and stored in a .js file in the folder C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\Javascripts. When I reference this file from Adobe Acrobat Pro DC, I am able to access the function based on a mouse up event. On a different computer that only has Acrobat Reader DC, I copied the js file to C:\Program Files (x86)\Adobe\Acrobat Reader DC\Reader\Javascripts, but I get the following error:NotAllowedError: Security settings prevent access to this property or method.Net.HTTP.request:22:Field That account number is:Mouse UpRoutingAndTransitInfo = app.trustedFunction(function(cURL, aDoc){ if ((aDoc !== null) && (aDoc !== undefined)) { var params = { cVerb: "GET", cURL: cURL, oHandler: { response: function(msg, uri, e) { var string = util.stringFromSt
What development tool can I use to create a form field for pdfstamper?
I have some code in my document action "WillClose", but my script is called only once. Why this is happening?I have Acrobat DC.
I have a form that requires 7 day history from date of application. The user inputs the application date. I then have 7 separate fields that should auto calculate the past 7 days from the user input. For example: user input = 06/07/2018Prior 7Prior 6Prior 5Prior 4Prior 3Prior 2Prior 105/31/201806/01/201806/02/201806/03/201806/04/201806/05/201806/06/2018With the dates in the table above being auto-calculated in 7 separate fields. Let me know if I'm not making any sense. Also, here's something that I found to try and adapt to what I need, but my coding knowledge is small and not in Java at all haha so any help is appreciated.var dateString = this.getField("Date of Application").value; if (dateString=="") event.value = ""; else { var d = util.scand("mm/dd/yyyy", dateString); d.setDate(d.getDate()-7); event.value = util.printd("mm/dd/yyyy", d); } Thanks.
I have three issues with the IAC regarding annotations, here is a code snipped:CAcroPDPage aPage = PDF.AcquirePage( 0);for( int i = 0; i < aPage.GetNumAnnots(); i++){ CAcroPDAnnot aAnnot = aPage.GetAnnot( i); aAnnot.GetTitle(); aAnnot.GetContents();}First: aAnnot.GetTitle()/GetContents() seems to return the same string for each itteration - but not always.I tried to overcome this by inserting aAnnot.SetTitle( aAnnot.GetTitle()) which seems to work for now.Second: GetNumAnnots() returns 3 but there is only 1 Link and 1Text annotation in the File.I´m wondering why it returns 3. By exampination, GetSubtype() returns "Link" for the first itteration and "Text"for the next two. When I export the annotations to a FDF file I get the expected one (1) annotation.Same is true when I browse the annotations in Acrobat.Third: aAnnot.GetTitle() returns the author and not the title of the annotation. IAC SDK version is 6, PDF v
Hi Guys,Anyone can help me extract the first pages from a multiple pdf file and saving it in a single pdf file.Thanks in advance
I have the following validation script that is giving me a syntax error in line 2.if (event.value == "Nurse" || event.value == "Psychiatrist") { this.getField("ClassBE").display = display.visible; }else { this.getField("ClassAE").display = display.visible;}My desired outcome is to have a specific field display (ClassBE or Class AE) depending on what is entered in this field. So if Nurse or Psychiatrist is selected, then the ClassBE field displays. If anything other than those two are chosen, ClassAE should be displayed.Can someone please help me determine why I am getting this syntax error?Thank you!
I have a pdf document created in Adobe Acrobat DC with such functions. 2 checkboxes with a checkbox: you can tick "yes" or "no" or none of the above. Is it possible to write an automatic test which will test it?I still have a checkbox under the "OK" fieldto be marked or not. how to test it automatically?and I have a text field in which to enter text. How can you test it automatically?I am asking for a quick answer. how to create automated tests in adobe acrobat dc?That the form fields have been filled in by the user?text field - whether it is possible to fill in the formcheckbox:That the user selected a certain value, such as "yes"? -is it possible to select 'yes' oraz 'no'and whether it can be inactive - if none of the above is selectedand in checkboxes, whether the name is one in the document or another checkbox does not have the same name - because then selecting one, two are marked
All,I have a Fillable PDF that I created from an Excel file, and that Excel file has drop down menus in it. The descriptions in the drop down menu are long, and when pasted into the PDF drop down menu, it will only show a part of the text. After reading hours of other forums, I know that I have a few choices on how to make this happen. One is to use "\n" script and the other is to use Java script to write a code that will connect the drop down menu to a text box. However, I have no idea how to write either of those codes needed to complete those, nor do I have a good sense of where they need to go. Any help would be great! Thanks!
Hello,I have read several similar posts on various ways to do this, but I am still stuck. I am completely NEW to javascript. This is my first attempt!I've tried to copy similar JS examples, but replace with my labels, but i must be doing it wrong somewhere. I need to hide a text box based on a radio selection in two instances.I am running Adobe DC Pro.I have 2 radio buttons in a group with a text field box for each choice. Radio buttons are named "Group3" with unique names "Choice1" & "Choice2". Text field boxes are named "G3C1" and "G3C2"Goal: If Choice1 is selected, then text box G3C2 becomes hidden. Or if choice 2 is selected, then G3C1 becomes hidden.Can someone provide me with the exact JS for this?Appreciate any help - Thank you
Dear All,I need to add hundred Watermark in one PDF File and save each watermark pdf with each name. I have a text file which includes the watermarks. I already see the java script function but I don´t find much information I need. I found this piece of code and even not able to transform in my requirements - seethis.addWatermarkFromText({cText: "Text",nTextAlign:app.constants.align.center,cFont: "Helvetica-Bold",nFontSize:36,aColor: color.red,nStart: this.pageNum,nOpacity: 0.5});Anyone knows who to find a solution for this ?Thank you very much
As the title states, I need to know how to force a hyperlink to open in a new window within a browser.Our users will be viewing an online PDF training manual that has hyperlinks to YouTube videos. We need one of two things to happen and either solution will be a win for us at this point1) How do you make it so these links open in a new window/tab within a browser?2)How do you get the users to be placed back at the place in the PDF where they clicked the link? As of now, the links open in the same window. When the user goes back, they are left at the very top of the PDF again.All help is very much appreciated!Thanks
Remix with Firefly Community Gallery
Thousands of free creations to fall in love with and remix in Firefly.
Har redan ett konto? Logga in
Har du inget konto än? Skapa ett konto
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.