Skip to main content
Adobe Photoshop Family



5.2K Messages


93.2K Points

Sun, Jun 16, 2013 12:10 AM

LIGHTROOM SDK: No way to set/get Export Containing Keywords, Export Synonyms

In LR 5, keyword:getAttributes() doesn't return the settings for Export Containing Keywords and Export Synonyms, and keyword:setAttributes() doesn't allow you to set those values (at least, when I tried "exportContainingKeywords = false" and "exportSynonyms = false").

Many users have complained that there is no way to set those attributes for all their keywords at once. Fixing this simple bug would allow a plugin to satisfy all those users.


4.5K Messages


76.3K Points

7 years ago

Semi-workaround for meantime: use SQLiteroom, which has option to clear "export containing keywords" upon startup. To modify to also clear "export synonyms", add

, includeSynonyms=0

to SQL statement (on first line, i.e. line before the semi-colon, so final script:

update AgLibraryKeyword set includeParents=0, includeSynonyms=0


115 Messages


1.6K Points

5 years ago

This problem still exists in LR 6.0.1 / OS X 10.10.3.

In addition, though getAttributes() will return the keywordType ("person" or ""), setAttributes() can't set the keywordType.