Quantcast
Channel: Discussion Forum > Connect Data Services
Viewing all articles
Browse latest Browse all 2504

RunAnalyticsReport and PHP scripts (2 Comments)

$
0
0

Topic by Jerry Fuerstenberg

We've a need to query the Transactions table. This table is not visible via the API, as a result we're having to call it using a report. So we're using RunAnalyticsReport. BUT, this table does not have a unique key and Oracle wont add one. So I used a PHP script to create an MD5 hash of the entire row:

$field = $rows[0][1]->val.$rows[0][2]->val.$rows[0][3]->val.$rows[0][4]->val; $rows[0][0]->val = md5($field);

etc... this concat's the entire row and then turns it into a hash. It's not perfect but it'll serve our needs. However, when calling the report using RunAnalyticsReport, the PHP doesn't fire. Does anyone know if it's possible to get a php script to fire on a report being called with RunAnalyticsReport? Or am I going to have to pull the entire row down remotely and create the key there?


Viewing all articles
Browse latest Browse all 2504

Trending Articles