Sign In   Register
  Tuesday, 27 July 2021
  0 Replies
  120 Visits
0
Votes
Undo
  Subscribe

Hi All,

In my form users can create various entities (individuals,companies,trusts,partnerships etc.) and add addresses which are saved as an array of values in their corresponding Data Fields in the format: [{''label":person1:"value":person1},{''label":person2:"value":person2},.....]. This Data Field for example allIndividuals is then used as the data source for the data driven drop down Directors in the companies repeat. This all works very nicely until the Form is Saved and Re-opened when the data is not saved:

All Data Fields are configured the same way and are included in the Submission Data:

On Save the data is as follows:

data.allIndividuals =
(6) []
0: Object { label: "", "$$hashKey": "object:4003", "$i": 0, }
1: Object { label: "John Frederick Smith", value: "John Frederick Smith", "$i": 1, }
2: Object { label: "Bilbo Baggins", value: "Bilbo Baggins", "$i": 2, }
3: Object { label: "Frodo Baggins", value: "Frodo Baggins", "$i": 3, }
4: Object { label: "Gandalf Wizard", value: "Gandalf Wizard", "$i": 4, }
5: Object { label: "Roger Federer", value: "Roger Federer", "$i": 5, }
length: 6

On re-open of the form the data reads:

data.allIndividuals =
0: ""
1: ""
2: ""
3: ""
4: ""
5: ""
length: 6

Furthermore..................

if I add another Data Field and store the data in the format: [{"individual":person1},{"individual":person2},..]

The Data is returned on for reopen in the format:: [{"Individual":person1},{"Individual":person2},..]

where the identifier is capitalised.

Before Save

data.allSimpleEntities =
(5) []
0: Object { individual: "John Frederick Smith", "$p": {}, "$i": 0, }
1: Object { individual: "Bilbo Baggins", "$p": {}, "$i": 1, }
2: Object { individual: "Frodo Baggins", "$p": {}, "$i": 2, }
3: Object { individual: "Gandalf Wizard", "$p": {}, "$i": 3, }
4: Object { individual: "Roger Federer", "$p": {}, "$i": 4, }
length: 5
After Save and Reopen
data.allSimpleEntities =
(5) []
0: Object { Individual: "John Frederick Smith" }
1: Object { Individual: "Bilbo Baggins" }
2: Object { Individual: "Frodo Baggins" }
3: Object { Individual: "Gandalf Wizard" }
4: Object { Individual: "Roger Federer" }
length: 5
I could probably live with this except not all (simple)data fields return values some are blank as in the first example:
If I save data in a certain form, I expect to see it back in the same format.
What am I doing wrong or is this a Bug?
There are no replies made for this post yet.
Be one of the first to reply to this post!

Q&A Forum - Tips

The purpose of the Temenos Journey Manager platform (TJM) Q&A forum is for all clients and partners to seek help...

Read More

Not a member?

Register to ask a question and access to more content.

Join now

Looking for something else?

You can request access to:

  • Courses
  • Full Release Notes
  • Product Downloads
  • SDK

Request access

Leader Board

1
Mark Murray
User's Points: 1360
2
Lin Vanoevelen
User's Points: 1046
3
Julio Berrueco Pinto
User's Points: 715
4
Matthew White
User's Points: 386
5
Chad Thomas
User's Points: 300