AnsweredAssumed Answered

How can I get values from $sugar_config in RecordView or CreateActions in SugarCRM 7.2.x?

Question asked by KarlMetum KarlMetum on Oct 30, 2014
Latest reply on Jan 29, 2015 by KarlMetum KarlMetum
I'm working with a record view for a custom module and I'm trying to get a value from config.php
How can I fetch these values in js? 
I have tried to look in app.config but there are no custom options there but predefined ones.

In php I would solve this by this code:
global $sugar_config; # this is now the config array located in config.php
echo $sugar_config['some_key_located_in_file'];

Outcomes