Search code examples
oracle-apexoracle-apex-5oracle-apex-5.1

How to create an array of page items in oracle apex using java script?


I want to store page items name into an array. But i do not want to add all names by typing. Is there any package or method available that hold information of items in apex? That we can access?


Solution

  • const myPageItems = [];
    allItems = apex.page.forEachPageItem;
    allItems( $( "#wwvFlowForm" ), function( el, name ) {
            myPageItems.push(name);
        }, true );
    

    There was a blog about this a while ago