photools.com Community

IMatch Discussion Boards => General Discussion and Questions => Topic started by: herman on August 31, 2018, 10:21:49 PM

Title: Attribute importer {Application.DateTime} help needed
Post by: herman on August 31, 2018, 10:21:49 PM
I am an absolute app noob, most of this stuff is way over my head, so please bear with me if I am misunderstanding something.

I am trying to fill an attribute "Date and time" field with the current Application Date and time using the Attribute Importer app.
Whatever I try, I do not get the attribute field filled.

To illustrate my problem I defined a super simple Attribute set called "Test" consisting of just one field called "Date and time", being of the "Date and time" data type (see screenshot).

I set up the importer app to use the {Application.DateTime} variable to fill the target attribute (see screenshot).

When I select an image, call up the app and click "Run import" it tells me that it processed the file but the Attribute field of the selected image remains empty.

I don't know if this is a bug or just misunderstanding / misuse from my side.

Any guidance will be highly appreciated.

[edit]
FWIW, I am using IMatch 2018.8.8
[/edit]
Title: Re: Attribute importer {Application.DateTime} help needed
Post by: Mario on September 01, 2018, 07:56:27 AM
The Attribute import is managed by IMWS. It currently does not support IMatch Application variables. Only {File....} variables.
This is a limitation. I may look into this for a future version of IMatch.

The list of supported variables is returned by the v1/variables/list endpoint.
Title: Re: Attribute importer {Application.DateTime} help needed
Post by: herman on September 01, 2018, 08:14:10 AM
Thanks Mario, that explains.

I can work around it, so no big problem.
Title: Re: Attribute importer {Application.DateTime} help needed
Post by: Mario on September 01, 2018, 10:21:28 AM
I have enhanced the IMWS embedded in IMatch to support IMatch application variables {Application.*}.
Included in the next regular release.
Title: Re: Attribute importer {Application.DateTime} help needed
Post by: herman on September 01, 2018, 10:59:16 AM
It has been said before, I can only repeat: your support is incredible!

Thank you very much for this quick implementation, I am looking forward to the next release.
Title: Re: Attribute importer {Application.DateTime} help needed
Post by: Mario on September 01, 2018, 11:18:38 AM
This was relatively easy to do and I'm working at IMWS right now anyway.
All endpoints working with variables will benefit from that when used from IMatch apps.