SDK: Show or hide Metadata

New Here ,
Nov 20, 2020 Nov 20, 2020

Copy link to clipboard

Copied

Hi. Is it possible to show or hide metadata entries in my CustomMetadataTagset.lua depending on a setting in a propertyTable used in the PluginInfoProvider.lua?

TOPICS
How to, SDK

Views

64

Likes

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
Most Valuable Participant ,
Nov 20, 2020 Nov 20, 2020

Copy link to clipboard

Copied

Unfortunately not -- fields specified in a custom tagset will always appear. The best a plugin can do is overwrite the tagset .lua with a new definition and then ask the user to restart LR (obviously very inconvenient).

 

[Use the blue reply button under the first post to ensure replies sort properly.]

 

 

Likes

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
New Here ,
Nov 20, 2020 Nov 20, 2020

Copy link to clipboard

Copied

Too bad. But thanks for reply. Ist it then possible to change the title in the Defintion.Lua depending on a setting in a propertyTable?

Likes

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
Most Valuable Participant ,
Nov 20, 2020 Nov 20, 2020

Copy link to clipboard

Copied

No, everything referred to from Info.lua is static, read when the plugin is first loaded by LR.

 

[Use the blue reply button under the first post to ensure replies sort properly.]

Likes

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
New Here ,
Nov 20, 2020 Nov 20, 2020

Copy link to clipboard

Copied

LATEST

Thank you

Likes

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