Latest post Thu, Jul 26 2018 4:20 PM by iozamiz. 0 replies.
Page 1 of 1 (1 items)
Sort Posts: Previous Next
  • Thu, Jul 26 2018 4:20 PM

    • iozamiz
    • Not Ranked
    • Joined on Thu, Jun 7 2018
    • Posts 2
    • Points 30

    Cannot add User Settings Tab

    Hello,

     

     I am trying to export a user settings tab by following the documentation here: http://developer.avid.com/mcux_ui_plugin/clux-api/settings/system-settings-api.html#how-to-export-the-user-settings-tab

    I cannot get the tab to show up when I drop a built version of my plugin into the /opt/avid/share/nginx/nux/plugins

     

    Here is the config in my index.js file

     

    {
    name: 'user-settings-tab-2',
    provides: ['user-settings'],
    create: () => {
    const config = {
    config: {
    path: [{ index: 100, id: 'group1', displayName: 'Group 1' }],
    index: 150,
    displayName: 'UserSettings1'
    },
    factory() {
    return new UserSettings();
    },
    };
    return config;
    },
    },
    
    

    Here is my UserSettings implementation:

    export default class UserSettings {
    render({ domElement, saveHelper }) {
    console.log('RENDER CALLED');
    domElement.innerText = 'HELLO WORLD!';
    console.log(saveHelper);
    }
    }

Page 1 of 1 (1 items)

© Copyright 2011 Avid Technology, Inc.  Terms of Use |  Privacy Policy |  Site Map |  Find a Reseller