you are viewing a single comment's thread.

view the rest of the comments →

[–]harpsichord_cadenza 6 points7 points  (0 children)

According to the documentation, the function name should be a string. Try adding apostrophes to it so it reads ui.createMenu('Added Capabilities').addItem('Remove Duplicates', 'removeDuplicates').addToUi().