The problem is, that the report ID is hard coded. If I import this page to a different application, the report woun't be refreshed anymore.
Following code is used:
var v_get = new htmldb_Get(null, $v('pFlowId'), 'APPLICATION_PROCESS=AP_RECALC', 0);
v_Return = v_get.get();
$a_report('734879922768742332', '1', '5000', '5000');
Is there a possibility to change the '734879922768742332' to a variable, constant or static id (which does not cause a endless loop)
Thanks for your help
Remark: If you know the answer, you will get the points
I had the same problem long back. I used hidden item to solve this issue. You can create a hidden item on the page as below
Source Type: SQL Query (return single value)
where application_id = :APP_ID
and page_id = :APP_PAGE_ID
and upper(region_name) = upper('TEST REGION') //TEST REGION- Name of your region.
It will work.