MscrmTools / Javista.AttributesFactory

A, XrmToolBox plugin to manage attributes from an Excel spreadsheet
GNU General Public License v3.0
10 stars 4 forks source link

Feature request for column deletion #30

Closed ArneRustad closed 1 year ago

ArneRustad commented 1 year ago

Hi,

Another feature request from me in quick succession of the previous. It would be quite useful if the tool also allowed for easy deletion of columns. Until now I've been using Attribute Manager for this, but when a lot of columns are to be deleted it is both quite tedious and time consuming as you have to go through the process of doing this for every single one of them.

My initial thought would be to add another choice to the Action column (add "Delete" or something in addition to "Ignore" and "Process"). This would match very well with the already included export functionality of the tool, where we could just export the table information to Excel and then quickly select action "Delete" for those columns we want removed.

Is this something that would be difficult to implement?

Kind regards, Arne

MscrmTools commented 1 year ago

It should take at least 10 minutes to implement 😆 But it would be just hard try to delete the attribute. If the attribute is referenced somewhere (form, view, plugin, etc.) the deletion will fail.

ArneRustad commented 1 year ago

Haha, sounds good! Even just deletion of unreferenced attributes is very useful. I can imagine that deletion of columns that are referenced somewhere (as done in the Attribute manager tool) is a quite complex procedure, but would of course be even more useful.