#237 - Custom Modules in SugarCRM 6.5.9 and Security Suite
Hi Jason, Working with Pete at FA in Minn. They have Sugar 6.5.9 and Security Suite. Custom module representing Vehicles. Have used the Hookup Module to setup Security Groups to this custom Module, but do not see the Subpanel in the Module. Ran Rebuild Relationships and Quick Repair and Rebuild. Still no entry in /custom/modules/vehl_vehicles/ext/vardefs/vardefs.ext.php. Do I need to manually setup a relationship between the two? We have had permissions issues in the past with our new server - so am looking into this. But the hook up module should do this for us , correct?
Thanks Bill Convis bconvis@sierracrm.com
11 years ago
Hookup module should do it all for you including creating a relationship for you. A subpanel may not show if it is configured to be hidden in the show/hide modules/subpanels configuration area or if the user does not have permissions to that subpanel module. You can check custom/metadata to see if the relationship has been created.
11 years ago
Hi Folks, I am logged in as an admin. I do see Security Groups in all the core modules as subpanels. I see all the core module in the modules column in the table securitygroups_records. When running hookup module for our custom module, I do not see any errors. Just nothing is happening. Reviewing the file vardefs.ext.php in custom/modules/Vehcl_Vehicles/Ext/Vardefs shows no additional link array for Security Groups. Any idea what could be going on? All permissions for custom folder are good. Can I manually add the relationship in studio?
Thanks Bill Convis SierraCRM - 530 272 3064
11 years ago
You can manually add the relationship, but make sure you manually edit the code for the relationship metadata so that it looks at the securitygroups_records table instead. More info on how to do that can be found in this pdf: http://www.sugarforge.org/frs/download.php/6477/SecuritySuite_Documentation_2.1.pdf
Do not copy/paste that code as there are junk characters in it.
Did you confirm that the relationship got created by the Hookup tool in custom/metadata?
11 years ago
Thanks for the help, Jason. Bill was able to get this figured out.