Idea Summary
The SQL in a shared component LOV can only use a bind variable if it matches a page item name.
If my LOV is to be used as cascading from a page item value, the page item's name will be different on each page
Use Case
I have an LOV for departments, which should show values that are different depending on the prior selection of a Division:
SELECT dept_name, dept_code
FROM Departments
WHERE DIvision = :DIVISION
However, the division on page 10 will be called P10_DIVISION, on page 11 will be called P11_DIVISION, etc
When I attach my Shared Component LOV to a Page item P10_DEPT_CODE, I specify P10_DIVISION as my cascading parent item
When I attach my Shared Component LOV to a Page item P11_DEPT_CODE, I specify P11_DIVISION as my cascading parent item
Preferred Solution (Optional)
Apex should positionally match my bind variables within the LOV's SQL, with the list of cascading parent items, even though it is not possible to match by name
EG. my LOV SQL has two bind variables :B1 and :B2
If my defined list of cascading parent items on the page item using the LOV is P10_DIVISION and P10_MAKE , then P10_DIVISION is substituted for :B1 and P10_MAKE is substituted for :B2, according their their sequence/position in the SQL on the LOV