Why am I having intermittent trouble accessing custom configurations using the Config::getConfig method?
Customer Portal framework version 3 (CPv3)
Oracle B2C Service
I am trying to use the Config::getConfig method of the Customer Portal 3 API to retrieve the values of custom configuration settings. It works inconsistently, occasionally throwing a failure message.
Per development, Config::getConfig in Customer Portal framework version 3 was not designed to support retrieval of custom configuration settings. As such, it should not be used for this purpose as it is not guaranteed that it will work correctly. Here is a link to the relevant API page for November 2013 for reference:
However, starting in the August 2013 release, configuration settings (including custom ones) were made available through our Connect PHP API. As such, one should leverage that API for custom configuration retrieval. Here is some sample code from the Connect PHP documentation to give you an idea of how this might look (please see the full Oracle RightNow Connect PHP API Cloud Service documentation for your version for more information):