I have a feature service with two related tables. I have surveys that reference all three elements separately (the parent feature service, the 1:1 table and the 1:M table). I would like to be able to run feature reports for one of the related tables, but also include attributes from the related parent record.
Can this be done directly in the syntax of the feature report template, or does this need to start from data design? In this case my parent feature layer includes jurisdictions and their basic information, and the 1:1 table is a status record. They are linked through globalID, and I didn't think to include some of the basic data already contained in the primary. Can I pull that data through the report template, or should I redesign the table to include it?
Solved! Go to Solution.
Hi @SFM_TravisBott ,
If I understand correctly, this should be available in the feature report, as long as all layers are in the same service. Using the above example:
Please refer to the Repeats section in https://doc.arcgis.com/en/survey123/browser/analyze-results/featurereporttemplates.htm.
Would you mind sharing more examples or detailed designs of your layers/stables/surveys?
For example, you have 3 tables:
In a feature report for survey C, you want to reference the parent record in layer A when iterating records in layer C.
Does the above example look like what you want?
@ZhifangWang You have it correct!
There are two iterations that I would like, in descending order of importance, as the second I can (sort of) already accomplish. Using your examples:
Can we do it? Do we have the technology?
Hi @SFM_TravisBott ,
If I understand correctly, this should be available in the feature report, as long as all layers are in the same service. Using the above example:
Please refer to the Repeats section in https://doc.arcgis.com/en/survey123/browser/analyze-results/featurereporttemplates.htm.
@ZhifangWang Thank you!
This works perfectly, and I was quickly able to reference those parent records in a feature report. Seems very simple and makes plenty of sense now that I see it, so thank you for getting me there.
@ZhifangWang - Returning to this after a little bit: Is this workflow still valid?
The documentation hasn't changed, but I've gone to implement this precisely as I had it before but to no avail. I am working with the first example... I am running a report from a 1:1 child record, and trying to reference an attribute in the parent. I cannot seem to access any record in the parent layer.
${City} is definitely a valid field in the parent layer....
Please let me know if anything has changed on Esri's end that would invalidate this workflow.
I have had similar issues and posted a few times on here and there seems to be very little support or responses. I have 3 posts that have been without a response for the past 2-3 weeks.
Will follow this and see which gets a response first.
Well I'll take heart that you're equally un-answered, but remain demoralized that I can't seem to get this figured out.
I don't know if it's always been this way but most of the posts I've made over the last few months have gone almost completely unanswered. Between the inconsistent support here and Esri's failure to update or provide accurate documentation at the pace they make changes it's easy to get frustrated.
Hi @SFM_TravisBott ,
I'm sorry that this caused any confusion.
Could you please keep an eye for our next release and try it out then?
Regards,