Mattersphere Developers Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Changing caption of main “OK” Button Empty Changing caption of main “OK” Button

Mon 30 Mar 2020 - 8:11
One of the things that come out of our recent user pilot for Matter Centre was that the OK button in the top right hand corner of the main client\matter information screens is confusing to them - they didn't expect clicking this to close the MC window. We'd like to change the caption. We've identified which code lookup it is (RESOURCE\CMDOK), but we're reluctant to change the value of this as it will obviously have knock-on effects throughout the system.
Is it possible to change the code lookup that this button uses, and how would we go about it?
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Changing caption of main “OK” Button Empty Re: Changing caption of main “OK” Button

Mon 30 Mar 2020 - 8:12
If you wanted to you could change it by running a database query.update dbcodelookup set cdDesc = 'Close' where cdcode = 'CMDOK' and cdtype = 'RESOURCE' and cdUICultureInfo = '{default}'The knock on effect of changing this will mean that some popup dialogs will also be changed, there are quite a lot of them.It's the first time I've ever heard anybody ask for this to be changed though and you may cause more confusion by changing it
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Changing caption of main “OK” Button Empty Re: Changing caption of main “OK” Button

Mon 30 Mar 2020 - 8:12
We don't want to change the value of the description of the RESOURCE\CMDOK code lookup (which we can achieve fairly easily through the admin kit - in fact we already have in our development environment).
Whatwe want is to point that specific OK button at a different (probably new) code lookup, so that we don't affect every other OK button in the system! Is this possible - is it held in the database somewhere (lots of stuff seems to be hidden away in XML in the DB) or is it in the compiled code base?
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Changing caption of main “OK” Button Empty Re: Changing caption of main “OK” Button

Mon 30 Mar 2020 - 8:12
The codelookup code is what is tied within the code for this form and due to the nature of the functionality you may find all occurances where you have developed functionality and or the word OK has been used will use this same language Codelookup.
There is no way of changing the code that this form uses to override the codelookup but you maybe able to find the other locations where it has been used where it is changable IE within enquiryforms, searchlists etc etc
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Changing caption of main “OK” Button Empty Re: Changing caption of main “OK” Button

Mon 30 Mar 2020 - 8:12
This is suddenly a really big piece of work to change one caption... Also, there's no guarantee that this is the only hard coded use of that caption. When we changed the value of CMDOK in dev, we'd get it onany warning\error dialogs that came up, all of which are presumably hard coded, so it's pretty unlikely we'd get all of them anyway.
It's a real shame because I must admit I found “OK”quite misleading when I first started playing with MC just before Christmas, and it was a recurring theme in our recent user pilot.
avatar
Lynne Harding
Posts : 335
Join date : 2018-12-20

Changing caption of main “OK” Button Empty Re: Changing caption of main “OK” Button

Mon 30 Mar 2020 - 8:13
We can see why it may be useful to differentiate these so have created a wish for V5. We are at a late stage for V5 having just moved to beta so cannot make any firm promises but we will look into adding this facility.
Sponsored content

Changing caption of main “OK” Button Empty Re: Changing caption of main “OK” Button

Back to top
Permissions in this forum:
You cannot reply to topics in this forum