We'd love to hear from you! Provide  feedback  to earn a badge today. Take our quick survey
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Custom Config in Customer Portal

Accepted answer
35
Views
1
Comments
edited Jan 24, 2019 4:52PM in Customer Portal 1 comment

Summary

How can I get a custom created configuration by name?

Content

I am using \RightNow\Utils\Config::configGetFrom('CUSTOM_CFG_KEY_NAME') in CP to get the value of a custom configuration I created in the console. This works as expected in dev mode, but when I push it to staging or production mode, it does not. All I get is a message saying this slot is unknown (even though it finds the correct id). I can't use the ID because I run into the same problems posted on https://cloudcustomerconnect.oracle.com/posts/760d71b147. Does anybody know why this doesn't work in staging/production mode?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!