Greetings, I currently have a setup like below: How can I create a page that allows me to have a unique list of FY (FiscalYear) in a dropdown so that when I select a FY the datagrid will show me all the companies that have evals in that FY? I created an OQL to get the distinct FY from that entity but I am not sure how to translate that into a dropdown because when I select a dataview (based on entity or dataset returned from OQL) and add dropdown it won’t let me select FY as an option.
What i would do is the following:
Create in your domainmodel 2 entities: PageHelper and UniqueFy
Have the page dataview datasource call a Microflow.
In the microflow you retrieve all the evals and call it EvalList.
Than create a list called UniqueFyList (object UniqueFy)
Loop through the EvaList and add the eval objects with unique Fy to the UniqueFyList.
commit UniqueFyList once loop is done
add showpage action after the commit and pass the PageHelper object with the showPage action
in your page and within the PageHelper Dataview add the reference set selector
in the reference set selector choose entity UniqueFy and go for attribute Fy.
Hope this helps.
If you have a page with the company data view and then add a reference selector that has the data source as your distinct values FY returned microflow and add a datagrid which refreshes on change of this dropdown?