since ‎30-10-2007
‎10-12-2019
kc
Level 5
Re: Flowing columns of different sizes to new page kc - Adobe LiveCycle
Hi Niall,I did have a look at it and I can't seem to get it right. Do you understand my requirement for having two unequally long columns and that I need them to be paginated to the next page?It should look like this if both columns will paginate: Currently this is done in Jetform, so I guess it must be possible somehow in Livecycle ES also, I just can't get it to do what I need. I hope you have some pointers on were to look SincerelyKim Christensen
135
Views
0
Likes
0
Answers
Flowing columns of different sizes to new page kc - Adobe LiveCycle
Hi all,I have a quick question regarding columns in Livecycle Designer, I have an scenario where I have two columns that will get filled with data (rows of repeating elements from XML).The two columns are independent and they are NOT equally high. The left column is shorter than the right one.So the issue is that I need these two columns to flow to a new page. If the left column (which is shorter) is filled up first it should overflow to the next page and show an empty right column. Vice versa i...
1104
Views
0
Likes
2
Answers and Comments
Opening signature dialogue with a click on a button kc - Adobe LiveCycle
Hi all,I have a simple question,How is it possible to open the signing dialogue (like when you click on the signature field) from another button.I mean - I have a simple test form with one button and one signature field and I want to open the signing dialogue when I click the button - not the signature field.Hope you understand what I am trying to do?CheersKim ChristensenDafolo A/SDenmark
526
Views
0
Likes
0
Answers and Comments
Re: Getting value of a variable in another script object kc - Adobe LiveCycle
Hi again radzmar,Thanks alotThis made it easy for me - even though I need more than one scriptobject (I have to handle multiple languages). But it works perfectly 🙂Once again thank you for your help - it is most appreciatedCheers\Kim
88
Views
0
Likes
0
Answers
Re: Getting value of a variable in another script object kc - Adobe LiveCycle
HI again radzmar,You are right - I could have been more precise in my description 🙂i have two script objects.In the first one ("MyTexts") I have a lot of texts declared like this:var infotext1 = "blah blah blah";var infotext2 = "blah blah blah blah";In my second script object ("functions"), I have a function that looks something like this:getTexts(fieldName){ var textValue = xfa.form.variables.MyTexts.(value of fieldName);//pseudocode as I don't know the syntax to reach this value return textVa...
93
Views
0
Likes
0
Answers
Getting value of a variable in another script object kc - Adobe LiveCycle
Hi all,I have a scenario where I have one script object (MyTexts1) containing a lot of text for the form (each of the texts are stored in variables (fx. MyTexts1.infoText1). The variables are named after the fields (meaning that I have a field called "infoText1"). So for each field I call a function that takes the name of the field. This function (located in my script object called "functions") should somehow then find the value of the variable in "MyTexts.infoText1".Now my question is:How can I...
1125
Views
0
Likes
4
Answers and Comments
Re: Invoking a LiveCycle process with multiple input variables using REST kc - Adobe LiveCycle
Bump...Nobody who has an idea of how to do this?Thanks in advanceKim ChristenenDafolo A/SDenmark
86
Views
0
Likes
0
Answers
Invoking a LiveCycle process with multiple input variables using REST kc - Adobe LiveCycle
Hi all,A simple scenario brushup:I have an LC process that takes as input 2 parameters:- formID- formXMLThe user starts out with an empty interactive form and fills out some info in this form. In the end he/she clicks submit and now I want to invoke my process to create a flattened form from the XML just entered in the interactive form.The process returns a flattened form with the data merged with the XDP template referenced in formID. Simple as that.What I basically need is to do something simi...
810
Views
0
Likes
1
Answers and Comments
Re: Trusted functions in Reader through browser plugin kc - Adobe LiveCycle
Hi again dohanlon,You were right, something in my script on the form was not executed correctly - seems like the util.stringFromStream does not work in the form if you run it in the plugin. I changed my code into usinsg the stringforStream method in my trusted function and then it suddenly worked.Thanks a lot for your help btw - it led me into understanding that it was possible to use the trusted functions inside the belly of the browser plugin also\Kim
100
Views
0
Likes
0
Answers
Trusted functions in Reader through browser plugin kc - Adobe LiveCycle
Hi all,I have created a trusted function that works perfectly when I open my form directly through Reader or Acrobat 🙂My trusted function does something like import a file as an attachment from a certain place on disk.However when I try to open it through the browser plugin (ie. Internet Explorer) it does not work - what could I be doing wrong? And what do I need to take into consideration to make it work through the browser plugin?Please don't hesitate to ask if you need further information.Th...
795
Views
0
Likes
2
Answers and Comments
Re: Execute .bat file from LC kc - Adobe LiveCycle
Hi again,The .bat file is located here: c:\file.bat on the server. When I invoke the process through Workbench nothing happens, but when I execute "cmd /c c:\file.bat" in "Run" on the server then the .bat file is executed. CheersKim Christensen Dafolo A/S
136
Views
0
Likes
0
Answers
Re: Execute .bat file from LC kc - Adobe LiveCycle
Hi Nith,I tried your suggestion – however it does not work as I expected. The process seems to execute – however nothing of what is in the bat file is done:E.g. I have this bat file – and when I run it with your suggestion in LC nothing happens – when I run it on the server I get the copy of the file:I have added the following in my Execute Script service action:Runtime.getRuntime().exec("cmd /c c:\\file.bat");The .bat file looks like this:ECHO OFFCOPY "C:installer_debug.txt" "C:new_installer_de...
139
Views
0
Likes
0
Answers
Execute .bat file from LC kc - Adobe LiveCycle
Hi all,I have a situation where I need to execute a .bat file from LC. Is that possible and how should I approach this?Thanks in advanceCheersKim ChristensenDafolo A/S
1183
Views
0
Likes
4
Answers and Comments
Access values in external text file kc - Adobe LiveCycle
Hi all,I am trying to reach some external properties (name, phone etc.) of the logged in user. All of this is stored in a txt-file on the client, but I am unsure how to get hold of this information with Javascript. Any help out there?Thanks in advanceSincerelyKim ChristensenDafolo A/SDenmark
590
Views
0
Likes
0
Answers and Comments
Create a PDF with DDX that can be converted to PCL by generatePrintedOutput kc - Adobe LiveCycle
Hi all,I have a scenario that puzzles me a bit.I have some forms that are Interactive forms (stored as XDP with the property Dynamic XML Form).I need to assemble these xdp-forms (and fill them with data) and add it all up in one PDF. This PDf should be converted to PCL and later shipped off to a printer. However I see a conflict in doing this by using the Invoke DDX and generatePrintedOutput services.I can easily create my PDF, but to make it work I have to include the tag in my DDX. However wh...
512
Views
0
Likes
0
Answers and Comments
Obtain Endpoint value inside Process kc - Adobe LiveCycle
Hi all,If I have a process that will be invoked by either REST, SOAP or any of the other endpoints - how can I obtain the info of which endpoint that really called the process and store this in a variable in the process?Alternatively I would like to obtain all of the endpoint values of the process - is this possible?SincerelyKim ChristensenDafolo A/SDenmark
476
Views
0
Likes
1
Answers and Comments
Re: Log entries from ExecuteScript service kc - Adobe LiveCycle
Hi again,Found the answer myself 🙂To do this, you must setup your Weblogic server to redirect stdout to the server log. This is done in the adminserver console under Server - Logging - Advanced - "Redirect stdout to server log".Hope this helps somebody out thereHave a good one all of you SincerelyKim ChristensenDafolo A/SDenmark
110
Views
0
Likes
0
Replies
XSLT file with process_data values kc - Adobe LiveCycle
Hi there,I have a process that takes in an XML file and some XSLT in another document variable and some process_data values from the main process.Inside this process I would like to invoke the XSLT on the XML and use the process_data values inside the XSLT. This works fantastic if I use the "template" setting for the XSLT and add some XSLT code like:
2236
Views
0
Likes
1
Answers and Comments
Add custom fle type to PDFG kc - Adobe LiveCycle
Hi there,I have a native program that I use for converting some custom created files. I just would like to know if it is possible somehow to configure PDFG to use this batch program to do the conversion.If this is not possible - could you tell me an alternative way of using LiveCycle to do the conversion - I mean is there a simple way to make LC invoke a native executable file?Thanks in advanceKim ChristensenDafolo A/SDenmark
1518
Views
0
Likes
1
Answers and Comments
Log entries from ExecuteScript service kc - Adobe LiveCycle
Hi all,A have tried to use an ExecuteScript with the following code on a LC ES 2.5 Weblogic Windows 2003 installation:import org.apache.log4j.*; Logger myLog = Logger.getLogger("com.myname.logger");myLog.error("Error in my central server log");However I cannot find this in any of the logs.If I use the same approach on an JBOSS installation this would end up in the server.log file, however I am not sure which log file it actuially should be in?Can you help me?Thanks in advanceSincerelyKim Christe...
833
Views
0
Likes
1
Replies
Custom Component that creates a shared Logger kc - Adobe LiveCycle
Hi all,I am wondering how to create a custom component that instantiates a Log4J logger on boot up the server.I am using LC ES 2.5.In general I would like to know how to create some component that instantiates a class when the server boots Thanks in advanceSincerelyKim ChristensenDafolo A/SDenmark
623
Views
0
Likes
0
Answers and Comments
Checking whether a server is running kc - Adobe LiveCycle
Hi all,I have a form that should submit its xdp to a server side component. However if the server is down the user is left with a Error 404.I am submitting through the following code:myDoc.submitForm({ cURL: submitUrl , cSubmitAs: "XDP", aPackets: ["*", "pdf"], cCharset: "utf-8",}); I am wondering if there is any way you can do a test before I do the actual submit to see if the server is up and if it is then do the submit?Anyone with an idea how to do this?Thanks in advanceSincerelyKim Christens...
388
Views
0
Likes
0
Answers and Comments
Re: Custom Service Component to setup LOG4J logger kc - Adobe LiveCycle
Hi again Nith,This was my initial thought as well, but the customer want the individual processes to log to individual files that rolls every day. Hence I am not sure I can use the AdobeLogger?The code you show here should be placed in a executeScript service right? And then it will log to the managed server log (I am on WebLogic 11g) i guess.Is my initial question/scenario impossible to achieve or is it just difficult?\Kim
83
Views
0
Likes
0
Answers
Custom Service Component to setup LOG4J logger kc - Adobe LiveCycle
Hi all,I am doing a project where I have a number of processes (renderPDF, renderPDFA, and renderPCL) Each of these processes are run many times during the day and they need to log in each of their own logfiles. I have setup the log4j properties file up right and got almost what I want. Now I just need all of the above processes to share the same log instance. Hence I have tried to create my own service component that should be instantiated at startup of the server. However I must do something w...
1055
Views
0
Likes
2
Answers and Comments
Using namespaces kc - Adobe LiveCycle
Hi all,I am doing a project where a process receives an xml-file and should then render a form corresponding to the xml. Simple ehh However I find some difficulties using namespaces in the xml that is contained in the xml. For instance when a namespace changes version its reference in the xml changes e.g. fromxmlns:formko="http://xmls.skatteverket.se/se/skatteverket/formular/komponent/0.2"toxmlns:formko=http://xmls.skatteverket.se/se/skatteverket/formular/komponent/0.4"Whenever this happens I fi...
1207
Views
0
Likes
0
Answers and Comments
Re: Variable containing a list of lists kc - Adobe LiveCycle
Hi again Vik, Thank you so much for your sample.It works perfectly – however it is not exactly what I was looking for. Let me try to describe the scenario: I have a form with (or without) a schema (I don’t think that it matters that much with the schema). The form needs to be filled through a web service call with the structure that contains the children inside numerous childGroups (like the one you sent me). So when the form opens it reads the social security number and fetches the kids of this...
86
Views
0
Likes
0
Answers
Re: Variable containing a list of lists kc - Adobe LiveCycle
Hi Jasmin,How did you manage to do this? I tried my self, however I did not succeed.How was your set value created for the map? ANd do you know whether it would work if the map of lists was exposed as the output of a SOAP web service?Thanks in advance\Kim
88
Views
0
Likes
0
Answers
Re: Variable containing a list of lists kc - Adobe LiveCycle
Hi again Vikram,Thank you so much for your quick reply.I cannot see the attachments in the post - can you try to repost them?Thanks in advance\Kim
89
Views
0
Likes
0
Answers
Re: Variable containing a list of lists kc - Adobe LiveCycle
Hi there Vik,I was afraid that this was the case.I have thought exactly the same thing that you are saying with an xml-variable, but haven't been able to achieve what I want.What I want is the form to fill out the fields one by one when I invoke the process, however when I invoke the process through the form I just get one field with all the xml structered in the way of the xml-schema, but I am not sure how I can take this xml and use it to fill the fields in my form.My XML structure is like the...
86
Views
0
Likes
0
Answers
Variable containing a list of lists kc - Adobe LiveCycle
Hi all,In LC Workbench you can define a variable to be a list of lists. However what I have realized is that it does not seems to work as I expected.Scenario:I need a process that returns a list containing a number of elements that themselves are lists. I want to use this in a form to represent some type of structure in this form.I have created a process that with a list variable of strings (ChildList) and one variable which is a list of list (ChildGroup).I create and fill the ChildList and this...
1221
Views
0
Likes
7
Answers and Comments