since ‎03-10-2009
‎10-12-2019
ulibaehr
Level 2
Re: Embed Files?
Avatar

ulibaehr

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.

Views

607

Likes

0

Replies

0
Re: conditional data binding question
Avatar

ulibaehr

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".

Views

1.4K

Likes

0

Replies

0
Re: Convert PDF created using LiveCycle Designer to PDF viewable in Adobe Reader?
Avatar

ulibaehr

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

Views

1.4K

Likes

0

Replies

0
Re: Convert PDF created using LiveCycle Designer to PDF viewable in Adobe Reader?
Avatar

ulibaehr

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...

Views

1.5K

Like

1

Replies

0
Re: curved text
Avatar

ulibaehr

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.

Views

785

Likes

0

Replies

0
curved text
Avatar

ulibaehr

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.

Views

1.0K

Likes

0

Replies

3
Re: Issue With Hiding Pages Dyamically
Avatar

ulibaehr

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?

Views

537

Likes

0

Replies

0
javascript variable not recognized
Avatar

ulibaehr

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...

Views

980

Likes

0

Replies

2
Re: Variable javascripts will not work properly in Reader
Avatar

ulibaehr

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?

Views

968

Likes

0

Replies

0
Re: Save LiveCycle Designer ES4 PDF Forms with Acrobat Reader DC
Avatar

ulibaehr

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.

Views

711

Likes

0

Replies

0
Re: Possible to fill 2 different table dependent on the data input
Avatar

ulibaehr

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...

Views

1.9K

Likes

0

Replies

0
Re: Save LiveCycle Designer ES4 PDF Forms with Acrobat Reader DC
Avatar

ulibaehr

ulibaehr
- Adobe LiveCycle
This is how you should save your PDF in Acrobat. Then your users can save their data with the PDFs.

Views

761

Likes

0

Replies

0
Re: How to create duplicate subforms
Avatar

ulibaehr

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.

Views

591

Likes

0

Replies

0
Re: how create loop to skip every 4th value
Avatar

ulibaehr

ulibaehr
- Adobe LiveCycle
try the modulo-operator:if (iNumber % 4 == 3) { /* then skip */ } else { /* print */ }

Views

880

Likes

0

Replies

0
Re: Save LiveCycle Designer ES4 PDF Forms with Acrobat Reader DC
Avatar

ulibaehr

ulibaehr
- Adobe LiveCycle
or you try alternative PDF readers - they sometimes allow saving the data.

Views

687

Likes

0

Replies

0
Re: LiveCycle - Signature field in Text box
Avatar

ulibaehr

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...

Views

930

Likes

0

Replies

0
Re: preventing unautorize people to read a pdf.
Avatar

ulibaehr

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 =...

Views

798

Likes

0

Replies

0
Re: Annotations not accessible in form made in LiveCycle, saved as Reader enabled
Avatar

ulibaehr

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.)

Views

643

Likes

0

Replies

0
Re: Possible to fill 2 different table dependent on the data input
Avatar

ulibaehr

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.

Views

1.6K

Likes

0

Replies

0
Re: Text field disappears after saving
Avatar

ulibaehr

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.

Views

623

Likes

0

Replies

0
Checkbox with named binding is reset after save
Avatar

ulibaehr

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...

Views

493

Likes

0

Replies

0
Re: Master page content area height
Avatar

ulibaehr

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...

Views

447

Likes

0

Replies

0
Re: "event.target.hostContainer is undefined" with signature fields
Avatar

ulibaehr

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...

Views

842

Likes

0

Replies

0
Re: If I have Acrobat DC do I have Livecycle form designer?
Avatar

ulibaehr

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.

Views

529

Like

1

Replies

0
"event.target.hostContainer is undefined" with signature fields
Avatar

ulibaehr

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...

Views

1.6K

Likes

0

Replies

3
Delaying process for seconds
Avatar

ulibaehr

ulibaehr
- Adobe LiveCycle
I have to delay my process for 2 seconds. "scheduleWait" allows only full minutes as parameter. Do you know any alternatives?

Views

829

Likes

0

Replies

0
submitForm on master page: objects vanish
Avatar

ulibaehr

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 ...

Views

516

Likes

0

Replies

0
Changing visibility of subform on masterpage(s) - reverted after event
Avatar

ulibaehr

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...

Views

537

Likes

0

Replies

0
Re: xfa.host.exportData() with dynamic interactive table ignores new rows
Avatar

ulibaehr

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...

Views

572

Likes

0

Replies

0
Re: xfa.host.exportData() with dynamic interactive table ignores new rows
Avatar

ulibaehr

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.

Views

573

Likes

0

Replies

0
Likes given to
Likes from