SDK: Show or hide Metadata

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

28

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

SDK: Show or hide Metadata

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

29

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
Nov 20, 2020 0
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
Reply
Loading...
Nov 20, 2020 0
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
Reply
Loading...
Nov 20, 2020 0
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
Reply
Loading...
Nov 20, 2020 1
Nov 20, 2020

Copy link to clipboard

Copied

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
Reply
Loading...
Nov 20, 2020 0