since ‎03-10-2009
‎10-12-2019
ulibaehr
Level 2
Re: Embed Files? ulibaehr - Adobe LiveCycle
and you can access the attachment with scripts. e. g. you can attach your current vendor list with Acrobat. Then you can add the vendor's address via scripting even when your data source only provides the vendor number.
558
Views
0
Likes
0
Answers
Re: conditional data binding question ulibaehr - Adobe LiveCycle
That appears unnecessary to me.Conditional bindings without any scripting perfectly perform the task. You do not need to script for this kind of task.I just checked with one of my example forms:$.Legobrick.[Color<>"green"]works perfectly to bind only subforms where the underlying element "Color" does not have the value "green".
1346
Views
0
Likes
0
Answers
Re: Convert PDF created using LiveCycle Designer to PDF viewable in Adobe Reader? ulibaehr - Adobe LiveCycle
I'm afraid no.Acrobat is a completly different ballpark. You have different classes and objects there and actually not really events. In case you have a ton of scripting in your XDP you can only hope for Surface tablets or else spend an awful lot of time trying to come close to the old functionality
1143
Views
0
Likes
0
Answers
Re: Convert PDF created using LiveCycle Designer to PDF viewable in Adobe Reader? ulibaehr - Adobe LiveCycle
I prefer saving the XFA-PDF in Acrobat as PostScript (.ps). Then I create in Acrobat a new Acro-PDF with the PostScript. Has always worked fine. Of course all form fields and scripting is lost. You have to add that all over again with Acrobat. The form layout will change with every change request. Then you change the XDP and produce with the PostScript detour a new Acro-PDF. The good thing is that you can swap individual PDF pages with Acrobat. So fortunately your form fields and scripting are n...
1209
Views
1
Like
0
Answers
Re: curved text ulibaehr - Adobe LiveCycle
Not italics. Like if you wanted to print around the rim of a plate. The baseline of the letters is a curve then.
690
Views
0
Likes
0
Answers
curved text ulibaehr - Adobe LiveCycle
We would like to print lables with curved text. Apparently there is no curved text in LiveCycle Designer. Are there any add-ons that would produce curved text in XDPs? I would suppose that add-on (if it existed) would produce graphics.
922
Views
0
Likes
3
Answers and Comments
Re: Issue With Hiding Pages Dyamically ulibaehr - Adobe LiveCycle
The equals operator in JavaScript is "==" and not "=".You actually assigned "X" to lv_letter.So your line should beif ( lv_letter == "X" ) {Does it work now?
461
Views
0
Likes
0
Answers
javascript variable not recognized ulibaehr - Adobe LiveCycle
In a click event I got this code (stripped down to the basics):var i = 0;var x = 0;var y = 0;var arrayAnswers = new Array;for (i= 0; i < tableSource._row.count; i++) { for (x=0; x < arrayAnswers.length; x++) { y++; }}That works fine with most Adobe Readers.But the customer has a version that always returns the (German) error message;Acrobat – Version mit integrierten EScript-Funktionen 11.0 Acrobat SOAP 11.0 GeneralError: Vorgang fehlgeschlagen.XFAObject.x:2:XFA:Formular1[0]:Seite1[0]:Übertrag[0...
899
Views
0
Likes
2
Answers and Comments
Re: Variable javascripts will not work properly in Reader ulibaehr - Adobe LiveCycle
Are you sure this JavaScript?A line like (oField.rawValue == 1 | oField.rawValue == 01) = "1st";looks to me like a part of an if statement and a part of a variable assignment.Maybe you want to reformat your code in a standard way and re-post it completly?
909
Views
0
Likes
0
Answers
Re: Save LiveCycle Designer ES4 PDF Forms with Acrobat Reader DC ulibaehr - Adobe LiveCycle
I can confirm that "Weitere Werkzeuge aktivieren (mit Ausfüllen und Speichern von Formularen)" the same menu item is as "Enable More Tools (includes form fill-in & save)".(Actually I use the German version myself and it works with my Acrobat.)But I have no explanation why that doesn't work with your XFA-PDF.You might want to check whether there is any scripting code that resets the form upon opening.
597
Views
0
Likes
0
Answers
Re: Possible to fill 2 different table dependent on the data input ulibaehr - Adobe LiveCycle
Deborah,I almost never use Formcalc. It lacks some features - and you find sample scripts almost only for JavaScript.In my next book („XML und Scripting – SAP Interactive Forms und Adobe LiveCycle Designer", espresso Verlag) you can find this funktion (here is a sneak preview). Hope it helps:function copyTable(oMasterTable, bIgnoreBindingName ) { // Purpose: // In case there are duplicates of the table oMasterTable in the form // then this function copies oMasterTable to these duplicates. // The...
1699
Views
0
Likes
0
Answers
Re: Save LiveCycle Designer ES4 PDF Forms with Acrobat Reader DC ulibaehr - Adobe LiveCycle
This is how you should save your PDF in Acrobat. Then your users can save their data with the PDFs.
646
Views
0
Likes
0
Answers
Re: How to create duplicate subforms ulibaehr - Adobe LiveCycle
"the XML wears out with use". LiveCycle runs down the XML and fills the data into matching fields with the correct binding. But LiveCycle never runs back upwards in the XML to start filling other objects with matching bindings.You can use global binding by name (not recommendable as unsafe - you never know whether a field with the same name will be added in 4 years).Or you script: You copy the data manually from one subform to the next.
526
Views
0
Likes
0
Answers
Re: how create loop to skip every 4th value ulibaehr - Adobe LiveCycle
try the modulo-operator:if (iNumber % 4 == 3) { /* then skip */ } else { /* print */ }
820
Views
0
Likes
0
Answers
Re: Save LiveCycle Designer ES4 PDF Forms with Acrobat Reader DC ulibaehr - Adobe LiveCycle
or you try alternative PDF readers - they sometimes allow saving the data.
571
Views
0
Likes
0
Answers
Re: LiveCycle - Signature field in Text box ulibaehr - Adobe LiveCycle
What you got is a floating text field within a text box. This floating text field has been changed to a signature field later on in the object tablet.This way the signature box will float with the text in the box. (Assuming you set the text box to be expandable.)Be aware: text boxes are for static text (although it might be possible to change the text dynamically later on).If you plan to change the text in the text box at runtime, then you should switch to text-fields.If you plan to insert a pas...
845
Views
0
Likes
0
Answers
Re: preventing unautorize people to read a pdf. ulibaehr - Adobe LiveCycle
It depends on the required degree of confidentiality:It is possible to add a password with Acrobat to prevent unauthorized persons to open the PDF in Designer. But there are tools to open this PDF anyways. Regular users will not be able to read your scripting - others can.Of course you can ask for passwords and set subforms "hidden" oder "visible" depending on the password.sPassword = xfa.host.response("What's your password?", "Password", "", true);switch(sPassword) { case "CEO": this.presence =...
741
Views
0
Likes
0
Answers
Re: Annotations not accessible in form made in LiveCycle, saved as Reader enabled ulibaehr - Adobe LiveCycle
It is simply either / or in Acrobat: Either you chose the saving-form data-permission or you chose the annotate-permission. They do not allow you to have both - unless you reader extensions. (Annotations would be impossible in dynamic forms anyways. I suspect your form being dynamic, as it contains an expandable field.)
575
Views
0
Likes
0
Answers
Re: Possible to fill 2 different table dependent on the data input ulibaehr - Adobe LiveCycle
Without scripting it is (almost) impossible to fill two tables with the same XML data: You can bind your data "by name" (which you usually avoid, as it is unsafe in the longrun). You can duplicate your data in your XML. Or you can duplicate your XML data with XSLT. Or you script: Basically for every row being added during the XML import in the first table you add a row in the second table and copy your data there.
1484
Views
0
Likes
0
Answers
Re: Text field disappears after saving ulibaehr - Adobe LiveCycle
If you don't need a binding on the fields, then remove it! (In case there is some binding on those fields.)Sometimes that helps.
572
Views
0
Likes
0
Answers
Checkbox with named binding is reset after save ulibaehr - Adobe LiveCycle
I just came across an issue with checkboxes in interactive dynamic forms:Some checkboxes had a binding by name (i. e. no provision for any binding in the XML).[Actually by mistake as I have no data connection for this form anyways. But those needless bindings should not hurt.]Many checkboxes had the same name. (Table rows with true/false-checkboxes.)In the post-save event those checkboxes still had their values.But after saving the PDF and reopening it, those checkboxes had lost their values. Th...
447
Views
0
Likes
0
Answers and Comments
Re: Master page content area height ulibaehr - Adobe LiveCycle
John Brinkman's blog is not available any more. "John Brinkman" is unknown to Adobe.Does anyone know how to determine a content area's height?And: How do I find out which content area a particular subform is placed on (I suppose that this information is only available after layout ....). I am looking for a function getContentAreaOfSubform(this);[Background: I would like to calculate in a conditional break how many more rows are to come. Conditional breaks are executed before the layout-ready. Th...
432
Views
0
Likes
0
Answers
Re: "event.target.hostContainer is undefined" with signature fields ulibaehr - Adobe LiveCycle
I am afraid that won't help.I do not plan to pop up message boxes.The code I wrote in my question is actually stripped down to the minimum to visualize the problem:Accessing a subform containing a signature field throws an error message.That might be an issue of LiveCycle - or has some other reason. I was hoping someone else has come across this behaviour as well and can explain it. The best thing would be of course if someone knew a way of accessing such a subform without provoking an error mes...
795
Views
0
Likes
0
Answers
Re: If I have Acrobat DC do I have Livecycle form designer? ulibaehr - Adobe LiveCycle
Not if you have bought the designer.The designer used to be installed together with Acrobat. Certainly since Acrobat XI you have to buy it separatly - unless you licensed the LiveCycle-Server / AEM-Forms-Server. Then you have the designer included. Or if you use SAP - there you can also have a designer.
486
Views
1
Like
0
Answers
"event.target.hostContainer is undefined" with signature fields ulibaehr - Adobe LiveCycle
I got LC-Designer ES4 Vers. 11. In Acrobat XI (and possibly all other viewers) I have this problem:Whenever I access a subform containing a signature field (for example like this):var oBlockSignatureEKB = xfa.resolveNode("Exportcontrol.blockWithSignatures.blockSignatureEKB");console.println("setVisibilityOfSignatureEKB: [" + oBlockSignatureEKB.name + "]");then I get in JavaScript-Debugger this error messageevent.target.hostContainer is undefined126:1TypeError: event.target.hostContainer is undef...
1570
Views
0
Likes
3
Answers and Comments
Delaying process for seconds ulibaehr - Adobe LiveCycle
I have to delay my process for 2 seconds. "scheduleWait" allows only full minutes as parameter. Do you know any alternatives?
789
Views
0
Likes
0
Answers and Comments
submitForm on master page: objects vanish ulibaehr - Adobe LiveCycle
I have the identical code (see below) in the click-event of two buttons: one on the master page, the other on the text page.The code on the text page works fine.The code on the master page produces a "Form1 is undefined" error. The cause for the trouble is clearly the submitForm() - without it the presence change works perfectly.It appears that the submitForm() triggered from master page events destroys the internal object structure - the whole form is not found any more by the code.Do you have ...
476
Views
0
Likes
0
Answers and Comments
Changing visibility of subform on masterpage(s) - reverted after event ulibaehr - Adobe LiveCycle
In a click event change the visibility of a subform on a masterpage.Code looks like this:const sMasterpage = "openimmo.#pageSet.Seite1"; // find all incarnations of this master-page type: var arrayMasterpages = xfa.resolveNodes(sMasterpage + "[*]"); for (var i = 0; i < arrayMasterpages.length; i += 1) { arrayMasterpages.item(i).resolveNode("gruen").presence = "visible"; } // for ixfa.host.messageBox("test");The strange thing is: Up to the messageBox the subform is visible. But as soon as the cli...
497
Views
0
Likes
0
Answers and Comments
Re: xfa.host.exportData() with dynamic interactive table ignores new rows ulibaehr - Adobe LiveCycle
Managing data from a DB is a completly different ballbark. With a DB you cannot fill your table directly. You rather have to query your data and then loop over the results inserting them row by row. Am I right?So unfortunately your hint would lead to a different direction. My data source is XML.(Excel I have never tried. From what I hear you'd have to find a Microsoft-ODBC-driver for Excel. Sounds to me that the rest would be the same as with a DB.)I just finished some experiments with input-XSL...
520
Views
0
Likes
0
Answers
Re: xfa.host.exportData() with dynamic interactive table ignores new rows ulibaehr - Adobe LiveCycle
I tried to isolate the problem and wrote a litte form consting only of the table and the buttons.There I can export new rows.One difference to the original form is: In the little form I do not use a XSL to transform the input data.I also removed the XML file from the preview in the original form: same problem, new rows not exported.I will try a few things with an XSL for the output data. Maybe that will give a clue.
524
Views
0
Likes
0
Answers
Likes given to
Likes from