Generate multi-layer report sample - subreports and coded domains
Hello,
In working with the code sample "Generate multe layer report", I am able to alter the workflow and reports to display our data.
However on the subreports, I am unable to get the coded domain values to appear.
I have tried the following from the Administrators Guide to Essentials:
_img_ alt="User-added image" src="https://latitudegeo--c.na53.content.force.com/servlet/rtaImage?eid=90660000000XZsF&feoid=Body&refid=0EM60000000XqCA" _/_img_
I have also tried other things I have seen in the postings with no luck.
I am working with string coded domains vs. integer coded domains.
Anyone have any ideas?
Thanks,
Carmen
0
-
More info: I can set one of these subreports directly to layer in the Site (Site/Map/Layer/Reports) in Essentials Manager. Then Identify the layer and "run the report" from the identified feature and the subreport will display the domain value.
Bad- Subreport as displayed when actually a subreport of another report (I just have TYPE and then Type.name() in the subreport while testing). In this case Type.name() displays nothing - blank.
Good - when subreport added directly to the layer as a report in Essentials. Same little report but here the coded domain displays.
Thanks,
Carmen0 -
Hi Carmen,
I am still unable to generate a sub report, y issue was posted here in this link :https://support.geocortex.com/essentialsGSCForum?sub-nav=forum&main-nav=essentials&#!/feedtype=SINGLE_QUESTION_DETAIL&id=9066000000008bEAAQ , do you face the same issue, or do you have any solution?
Thank you,
Best,
Majdoleen0 -
Majdoleen,
The reports with subreports I am running are created and run from a workflow and not through reports set on the individual layers in GE.
I have not tried running a report from set within the site on one layer that has a subreport set on another layer in the Site (as you are). Sorry I cannot be of help- I am re-learning how the reports work after being away from reports for a year or more.
I know that my comment above may sound like that was what I was doing, but it wasn't.
Carmen0 -
Thank you Carmen,
I've tried the previous steps but the GE fails to generate the report, and I am re-learning how to build a workflow to run a report from multi-layers, if you can share yours with the one provided by Geocortex, that may help me.
Thank you,
Best,
Majdoleen0 -
Hi Carmen,
The multi-layer-report code gallery sample issues a query directly back to ArcGIS Server to get the data for the child reports.
The .Name() attributes are inserted by the Essentials Service Enhancement Proxy when it is configured to resolve coded domains. They won't be available if you are querying ArcGIS Server directly.
The best solution is to use the Get Coded Value Domain activity in your workflow to get the code-to-value dictionary, then add a column to the DataTable for your string representation. The new column is populated with the corresponding strings obtained via the Get Coded Value Domain activity.
Regards,
-Malcolm0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
5 Kommentare