11 Replies Latest reply: Feb 19, 2014 6:32 AM by Frank Caggiano
David Gordon Level 1 Level 1 (115 points)

I've created and am using some Custom Fields for metadata. I don't need a few of them so I want to delete them. However, the ones I want to delete don't appear "Manage Custom Fields". That doesn't seem correct to me!

 

Any idea as to what (if anything) has gone wrong here, or how to get rid of my unwanted fields.

 

Thanks!

  • Kirby Krieger Level 6 Level 6 (12,470 points)

    I'd "Repair Database" and try again, and if that doesn't work, "Rebuild Database" and try again.

     

    Backup first (though I've never heard of either operation damaging the Library).

     

    Neither is harmful, and may in fact be helpful run once every month or so on well-used Libraries.

  • David Gordon Level 1 Level 1 (115 points)

    I did try "Repair" first but that didn't do it. I'll try a "Rebuild" later. I want to make a backup copy first though and that will take a while.

     

    I'll report back!

  • Kirby Krieger Level 6 Level 6 (12,470 points)

    "Rebuild" is nervous-making, but I've never had any problem with it.  Kudos to the engineers.

     

    Let it run overnight.  And, of course, always have a back-up.

  • David Gordon Level 1 Level 1 (115 points)

    Tried a "rebuild" but its not solved my problem.

     

    I also just tried deleting another custom field. I got a warning that 11 pictures used this field and the data would be lost. True, the data was removed from the custom field - but the custom field remains in my metadata view.

     

    Can anyone else delete a custom field?

  • David Gordon Level 1 Level 1 (115 points)

    The only way I can fully remove a custom field is to first remove it from all metadata views. So I need to edit all metadata views which include the custom field I no longer need and remove it from those views. Then the custom field can be deleted.

     

    If the custom field is contained in any metadata views it will remain in that view even after it has been deleted and no longer exists in the custom metadata list.

     

    Does that make sense? Is it true for everyone else? Is it a bug or a feature?

     

    Thanks!

  • tonyboccaccio Level 1 Level 1 (0 points)

    I did what you did, removed it from all metadata views.  That didn't get rid of the custom fields I want to delete.  Worse, I redownloaded Aperture 3.4.5 thinking that the original program was damaged, and THAT didn't work.  I created a NEW library on my desktop, away from any other libraries, thinking it would be "clean".  It wasn't, it still has the custom fields I don't want.  AND,  the custom fields I want to delete that show up in the metadate info screen DON'T show up in the Metadata views.  Worse, the Custom Fields icon is now greyed out, so I can't even ADD or DELETE any fields.  What is going on here?  Any ideas?

  • Najinsky Level 3 Level 3 (670 points)

    David Gordon wrote:

     

    If the custom field is contained in any metadata views it will remain in that view even after it has been deleted and no longer exists in the custom metadata list.

     

    Does that make sense? Is it true for everyone else? Is it a bug or a feature?

     

    It kind of makes sense.

     

    When adding some types of feature, especially a delete facility, it can turn out to need an awful lot of code to do it really neatly and in a user friendly way. Ideally it needs to check all the places where it might get used and then inform the user that it's being used in those places, and then give the user an appropriate action to take.

     

    For example if it could be used as criteria in a smart album, what would the appropriate action be:

     

    Delete the smart albums that use it (and then what about anything using those smart albums)?

    Remove just that criteria from the smart album (thereby changing the images now selected by the smart album)?

    Something else?

     

    And so seemingly simple actions like delete a custom field suddenly require lots of design, UI, code and testing to implement really well, so simetimes shortcuts are taken.

     

    The shortcut here seems to be, don't actually delete it until nothing is using it anymore.

     

    A bit lazy perhaps, but features often have to fight for a place in a product due to priorities, and sometimes rarely used features are only allowed into the product if they can be done quickly (effort vs benefit).

     

    Andy

  • David Gordon Level 1 Level 1 (115 points)

    iI was a longtime ago but ...

     

    Are you sure you deleted all the metadata in the custom field you want to delete? I think I created a Smart Abum to do this, it would have been "if  MyCustomField is not empty". Then select all the images and use Batch Change to Clear Field (tick/check the box next to MyCustomField but don't enter any data).

     

    The custom field may look empty but you coould have a space or dot in there.

     

    DG

  • tonyboccaccio Level 1 Level 1 (0 points)

    Thank you.  This solved the problem.

  • tonyboccaccio Level 1 Level 1 (0 points)

    Thank you.  This solved the problem.

  • Frank Caggiano Level 7 Level 7 (25,715 points)

    See my reply in your other post.  You can remove the custom field without removing it from each individual place it it used

     

    Screen Shot 2014-02-19 at 09.20.23 .png

    You'll get this warning if it is in use.