Let's Reconnect, thank you for making 2022 our best year yet.

Look Back
How to Include Framework Class in Custom Scripts in Reports — Cloud Customer Connect
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

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



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.


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