AnsweredAssumed Answered

Why do I have a create button at the top

Question asked by Kenneth Brill on Oct 17, 2018
Latest reply on Apr 4, 2019 by Martin Nice

Using SugarCRM 8.0.0.  I have a link that opens a custom select list (with a filter), the code looks like this


linkRelatedTemplate: function () {
          var filterOptions = new app.utils.FilterOptions()
                            'initial_filter': 'filterByClass',
                            'initial_filter_label': 'LBL_FILTER_BY_CLASS_TEMPLATES',
                            'filter_populate': {
                                 'brd_class_c': ['Template']

                    layout: 'multi-selection-list',
                    context: {
                         module: 's2s_brd',
                         filterOptions: filterOptions,
               }, _.bind(this.selectDrawerCallback, this));

But when my drawer opens instead of an ADD button at the top I get a CREATE


My Select Screen


Does anyone know where I might start looking for the cause?