If I create a Data Action to process the currently selected feature, how can I add the data action to the map's popup window (not the feature-info widget)? I want the user to be able to click on a feature in a particular layer, review the attributes for that feature then execute the data action, if they wish. Is this possible? Am I forced to use use the feature-info widget?
Any sample code would be much appreciated.
Thanks in advance