The Welkin Suite Forum

[Solved] Cannot ADD.. EXISTING ITEM files

Cannot ADD.. EXISTING ITEM files

  • Please log in to reply

windows version welkinsuite


    Posted 16 Oct 2018 and edited 17 Apr 2019

    Bloom22, v1.23.1.4

    I have a .cls file I created in one Org.  I pulled it down from that Org, copied the .cls class from the "classes" folder of that project to the "classes" folder of another project.  

    When I right-click the "classes" folder in Solution Explorer, I choose ADD... then EXISTING ITEM...

    First issue, the popup FileDialog has "SOQL, Anonymous Apex Files" as the file types to show.  It should default to show class files with a ".cls" extension, since I am on the "classes" folder.

    Second issue, I type "*.*" into the File Dialog to override the default file type(s) so I can see all the files in the folder. I highlight the file(s) I want to add, click OPEN, the window closes, and no files are added.

    Third issue, The ADD... NEW ITEM... context menu will add existing files.  If I try to add a new file, and I give a name of a file that already exists but is not part of the project, TWS adds the file name to the project, and it appears in the Solution Explorer.  But when I open that new file, it contains the code from the existing file that was already in the folder.

    1 replies to this topic



      Posted 17 Oct 2018

      Hi George,

      Thank you for contacting us on this and for bringing this to our attention.

      First of all, I want to draw your attention that for adding your existing class file (or any another metadata file which is already present in your project folder) you can use the 'Refresh project according to sources' command from the context menu of your project in the Solution Explorer.
      You can find more information about this functionality here (in the 'Refresh a project according to local sources' paragraph).

      As for the 'Add existing item' functionality, it was implemented for adding your existing SOQL and Anonymous Apex files as external files. All the details about this are described here.
      In a frame of this, there is no ability to add any another selected file even after you could select it in a File Dialog.

      Also, thank you for sharing with us the issue related to adding a new item with the name that another file from a folder has.
      We will work to solve this.

      Please let me know if you have any other questions - we will be happy to answer them.

      Best regards,


      Kate Dulko
      Customer Relations

      The Welkin Suite

      twitter: @KateDulko
      skype id: d_katerina



      Boost Your Productivity. Get Started Today

      Try Free Trial