Custom Customer Field

Moderator: crythias

Post Reply
tnieman
Znuny advanced
Posts: 103
Joined: 14 Nov 2012, 21:59
Znuny Version: 3.1.6
Real Name: Tom Nieman
Company: WorkForce Software

Custom Customer Field

Post by tnieman »

We created a custom field in the Customer object called SSORole. It is a picklist with 3 values "No Access", "Limited Customer", and "Default Customer". See the lines below that we inserted into Config.pm in the Customer Map section.

Code: Select all

            [ 'SSORole',               'Customer SSO Role',             'sso_role',        1, 0, 'var', '', 0 ],

        ],

        # default selections
        Selections => {
              SSORole => {
                '' => 'No Access',
                'Limited_Customer' => 'Limited Customer',
                'Default_Customer' => 'Default Customer',
             },
Because of some logic in our single sign on (SSO) server the value of "No Access" has to be blank.

My issue is that I want to make "No Access" to be the default. I can't seem to figure out how to accomplish this.

Any ideas?
tnieman
Znuny advanced
Posts: 103
Joined: 14 Nov 2012, 21:59
Znuny Version: 3.1.6
Real Name: Tom Nieman
Company: WorkForce Software

Re: Custom Customer Field

Post by tnieman »

I fixed this by changing No Access to Access Denied. It sorts alphabetically and is now the default.
Post Reply