I successfully extended records.js to show/hide some custom detail fields based on the selections made in a multi select. This works well for editing existing records both inline and in Edit mode but does not work for new records.
I read the relevant threads and found discussions indicating that I should extend
custom/modules/Accounts/clients/base/views/create/create.js
and others saying create.js doesn't work and it should be
custom/modules/Accounts/clients/base/views/create-actions/create-actions.js
There are plenty of examples floating around, create.js uses extendsFrom: 'CreateView'
some create-actions.js use extendsFrom: 'CreateView' and others extendsFrom: 'CreateActionsView'
I have tried several of those examples, and ways to simply initialize and get console.log to print some text just to make sure the extended code is being picked up, to no avail.
I checked permissions & ownership, and I did a repair/rebuild several times over, yet nothing. The code appears to be ignored. I am clearly missing something, but what?
I am running 7.2 Pro
Any thoughts on what I might be missing?
thanks,
FrancescaS
Reference threads & documentation:
https://community.sugarcrm.com/thread/19648
https://community.sugarcrm.com/thread/18823
How do you extend the create.js on a module level?
http://support.sugarcrm.com/02_Documentation/04_Sugar_Developer/Sugar_Developer_Guide_7.2/20_UI_Mode...