Prevent Column layout modification for regular users on Freedom UI

Hi,

 

Is there a way to prevent column layout modification for non-admin users ?

 

I tried to search for client code or operation permissions, but without any luck.

Like 0

Like

3 comments
Best reply

You can add the following to the List (crt.DataGrid) values:

"features": {
    "columns": {
        "adding": false
    }
}

If this is a section list, it would look like this:

{
    "operation": "merge",
    "name": "DataTable",
    "values": {
        "features": {
            "columns": {
                "adding": false
            }
        }
    }
}

If this is something for only admins, you'd need to add an attribute to the page and then use that for the value: 

"adding": "$MyAttributeName"

Ryan

You can add the following to the List (crt.DataGrid) values:

"features": {
    "columns": {
        "adding": false
    }
}

If this is a section list, it would look like this:

{
    "operation": "merge",
    "name": "DataTable",
    "values": {
        "features": {
            "columns": {
                "adding": false
            }
        }
    }
}

If this is something for only admins, you'd need to add an attribute to the page and then use that for the value: 

"adding": "$MyAttributeName"

Ryan

Ryan Farley,

So no global parameter. It's a shame. By the way, thanks for all your articles, it's a goldmine.

Jerome BERGES,

Thanks! Yes, sadly, no way to do this for all lists without adding this to every single one.

Show all comments