since ‎15-05-2008
‎10-12-2019
_jerome_dinnat_
Level 5
Re: How to select a specific XML node with XPath
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Hi, Try number(/process_data/@userid) but I'm not sure

Views

127

Likes

0

Replies

0
Mapping problems
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Hi, I posted this thread in Designer section but I think this place is more appropriate.I have a mapping problem. In my process I have two forms with the same xml schema binding to this forms.The first form is prefill with his informations (name, division, email etc ...), his superior informations and he can choose and fill a new superior.Once the form is fill and send, the new superior received the form with the completed informations.I use a setValue to extract the name of the superior and to ...

Views

388

Likes

0

Replies

4
Re: Radio Button and DataBinding
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Hi, I have a mapping problem. In my process I have two forms with the same xml schema binding to this forms.The first form is prefill with his informations (name, division, email etc ...), his superior informations and he can choose and fill a new superior.Once the form is fill and send, the new superior received the form with the completed informations.I use a setValue to extract the name of the superior and to associate it with an Assign Task and map the data of the first form into the second ...

Views

174

Likes

0

Replies

0
Re: Radio Button and DataBinding
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
OK, finally I have no values for all my fields in one form in the process.I have a process with an Initform. The form is binding with an xml schema.The user fill it and I map the fields with a setValue in a string variable and in the second form with the same schema. As so far no problems, it works.Next the second form is approved or denied and I map the fields with a setValue and there is a problem. I tried to map into string variables, xml variables, boolean variables and I've got nothing. I d...

Views

174

Likes

0

Replies

0
Re: Radio Button and DataBinding
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
I'm mistake myself. The RadioButton value appears in the xml data and is correct ( value 1 or 2)

Views

174

Likes

0

Replies

0
Re: Radio Button and DataBinding
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
I try to bind it with a radiobutton but it binds it always with my RadioButton group. I will try to bind it correctly with my schema because of your trick you gave me. What kind of type must be the element in my schema to bind the radio button correctly ? Int, Boolean , String ?

Views

174

Likes

0

Replies

0
Re: Radio Button and DataBinding
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
OK, the RadioButtonList value is empty in the xml data file.

Views

174

Likes

0

Replies

0
Re: Radio Button and DataBinding
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
I don't understand what you mean by writing the data out of the form neither how to do that but if it could help, in my form, I have several fields (drop down list, textfield and check box ) binding with my xml schema and I have no problems with them.If you explain me what you mean I could try your solution. Thanks again 😄

Views

174

Likes

0

Replies

0
Re: Script Objects
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Yes, I use this script in an other form and it works and I do the same things for this form so I don't understand why it doesn't work 😞My email address : jdinnat@gmail.comThank you for your help.

Views

56

Likes

0

Replies

0
Radio Button and DataBinding
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Hi, I have a group of two radio buttons in a form. I bind it with an xml schema but when I try to use the value of the radio button selected (1 for the first and 2 for the second) my variable logger print me null.How can I bind radio buttons to know the selected one ?Thank You 🙂

Views

852

Likes

0

Replies

9
Script Objects
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Hi, I create scripts Objects for a form and it works.I create scripts Objects for an other one and it doesn't work, however it is the same Objects.In my subform I click on Insert Script Object and rename it "format". I create two functions : function test(){ xfa.host.messageBox("hello");}and function minMajLogin(tfield){ //(Met les deux premières lettres du login en majuscules et le reste en minuscules) xfa.host.messageBox("hop"); var chaine; var majuscule; chaine = tfield.rawValue.toLowerCase()...

Views

250

Likes

0

Replies

3
Re: OLEDB Dataconnection and XML Schema
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Thank You for helping me 🙂

Views

161

Likes

0

Replies

0
Re: OLEDB Dataconnection and XML Schema
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Ok finally I create two web service : one to populate my drop down list with users login and an other one to populate my field firstname, email and lastname when a login is choosen.I don't know if this is the best practice.

Views

161

Likes

0

Replies

0
Re: OLEDB Dataconnection and XML Schema
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Hi, I finally create a web service. It provides me informations about some users. I have a list of users defined by fields login, name and email.I bind the login with a drop down list and the name and email with textfields.When I preview my pdf, I can browse my list with my login but my fields name and email keep the same value and don't take the values associates.Do I need to script to do that ? If you have an example or a link, it would be great. Thank you

Views

161

Likes

0

Replies

0
Re: OLEDB Dataconnection and XML Schema
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Ok thanks. You suggest me to use web services ? I know nothing about web services and I must create a specify web service and not use one already created. It could take me time to do that.Thank you very much for having help me.

Views

161

Likes

0

Replies

0
Re: OLEDB Dataconnection and XML Schema
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Have you set up the data connection in the form to run server side?- Yes, in the connection propertiesIf that is the case then you only need to set up a DSN on the server....but I would be concerned about performance if you have a large number of forms beinng rendered.Which type of DB is it and how much data are you retrieving? - It's a mysql database with only one table. There are 2500 entries in the table and 10 fields by entry. I need to retrieve 5 or 6 field by entries

Views

284

Likes

0

Replies

0
Re: OLEDB Dataconnection and XML Schema
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
I need to set up a DSN for each user of the process ? If I set up once on the server It would not work ? :'(

Views

284

Likes

0

Replies

0
Re: OLEDB Dataconnection and XML Schema
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Yes, I will do that. I have hope there is another solution that creating hidden fields. It's too bad not to be able to use the fields binding with the database connection.Thank you very much, you were a great help for me 🙂 .

Views

284

Likes

0

Replies

0
Re: OLEDB Dataconnection and XML Schema
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
I understand but the Import/Export bindings offers me just web services and no oledb dataconnection 😞I understand the difference between the 2 levels and for me It make sense to bind a field with the two source but I can't do this in designer. Why Import/Export binding doesn't offer me a oledb dataconnection ?I created no dataconnection on the form.Thank you for your previous answer. It did help me.Thanks

Views

284

Likes

0

Replies

0
OLEDB Dataconnection and XML Schema
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Hi, I create a form with fields binding with a OLEDB dataconnection.It's work, I can request my database and store my data.I want to be able to can access these field in a process (with workbench ES).If I bind fields with a xml schema I can access to them and manipulate them but I can't bind them with a OLEDB dataconnection and a xml schema.How can I do this ?Thank you and I hope you could understand me 😄

Views

1.8K

Likes

0

Replies

23
Re: Script, Workflow
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
It works if I save my form in a dynamic pdf.What is the difference between xdp and pdf. I mean in what cases must I use the xdp form or the pdf form ?Thank You.

Views

44

Likes

0

Replies

0
Script, Workflow
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Hi, I do a form (test1.xdp) with a Textfield (A) and a CheckBox. When I click on the checkbox, the text appears.It works on the preview Pdf tab.But I use this form in a workflow but when I click the box the TextField doesn't appear. Javascript in the checkbox click event if(this.rawValue==1){ xfa.host.messageBox("Le texte est visible"); this.resolveNode("A").presence = "visible"; }else{ xfa.host.messageBox("Le texte est caché"); this.resolveNode("A").presence = "hidden"; }The messageBox work but...

Views

245

Likes

0

Replies

2
Workspace abilities
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Hi,Is it possible to view a form in the process tracking, in the audit tab, when we are not the owner of the form data ?Is it possible to view the next steps of the process ?Thank you.

Views

1.1K

Likes

0

Replies

2
Re: Initial User Selection and Xpath
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Sorry 😛I created a form in LiveCycle Designer. In this form, there are two fields "commonname" and "id" binding with fields of the XML Schema edcprincipalentity I created.In my process, an user fills the field commoname with the name Tony Blue for example. An other user receives the form but the id field is still empty. I though the field will fill automatically.I must use a SQL statement to retrieve the id in the table and map it in the form. I don't understand how it works really. Can you exp...

Views

36

Likes

0

Replies

0
Re: Initial User Selection and Xpath
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Finally, I can send the form fill from a user to another with a "query single row" with the SQL statement "SELECT id FROM edcprincipalentity WHERE commonname = '{$ /process_data/InitForm/object/data/xdp/datasets/data/RECORDS/RECORD/commonname $}'"I use a variable for the id.My new problem is that the field id binding with the id from the edcprincipalentity table is still empty. I can have it with the variable but with the binding the id's field must be fill, isn't it ? Thank you.

Views

191

Likes

0

Replies

0
Re: Initial User Selection and Xpath
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
I have a new error : No active group found with GroupPrincipalId: Tony BlueI don't know how i did but once Tony Blue received the form fills with the corrects fields ( alex pink filled the name Tony Blue and he received the form with Tony Blue and his ID filled, I want a user fills the field "name" (ex Tony Blue) and the form will be receive by this correct person. I changed nothing but now I have this error : No active group found with GroupPrincipalId: Tony BlueCan you explain me how to do wha...

Views

191

Likes

0

Replies

0
Re: Initial User Selection and Xpath
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
My xml schema ?

Views

191

Likes

0

Replies

0
Re: Initial User Selection and Xpath
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
yes, i just did it and I got the same error : Assignment to XPath was specified with the following expression: /process_data/InitForm//commonname , but this expression did not evaluate to anything.

Views

191

Likes

0

Replies

0
Re: Initial User Selection and Xpath
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Hi,In my form I have a field name binding with commonname in my xml schema built with the edcprincipalentity table.I tried /process_data/InitForm/object/data/xdp/datasets/data/RECORDS/RECORD/commonnamein the xpath expression but i have this error : Assignment to XPath was specified with the following expression: /process_data/InitForm/object/data/xdp/datasets/data/RECORDS/RECORD/commonname, but this expression did not evaluate to anything.

Views

191

Likes

0

Replies

0
Initial User Selection and Xpath
Avatar

_jerome_dinnat_

_jerome_dinnat_
- Adobe LiveCycle
Hi,I try to select an initial user by Xpath expression.I have a form with a field name binding with commonname from the edcprincipalentity table, a field userid binding with id from the same table.I have in my process variables username (Type string)and userid (Type string) and i try to map them with my fields but they are still empty.I try to send a form fill by a user to a user specify in the form by fill the xpath expression in initial user selection with : - /process_data/@iduser (doesn't wo...

Views

974

Likes

0

Replies

11