Create Multiple Feature Attachments with the photo name underneath for the label
We would like to create a feature report that will have multiple feature attachments. Yes we can use the multiple feature attachment tool, however it does not pull in the photo name that was inputted into picture once we renamed it. Is there a way to pull in the photo name so its a "caption" for the photo itself? Ie. "Photo looking north"
-
Hi Claire,
As far as I know, this isn't possible with the attachment controls. I'd suggest posting a request for this on https://communities.geocortex.com/s/ideas ; I think I've heard of others looking for this, but haven't seen it posted up there yet.
I think it would be possible to do this without using the attachment controls, but it would take quite a bit more work to set up. A high-level overview is that you'd add a subreport, and set the subreport's data source to a SQL connection with the underlying table from your geodatabase that contains the attachments. Then you'd parameterize the subreport and its query filter by using the REL_OBJECTID field (see example from https://docs.geocortex.com/reporting/latest/help/Default.htm#rpt5/help/master-detail.htm#Tutorial_-_Create_a_Master-Detail_Report_Using_a_Subreport?TocPath=Include%2520Data%2520in%2520Reports%257CInclude%2520Related%2520Data%2520in%2520a%2520Report%257CTutorial%2520-%2520Create%2520a%2520Master-Detail%2520Report%2520Using%2520a%2520Subreport%257C_____0) . From the fields list within the subreport, you'd drag both the data field and the attachment name field into the Detail band.
0 -
Thanks Amanda. I will take a look at your workaround. I have posted this as an idea as well.
0 -
@Amanda Frech? Unfortunately, using the sql server connection is not an option due to Geocortex 5 series products are on the web adapator and we cannot open up our sql server databases to be exposed. Hopefully the idea posted will be something that can be integrated.
0
Please sign in to leave a comment.
Comments
3 comments