Open Feature Details to Specific Datalink Tab
I am attempting to create a workflow that will open up the feature details to a specified datalink tab (addresses). Due to the fact that one to many relationships aren't supported in the map-tip I would like to have a workflow sitting in the map tip where if the user clicks on it, it will open up the feature details to the addresses tab. Has anyone sucessfully accomplished this? I do know that I can set a default tab that will always open when a user click "view additional details" however I don't want this as the default tab (theres a good post about this).
I've gotten as far as running the external command "ShowFeatureDetailsExpanded" I'm just not sure if there is a way to open it to a specific data link tab. I'm guessing it'd be similar to the showcharting view and displaychart by id? only with a datalink?
Thanks!
Shawn.
0
-
Hi Shawn,
The data for the one-to-many data links is loaded asynchronously, and thus is not available immediately when the Results View (table) is populated. So, there is no built-in way to show the feature details with a specific data link tab because they aren't there when the feature details first appears.
One possible solution would be to rewrite your data link as a one-to-one query (perhaps by joining the rows returned into one column value) and then including the relevant information in your Feature Details.
Another solution would be to implement some custom viewer code to show the data link when it became available. Feel free to post to our Ideas section with a description of your business case!
Regards,
-Malcolm0 -
Hi Malcom, Is there any way for the feature details (in expanded view) to open up to the Description Tab rather than the Details Tab? Shouldn't this be there when the feature details first appear? 0 -
Change"defaultTabViewForLayer": { "FeatureAttributesProviderView": "default" },to"defaultTabViewForLayer": { "FeatureDescriptionProviderView": "default" }in the viewer configuration files.
https://docs.geocortex.com/essentials/gvh/latest/admin-help/Default.htm#gvh/admin/modules/featuredetails-module.htm#Configuration_Properties_..60%3FTocPath%3DModules%7CFeatureDetails%2520Module%7C_____10
Please sign in to leave a comment.
Comments
3 comments