INTERACT FORUM

Windows => Third Party Plug-ins, Programs, and Skins => Topic started by: jmone on November 23, 2023, 02:14:40 pm

Title: MCWS/MCC : DeleteField?
Post by: jmone on November 23, 2023, 02:14:40 pm
We have "CreateField", but is there a corresponding "DeleteField" that we can remove what we have added?
Title: Re: MCWS/MCC : DeleteField?
Post by: zybex on November 23, 2023, 04:30:49 pm
No, but you can delete the actual .jmd file in the library folder and restart MC  :P
This just clears the data for that field though, not the field itself.
Title: Re: MCWS/MCC : DeleteField?
Post by: jmone on November 23, 2023, 05:40:52 pm
No need to pursue this as Hendrik is going to look at the bigger picture in MC32 for JRVR.
Title: Re: MCWS/MCC : DeleteField?
Post by: MrBiff on February 03, 2024, 02:59:19 pm
I would like to request DeleteField for MCWS.

I create many fields via MCWS, and need a way to delete them programmatically to clean-up.  This is very tedious do do manually.

Also, I create a number of calculated fields via MCWS, and need a way to update the expressions. CreateField errors when trying to re-define the field.

Would these capabilities be possible to add?
Title: Re: MCWS/MCC : DeleteField?
Post by: lepa on February 04, 2024, 04:46:07 am
I could also use update and delete fields via MCWS. It would be handy when testing some stuff to use scripts to handle the fields
Title: Re: MCWS/MCC : DeleteField?
Post by: MrBiff on February 13, 2024, 05:30:55 pm
Also, I create a number of calculated fields via MCWS, and need a way to update the expressions. CreateField errors when trying to re-define the field.

This

Quote
32.0.17 (2/13/2024)
4. Changed: Library/CreateField can update a field if it already exists.

was a nice surprise.  Thanks.

Any possibility for field Delete?
Title: Re: MCWS/MCC : DeleteField?
Post by: Matt on February 13, 2024, 06:30:59 pm
Sure, I'll add DeleteField tomorrow.  Thanks for the suggestion.
Title: Re: MCWS/MCC : DeleteField?
Post by: MrBiff on February 26, 2024, 12:53:57 pm
Sure, I'll add DeleteField tomorrow.  Thanks for the suggestion.

This seems to work well for me.  Thanks.