Allow Users to keep track of their communication history with your Client by outputting Form Cases.
You can use the following links to learn how to set up a Secure Page and the means to access it:
Allow Users to keep track of their communication history with your Client by outputting Form Cases.
{% include 'user_form_submissions', layout: 'default' %}
Parameters:
You can find the user_form_submissions Layouts at the following path in Code Editor: layouts/modules/module_5/user_form_submissions/
Inside this folder, a single Liquid file can be created to act as your Layout. There is no "wrapper" and "item" file needed for this kind of Layout.
You'll need to use a Liquid For Loop to loop over the records in this Layout.
One of the benefits of this is that you can rename the variable under which your fields are kept. If you like you can store the variables under the namespace "this".
Or, if you want to output the form_submissions layout inside a user_details Layout for example, you can store the variables under a different namespace e.g. case and continue to use this to refer to the user_details (Liquid variables are always inherited by Layouts included within them).
In the following examples, we'll use the namespace "case", but you can substitute this for the namespace you chose when creating your loop.
To see the available data on Page load as JSON, output your namespace within the loop:
e.g. <p>{{case}}</p>