Customer Portal

Get Involved. Join the Conversation.

Topic

    Janusz Jasinski
    How to update a configuration setting or messagebase entry...
    Topic posted September 27, 2019 by Janusz JasinskiSilver Crown: 22,500+ Points 
    24 Views, 3 Comments
    Title:
    How to update a configuration setting or messagebase entry via PHP
    Content:

    Hi,

    Is it possible to amend a configuration setting or messagebase entry via the customer portal?

    Background

    We have a process that fires off 100 AJAX requests. When this is running, a particular section of the site need to have "Under Maintenance" showing. The best way we found would be with a configuration setting. However, this is manual - what we would like to do is when the process starts, the script to update the entry and when it finishes, to update it again.

    Yes, we could use a custom object but it seems redundant seeing as the config settings would be ideal

    Comment

     

    • Sebastiaan Draaisma

      Hi Janusz.

      To my knowledge this is only possible with custom messagebase entries and custom configuration settings (the ones you create yourself). Everything else (OOB configuration settings & messagebase entries) is only available as read-only

      • Janusz Jasinski

        That's exactly what we are after!

        We've tried to find out how but must have missed something obvious as the documentation I'm looking at says that only get(fetch) is supported

    • Sebastiaan Draaisma

      I'm afraid I was wrong...
      Both custom messagebase entries and custom configuration settings are read only through PHP connect
      Sources: