How can I customize CPE configuration based on a configuration template? For example, I created a config_generate.js file and put it in the directory “/config/ext”. When I run the file, I got error message: faultMessage=“No such function ‘template’ in extension ‘config_generate’”.
What is the good way to achieve that?
The script must be created in the /config/ext/ directory. (you’ll have to create the /ext/ directory)
Please do not upload anything directly into/directly edit the data in the mongo db. What you put in the db can get squashed because Genie uses redis for caching.