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

Prevent custom plugin metadata fields from being copied when creating virtual copy

New Here ,
Feb 26, 2025 Feb 26, 2025

I am new the writing lightroom plugins, and am trying to make a plugin that generates a unique identifier for images to be help with tracking variants of images in my sales workflow. The plugin needs to treat each virtual copy of the same image seperately so that the unique id is not duplicated anywhere in the catalog. I am trying to use a custom metadata field for the unique identifier and have been setting it using the "setPropertyForPlugin" method. However, I notice that the metadata field is copied over to a virtual copy when the original photo has the metadata field populated. Is there a way to prevent a metadata field from being duplicated in a virtual copy?

TOPICS
SDK
91
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 , Feb 26, 2025 Feb 26, 2025

As discussed in your other post, fields set with catalog:setPropertyForPlugin() are per-catalog, not per-photo; for per-photo fields, use photo:setPropertyForPlugin().  

 

Unfortunately, the per-photo custom fields get copied into the virtual copy when it is created. There's no way to stop that.

Translate
LEGEND ,
Feb 26, 2025 Feb 26, 2025
LATEST

As discussed in your other post, fields set with catalog:setPropertyForPlugin() are per-catalog, not per-photo; for per-photo fields, use photo:setPropertyForPlugin().  

 

Unfortunately, the per-photo custom fields get copied into the virtual copy when it is created. There's no way to stop that.

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