Hi,
Unfortunately that didn’t work - I think the depth only works for normal keys with no dots (.)
See example below:
Works:
{{dc:looper:field key=“Courses.Course_Serial_Number” }}
or {{dc:looper:field key=“Courses.Course_Serial_Number” depth=“0” }}
“Courses”: {
“Course_Name”: “Course Name”,
“ID”: “118644000003209497”,
“zc_display_value”: “Course Name”;
“Course_Serial_Number”: “1153”
},
“ID”: “118644000004210484”,
“Start_Date”: “02 July 2024 09:30”,
“End_Date”: “02 July 2024 16:30”,
DOES NOT WORK
{{dc:looper:field key=“Courses.Course_Serial_Number” depth=“1”}}
“Courses”: {
“Course_Name”: “Course Name”,
“ID”: “118644000003209497”,
“zc_display_value”: “Course Name”;
},
“ID”: “118644000004210484”,
“Start_Date”: “02 July 2024 09:30”,
“End_Date”: “02 July 2024 16:30”,
“Courses.Course_Serial_Number”: “1153”
As you can see, getting the value in keys that has dot(.) doesn’t work even when you use whatever number of depths. But it works for normal keys(objects)
The test page is a Draft page with a title API Test