photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: Darius1968 on January 13, 2023, 04:05:07 PM

Title: Attribute Importer Always Creates A New Record
Post by: Darius1968 on January 13, 2023, 04:05:07 PM
I'm trying to use the Attribute Importer to import {File.Path|substr:92,7} into {File.Info.Date (as text)}Replace existing Attribute data is toggled off. 
The result is the creation of a new record with just one attribute of all 6 possible attributes being filled with the desired data.  But, how do I make this operation more efficient by having the app just import the info I want into the the already existing record instead of adding a 2nd record?  Thanks. 
Title: Re: Attribute Importer Always Creates A New Record
Post by: Mario on January 13, 2023, 06:56:29 PM
It will always add new records. It does not delete or replace or update existing Attribute records. If there are 3 records already for a file, which one should it choose to update? All? The first?
Title: Re: Attribute Importer Always Creates A New Record
Post by: Darius1968 on January 14, 2023, 01:09:07 AM
With that in mind, would it be possible to tell the attribute importer with which record (via the index formatting function) it should be concerned?  
Title: Re: Attribute Importer Always Creates A New Record
Post by: Mario on January 14, 2023, 10:15:16 AM
The index formatting function allows you to select a specific value from repeatable (multi-value) tags like keywords when you access them via variables.

The Attribute Importer app was designed to allow users to add Attribute records from existing metadata/variables.
You can add new Attribute records or replace all existing records for the selected files. There is no feature to add or modify a specific Attribute in an existing record.

As always, feel free to open a feature request in the feature request board, describing the intended change / enhancement.
If this is something several other users need as well, I'll look into it.