How can one installation package replace another without uninstalling and reinstalling?
We want to use packages to make changes to Sugar instead of studio. That way we can track the changes in GITHUB.
How can one installation package replace another without uninstalling and reinstalling?
We want to use packages to make changes to Sugar instead of studio. That way we can track the changes in GITHUB.
For such cases I just keep the id and name of the package unchanged and increase the version number.
e.g. if the base package has:
$manifest = array(
'name' => 'myPackage',
'version => '202008100001'.
...);
$installdefs =array(
'id' => 'myPackage',
...);
I'll set the next package to:
'version => '202008100002'.
BUT BE AWARE, when doing so you cannot uninstall that package any more, the UNINSTALL button will disappear in module loader.
Harald Kuske
Principal Solution Architect – Professional Services, EMEA
hkuske@sugarcrm.com
SugarCRM Deutschland GmbH
For such cases I just keep the id and name of the package unchanged and increase the version number.
e.g. if the base package has:
$manifest = array(
'name' => 'myPackage',
'version => '202008100001'.
...);
$installdefs =array(
'id' => 'myPackage',
...);
I'll set the next package to:
'version => '202008100002'.
BUT BE AWARE, when doing so you cannot uninstall that package any more, the UNINSTALL button will disappear in module loader.
Harald Kuske
Principal Solution Architect – Professional Services, EMEA
hkuske@sugarcrm.com
SugarCRM Deutschland GmbH
The module loader shows only the latest version in its list when you keep name and id unchanged.
Harald Kuske
Principal Solution Architect – Professional Services, EMEA
hkuske@sugarcrm.com
SugarCRM Deutschland GmbH