Requirement: In my website, there is a dropdown, which holds country list. By Click any country it will check if the country is authorized (based on some logic) and then will open some content(multimedia items like pdfs /static content).
For this, In my main component , i have used one category (countrylist) which holds list of keyword countries as metadata field (multivalued check boxes). Now, Why multi-valued check boxes --> This allows me to check for authorized logic (if any country is checked or not can be set from Tridion).
Now, if it is authorized then it will open another component(multimedia/content) content in same or new window.
For this, a new component (content component) is designed with two fields. Field 1, will hold country name (from the same category), this is to map the country name in the metadata field's checked value of the main component. And then a component link to show the content.
Is this a good approach or feasible? Is there any other suitable way of doing this? Keyword metadata or anything.
We are using DD4T at the front end, so keeping in that mind i thought of the above approach.Thanks for your help.