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

Get "Metadata Status" via the SDK

Advocate ,
Jun 18, 2024 Jun 18, 2024

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
263
Translate
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.

Translate
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.

Translate
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
LATEST

Thanks @johnrellis 

Translate
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