Disable export of data link tables
I have data links set up for multiple layers that I use to build charts, that works great. But when a user tries to export a selction of features from those layers with data links, it also exports a seperate tab with the data link table. Is there a way to have it not do that and only export the features in the layer on the map that they selected?
The reason is that there are potentially thousands of rows of data in the data link relation to the features they selected, and if they try to export more than about 20 features, the whole browser freezes and sometimes crashes, and they don't need those data from the data links anyways in the export. The same thing happens when they export to XLXS or CSV.
0
-
Hi Max,
You can disable datalinks being exported. To do this, you need to edit the "Results" module in your viewer's Desktop.json.js file. This is typically located here:
C:\Program Files (x86)\Latitude Geographics\Geocortex Essentials\Default\REST Elements\Sites\YOURSITE\Viewers\YOURVIEWER\VirtualDirectory\Resources\Config\Default
Open this file in a text editor and find the "Results" module. Change "includeDataLinksOnExport" to false - see below:{ "moduleName": "Results", "moduleType": "geocortex.essentialsHtmlViewer.mapping.infrastructure.results.ResultsModule", "libraryId": "Mapping.Infrastructure", "configuration": { "showInvisibleAttributesOnExport": false, "includeDataLinksOnExport": false, ..........
Some more information can be found here:
https://docs.geocortex.com/essentials/gvh/2.10/admin-help/Default.htm#gvh/admin/modules/results-module.htm#Configuration_Properties_..19
Thanks,
Marion.0 -
Yes! That was easy, thanks! 0 -
Hello!
I realize this post is +2 years old....but is there a way to disable export on only some of the data links? The approach outlined above disables it for all data links. I would like to disable it on specific tables/data links, while still allowing other data links to be exported along with their related features. Is this possible?
Thank you,
Stephanie0 -
Hi,
Just following up to see if anyone has been able to turn off the export function for specific data links while allowing other data links to export with the feature class?
Thanks again,
Stephanie0
Please sign in to leave a comment.
Comments
4 comments