Klipfolio. The KPI Dashboard - Evolved
The KPI Dashboard – Evolved
1-877-233-6149
Contact Us

Adding Custom Menu Options

Problem:

You want to create additional menu options for a specific item or for all items in a Klip.

Solution:


To add a custom option in any item's right-click menu, use Items.actions(). Parameters should be pairs of text to be displayed in the menu and the function associated with it. Note that the custom menus are not saved across KlipFolio sessions.

function onRefresh() {
    ...
    Items.actions = [ "Custom Menu Option 1", firstFunction,
                             "Custom Menu Option 2", secondFunction ];
    ...
}

For adding custom right-click menu options for items that meet specific criteria, use Item.actions() in a similar manner.

See Items.actions and Item.actions in the API documentation for more details and examples.

Leave a Comment

To leave a comment, you must sign in or register (it's free).

   
Comment Type:
Title:
Comment: