Manage custom configuration

Hello everybody,

I'm facing a problem that most of you have already had.

In the cloud (or on premise instances), when I want to update a custom config value, I should deploy a package. This could be annoying when you want to do some tests or make it quickly.

I wondered if some of you have the idea of writing a custom page in order to manage the configuration values ? What could you propose ? 

Many thanks and best regards,

Enes

Parents
  • We had the exact same requirement and we, as part of Seven Tunes labs created a Config Manager package which exactly does what you need - we exported the package and provided details in our blog  - check it out - https://seventunes.com/updating-sugarcrm-configuration-on-the-fly/

    The package follows exactly what Dennis has suggested - creates an Admin page which allows you to search/update config. But - I would suggest to use it carefully, maybe change the "DENY_LIST" to "ALLOW_LIST" so that someone doesn't update wrong configuration by mistake. Be extremely cautious if you're using it in production! I would suggest modifying the code to ALLOW_LIST for production uses.

    We've also added a default password which should be sent for every update - that is presently hardcoded in the package, which could be moved to config_override or Admin dbconfig table.

    Please let me know if you have any questions!

  • Hi Neeraja,

    While I like in principle the idea, you would have to be careful as some configuration changes are not allowed in SugarCloud. Also, a small syntax error on the config file would bring down your Sugar system as the config file is a core component of the application.

    How about a simple module loadable package that does just that instead?

    --

    Enrico Simonetti

    Sugar veteran (from 2007)

    www.naonis.tech


    Feel free to reach out for consulting regarding:

    • API Integration and Automation Services
    • Sugar Architecture
    • Sugar Performance Optimisation
    • Sugar Consulting, Best Practices and Technical Training
    • AWS and Sugar Technical Help
    • CTO-as-a-service
    • Solutions-as-a-service
    • and more!

    All active SugarCRM certifications

    Actively working remotely with customers based in APAC and in the United States

  • Thanks for the review and suggestion, Enrico! I totally agree, I've changed the package defaults to "ALLOW_LIST" instead of "DENY_LIST" so that others doesn't update a wrong flag by mistake. 

Reply
  • Thanks for the review and suggestion, Enrico! I totally agree, I've changed the package defaults to "ALLOW_LIST" instead of "DENY_LIST" so that others doesn't update a wrong flag by mistake. 

Children
No Data