1
0
-1

Hello,

I'd like to change our "Task List" page in our Form Space so that it pulls out specific details from the submission, rather than just the formName and TrackingCode...

So, the resource called tile-todo.htm cycles through the itemList and pulls out information such as: ${item.toDo.submission.formName}... Which is great; but, for us, we only have one form so it's unnecessary to have it there. I could just remove that reference but I thought it'd be neater to actually pull information from the submission record itself - such as Surname - so that the Task List page is more usable.

Is this possible? Could I perhaps get data from the XML of the submission or is the "submission" reference at this point a bit more abstract? 

Thanks in advance,

Rich 

 

    CommentAdd your comment...

    2 answers

    1.  
      2
      1
      0

      Hi Richard,

      The best way to achieve this is to set up Form Data Extracts (from the Data Config of the Form Version), which you can then access using the formDataMap on the submission object.

      For example, to get the First Name of an applicant, create a Form Data Extract called "First Name", mapping to the relevant xpath in the submission XML.

      You can then get this value in the tile-todo page by adding:

      ${item.toDo.submission.formDataMap.firstName}

        CommentAdd your comment...
      1.  
        1
        0
        -1

        Fantastic. Thanks David, that's spot on.

        Rich 

          CommentAdd your comment...