02-13-2018 02:36 AM
Hi All,
is it possible to modify the response returned by Feature Info without overwriting it with a custom Feature Info handler?
For example, I would like to edit attributes returned by Feature Info but use default Feature Info handler to display them.
Thank you very much.
Denis
02-13-2018 02:50 AM
Hi Denis,
Not sure if I'm fully following the request but you have basically two options:
Have you checked following samples?
https://community.hexagongeospatial.com/t5/Shared-Samples/Custom-Feature-Info-With-Handler/ta-p/447
Thanks,
Jan
02-13-2018 04:18 AM
Hi Jan,
thank you for your reply.
sorry, I am not sure how I can be more clearer. I only need to remove some attributes. I do not want to create custom feature info handler or create my own windows. I can but it is extra work.
I did search for possible solution but haven't found anything and I don't know if it is possible.
Thanks,
Denis
02-13-2018 04:41 AM
I see. I'm not 100% confident if it is directly possible to manipulate the data before showing the standard Feature Info dialog. The featureInfoRequested has a parameter called transformargs, but it can probably work only with custom functions.
02-13-2018 06:24 AM
Hi Jan,
yes, I did look at transformargs but, unfortunately, it only let you change arguments and only for custom feature info handler.
Denis