Hi,
I am working on creating multiple plugin data sources. For the files that are not recognizable by the ArcGIS Pro I have created the custom item and then converting the data source into the feature layer.
I also have some file extensions that are recognizable by the ArcGIS Pro like csv and txt. In those cases since cant create custom item (which as per documentation even if created will be ignored) so I have created a drag and drop handler and therefore converting them into feature classes.
But this will not cover the scenarios of converting file into feature layers from places like Add Data dropdown in the Map tab ribbon, Add to current map, Add to new map (in the context menu). In these scenarios its just adding the file as a standalone table which is by default. But I want to add feature layer as well in these scenarios.
So now what I am thinking if we can capture certain event and then implement the same. I tried the StandaloneTablesAddedEvent since in all those scenarios, a standalone table is added. But the problem or the blocker I am facing that I am not able to convert standalone table to feature layer then.
StandaloneTablesAddedEvent.Subscribe(OnStandaloneTableAdded);
private void OnStandaloneTableAdded(StandaloneTableEventArgs args)
{
}
Any ideas or help here??
@GKmieliauskas @Wolf @UmaHarano