Skip to main content
johnrellis
Legend
December 8, 2023
Open for Voting

P: SDK: keyword:getAttributes() and keyword:setAttributes () should support all the attributes

  • December 8, 2023
  • 0 replies
  • 97 views

While LR 13 (finally!) added keyword:setParent(), the methods getAttributes() and setAttributes() still don't support all the keyword attributes. In particular:

 

- keyword:getAttributes() should also return the fields "exportContainingKeywords" and"exportSynonyms".

 

- keyword:setAttributes () show allow the fields "exportContainingKeywords", "exportSynonyms", and "keywordType". 

 

This is trivial to implement.  It would allow plugins to provide batch (bulk) editing of keywords using the SDK, without having to resort to using "sqlite3" to modify the catalog database (as my Any Tag plugin does).

 

Does Adobe really mean to encourage the use of unsupported modification of the catalog database simply to batch-edit the Person attribute?