We want to exclusively edit fields from the code and want to disable editing from Studio. I can't even figure out where to start.
We want to exclusively edit fields from the code and want to disable editing from Studio. I can't even figure out where to start.
Hi John,
You can hide the field from the studio, so that field itself will not be visible in the studio and no user can see it. This can be done in the vardefs, you can set the studio parameter to false.
Hope this information helps.
Thanks and Regards,
Poojitha K
When you're referencing Vardefs here, should I be creating a vardefs.php under modules>Studio or is there a vardefs file that already manages that? And where would I actually find the name of the parameter to disable?
When you're referencing Vardefs here, should I be creating a vardefs.php under modules>Studio or is there a vardefs file that already manages that? And where would I actually find the name of the parameter to disable?
Hi, it is a code customisations. As soon as you hit 'save' on a field in the admin there should be a vardefs file created in custom/Extenion/modules/<module>/Ext/Vardefs with a recognizable name. More information about the vardefs can be found here:
support.sugarcrm.com/.../
another, uglier, approach would be the following. (see the last paragraph for idea's)