Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

How to Include Framework Class in Custom Scripts in Reports

edited Jun 1, 2015 6:37AM in Reporting & Analytics for B2C Service 8 comments

Content

Hi,



Taking a cue from https://cloudcustomerconnect.oracle.com/posts/ef33c4db85, I intend to include a CP core file into my custom script. But I'm struggling to do so and need your help here. I've tried the following so far:




// failed<br /> require_once("/cgi-bin/abc.cfg/scripts/cp/src/core/framework/Utils/Framework.php");<br /> <br /> // failed<br /> require_once(get_cfg_var(&#39;doc_root&#39;)."/include/Utils/Framework.php");<br /> <br /> // failed<br /> require_once(get_cfg_var(&#39;doc_root&#39;)."/cp/core/framework/Utils/Framework.php");<br />


The sole aim is to be able to use the

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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