Sign In   Register
  • I have a Repeat Block Template in the Form with the below fields inside the Repeated Content:

    textfield: userName (id)
    textfield: userAge (id)

     

    How do I map the above to the properties in the Model (already created) below?

    <applicant>
       ...

    I have a Repeat Block Template in the Form with the below fields inside the Repeated Content:

    textfield: userName (id)
    textfield: userAge (id)

     

    How do I map the above to the properties in the Model (already created) below?

    <applicant>
        <repeatingFields>
            <individual>
                name   <--- property (it has a circle on the left in the Form editor)
                age      <--- property (it has a circle on the left in the Form editor)
            </individual>
        </repeatingFields>
    </applicant>

     

    And the expected outcome in the submitted xml is:
    (I have trouble achieving this)

    <applicant>
        <repeatingFields>
            <individual>
                <name>John</name>
                <age>33</age>
            </individual>
        </repeatingFields>
        <repeatingFields>
            <individual>
                <name>Peter</name>
                <age>44</age>
          </individual>

        </repeatingFields>
    </applicant>

     

    I have tried mapping the fields (userName, userAge) to the Model's name and age (e.g. select field userName, then double click name on the Model). But only the last repeat (Peter, 44) appeared and is inside the <TrackingCode> (which is not what I want)

    If I use Repeat instead of Repeat Block Template, it still only returns the last repeat (Peter,44), however, it is in the proper structure (ie. <applicant> ...)

    Thoughts

    • I believe the model's <repeatingFields> structure together with <name> and <age> shall also be made known to Maestro in some way to identify it as a repeat block maker in order to build the desired XML data for submission. How do I achieve this?
    More
    1. View Post
    0
    0
    0
    0
    0
    0
    Post is under moderation
    Stream item published successfully. Item will now be visible on your stream.
Unable to load tooltip content.

Not a member?

Register to ask a question and access to more content.

Join now

Recent Q&A

How to hook into the scroll event of a dialog obje ...
I have a dialog object that contains a lot of data for disclosure statements. T ...

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: 1366
2
Lin Vanoevelen
User's Points: 1046
3
Julio Berrueco Pinto
User's Points: 715
4
Matthew White
User's Points: 387
5
Chad Thomas
User's Points: 300

Announcements

Please be advised that the following Temenos Journey Workspaces release is now available.

Website tips

Online eLearning videos now available

The Knowledge team is excited to announce that all online eLearning content has now been consolidated into the Journey Platform website to provide a more streamlined user experience.  

Read more ...