Hello community,
I have a question for you. How can I make a button that when you click, it will export the endpoints to the newly created FC? Then FC with points will then add it to the map.
namespace endpoints
{
    internal class Button1 : Button
    {
        protected override async void OnClick()
        {
            try
            {
                var result = await QueuedTask.Run < () > (() =>
                    {
                        var selectedFeatureSets = MapView.Active.Map.GetSelection();
                       //this is ID for endpoint esri_editing_EndPointArcConstructor
                        return ();
                    });
            catch (Exception ex)
            {
                MessageBox.Show($@"výjimka: {ex}");
            }
        }
    }
}
I will be very happy for any advice. Thank you!!!
Have a nice day
Please post in a single community space
Already deleted