• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Get "Metadata Status" via the SDK

Advocate ,
Jun 18, 2024 Jun 18, 2024

Copy link to clipboard

Copied

A small question for the experts.

 

Is it possible to get "Metadata Status" via the SDK?

 

Metadata Status is available as tagset but I can't figure out how to get it.

.

TOPICS
SDK

Views

157

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

LEGEND , Jun 18, 2024 Jun 18, 2024

The only way, which the Any Filter plugin uses, is to use catalog:findPhotos(), which uses the same mechanism internally as smart collections:

catalog:findPhotos {searchDesc = {
    criteria = "metadataStatus", 
    operation = "==", 
    value = "changedOnDisk"}}

 

It's very fast, even on large catalogs.

Votes

Translate

Translate
LEGEND ,
Jun 18, 2024 Jun 18, 2024

Copy link to clipboard

Copied

The only way, which the Any Filter plugin uses, is to use catalog:findPhotos(), which uses the same mechanism internally as smart collections:

catalog:findPhotos {searchDesc = {
    criteria = "metadataStatus", 
    operation = "==", 
    value = "changedOnDisk"}}

 

It's very fast, even on large catalogs.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advocate ,
Jun 19, 2024 Jun 19, 2024

Copy link to clipboard

Copied

LATEST

Thanks @johnrellis 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines