I am starting a SharePoint application where I need to filter a document library dynamically when a user visits a page.
Is this possible? If yes, how? Is it possible to have an application page with a document library on it?
i.e. a user visits an application page which has a document library on it. As the user opens the page i want to filter the documents in the library based on some user contextual information (say department) where department is a column of the meta data
(another scenario, on the application page i have a dropdownlist, after the user makes a selection i want to show specific documents based on the user selection