Highlighted

xfa.log object - API documentation

Avatar

Avatar

_Michael_Feicht

Avatar

_Michael_Feicht

_Michael_Feicht

17-02-2009

Hi Everybody,



I've been looking for the complete documentation of the xfa-object inside the LC Designer, respectively the xfa.log object.



The code completion offers that particular object to log messages to the designers "Log" tab. I managed to log a messages using the xfa.log.message() method which takes two parameter (int, String) but I can't find the API-Docs for this and the other methods (trace(), traceEnabled(), traceActivate(), traceDeactivate()).



Another point is that the message() method just works for static PDF forms.



Does anybody know where you can get a complete API documentation for LC Designer or please tell me where "Designer Scripting Reference 8.2" or the "LiveCycle Designer ES" documentation handles that topic (e.g. xfa.log object and its methods).



kind regards

Michael

Replies

Highlighted

Avatar

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692
pguerett

23-02-2009

What are you trying to do with that command ..... I found some info but it is not much more than you get with th eobject assist. It is meant to be used to write messages to the log reporter when using Server side scripts. It is not for interactive operation.
Highlighted

Avatar

Avatar

_Michael_Feicht

Avatar

_Michael_Feicht

_Michael_Feicht

26-02-2009

Hi Paul,



thanks for your answer.



Basically I'm trying to debug the scripts I wrote for my PDF forms. Therefore it would be very helpful to get the API documentation for the xfa.log object.



kind regards

Michael
Highlighted

Avatar

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692

Avatar

pguerett

Total Posts

7.7K

Likes

611

Correct Answer

692
pguerett

26-02-2009

That won't do you any good ....use app.alert messages or xfa.host.messageBox. If you feel messages will affect the flow of the script you can use the console.println to write a message to the javascript console. To see the console hit Ctrl-J after the form has been rendered. Note that you will require Acrobat to see the console.



xfa.log is used for host level script debugging and not interactive debugging.