Inquiring if there is any way to get the row count of an interactive report and save the value into an item.
I was trying other solutions from oracle forums but none worked for me.
thank you
Inquiring if there is any way to get the row count of an interactive report and save the value into an item.
I was trying other solutions from oracle forums but none worked for me.
thank you
There are two options that I know:
var str = $("#YOUR_REGION_STATIC_ID .a-IRR-pagination-label").text();
var totalCount = str.charAt(str.length-1);
$s('YOUR_PAGE_ITEM_NAME',totalCount);
If the pagination should be hidden and if the item must be contain the total count then put the below code in JavaScript -> Exceute When Page Loads section to hide the pagination.
$('#YOUR_REGION_STATIC_ID .a-IRR-paginationWrap').css('display','none');
Disclaimer: The above solution does not work if the IR Pagination Type is not Row Ranges X to Y of Z