I have an APEX tree view created in Apex. I want to use the “Value” from the currently selected tree view item as parameter to populate another list dynamically in the same region. What is the syntax to access the Value in the List SQL ?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Follow these steps to set a value from the Tree item to another item:
Create the following JavaScript function in the Function and Global variable declare section of the page:
Change the P1_ITEM to your list item.
Add a link column (‘javascript:setPageItem(“‘|| ename|| ‘”)’ As link) to your Tree view query as shown in the below example:
The link column of the above query will set the page item P1_ITEM value with ENAME.
Please try and let me know if any issues.
Thank You. It worked !