Skip to main content
Inspiring
March 18, 2014
Question

Move keyword to new position in keyword hierarchy

  • March 18, 2014
  • 1 reply
  • 659 views

I want to create a plug-in that can move (a)  keyword(s) to a new location in the existing keyword hierarchy.

I do find a function to create a new keyword (catalog:createKeyword), but is there a way to move a keyword to a new location.

So a current keyword object should get a different parent (LrKeyword object).

Btw, the keyword could have a number of underlying keywords.

This topic has been closed for replies.

1 reply

areohbee
Legend
March 18, 2014

Reparenting is probably not as simple as you'd like, but you can see Keyword Consolidator source code for sample logic.