Question

How to disable the Sort by and Select fields to display options for All Portal Users

Hi Community,

How to disable the Sort by and Select fields to display options for All Portal Users. We want to set a standard column layout for them, we don't want them to access this functionality

 

Like 0

Like

4 comments

Hello. You can add method to your section file:

methods: {

...

    getViewOptions: function () {

        if (this.isSspUser()) {

            return this.Ext.create("Terrasoft.BaseViewModelCollection");

        }

    }

...

},



It will hide all view options for portal users.

Hello Fulgen. 

I'm trying to do the same, but i see your question doesn't has answer.

Pedro Longa,

Please check the answer Alexander provided Fulgen with:

Hello. You can add method to your section file:

methods: {

...

    getViewOptions: function () {

        if (this.isSspUser()) {

            return this.Ext.create("Terrasoft.BaseViewModelCollection");

        }

    }

...

},

It will hide all view options for portal users.

Best regards,

Oscar

 

Oleg Drobina,

Hi Oleg i need something similar about it,

Change the getViewOptions function so that only the Supervisor could change the column layout of the different sections for Employee Users

 

any advice?

Show all comments