7 Replies Latest reply on Feb 9, 2015 10:51 PM by donfmorrison

    Programmatically search for new ERD Elements of Interest based on new Search Root criteria

    RAtkinson

      I have a number of ERD displays that are setup with a specific Search Root.  I want to programmatically clear out the existing Elements of Interest, change the Search Root, and then add the new Elements of Interest based on the new Search Root parameter.

       

      I've already figured out how to:

       

      1) Clear the old contexts out the Elements of Interests list.

       

      2) Change the ERD.LastSearch.RootElementString named value.

       

      What I'm struggling with is how to programmatically tell it so search for the new elements and populate the Elements of Interest list.  (As if I were clicking the Search & OK buttons on the Element Search dialog box) Any ideas?